aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortdb3 <106488469+tdb3@users.noreply.github.com>2024-08-20 20:14:23 -0400
committertdb3 <106488469+tdb3@users.noreply.github.com>2024-08-25 08:43:37 -0400
commitd1610962bf1ff14df45c57cc1d2e075f71fcd19a (patch)
treea0ce732ef98302081cdcab94ee02332b31fd2872
parent1ad999b9da39b60e16c51f9813f4fd39b7bdc2b9 (diff)
test: add null block xor key
-rwxr-xr-xtest/functional/test_framework/test_node.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/functional/test_framework/test_node.py b/test/functional/test_framework/test_node.py
index 4ac7db2030..60ca9269a5 100755
--- a/test/functional/test_framework/test_node.py
+++ b/test/functional/test_framework/test_node.py
@@ -46,6 +46,8 @@ BITCOIND_PROC_WAIT_TIMEOUT = 60
# The size of the blocks xor key
# from InitBlocksdirXorKey::xor_key.size()
NUM_XOR_BYTES = 8
+# The null blocks key (all 0s)
+NULL_BLK_XOR_KEY = bytes([0] * NUM_XOR_BYTES)
class FailedToStartError(Exception):