mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-08 10:31:50 -05:00
test: add null block xor key
This commit is contained in:
parent
1ad999b9da
commit
d1610962bf
1 changed files with 2 additions and 0 deletions
|
@ -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):
|
||||||
|
|
Loading…
Add table
Reference in a new issue