mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-06-05 18:52:29 +02:00
test: add null block xor key
This commit is contained in:
@@ -46,6 +46,8 @@ BITCOIND_PROC_WAIT_TIMEOUT = 60
|
|||||||
# The size of the blocks xor key
|
# The size of the blocks xor key
|
||||||
# from InitBlocksdirXorKey::xor_key.size()
|
# from InitBlocksdirXorKey::xor_key.size()
|
||||||
NUM_XOR_BYTES = 8
|
NUM_XOR_BYTES = 8
|
||||||
|
# The null blocks key (all 0s)
|
||||||
|
NULL_BLK_XOR_KEY = bytes([0] * NUM_XOR_BYTES)
|
||||||
|
|
||||||
|
|
||||||
class FailedToStartError(Exception):
|
class FailedToStartError(Exception):
|
||||||
|
|||||||
Reference in New Issue
Block a user