dash/test/functional/data
Kittywhiskers Van Gogh abccb2dd03
test: drop genesis block from blockheader_testnet3
bitcoin#25454 introduces a 10 point penalty for remitting more than
MAX_BLOCKS_TO_ANNOUNCE unconnected block headers. Whether they are
connected or not is determined by taking the first entry and running
its hashPrevBlock through LookupBlockIndex. This new behaviour causes a
test failure in p2p_dos_header_tree.py in Dash.

Bitcoin doesn't face a test failure with this new behaviour as the first
non-fork block in its test data is the dump for block 1 (00000000b873e7
9784647a6c82962c70d228557d24a747ea4d1b8bbe878e1206) but Dash uses block
0 (00000bafbc94add76cb75e2ec92894837288a481e5c005f6563d91623bf8bc2c),
the genesis block.

By definition of a genesis block, it has a hashPrevBlock of 0, which
cannot be looked up. This trips the penalty. This doesn't cause any
problems in the field as nobody is expected to ever broadcast the
genesis block but it does cause a test failure for us.

We need to correct that by getting rid of the genesis block from the
test data.
2024-08-09 17:34:40 +07:00
..
blockheader_testnet3.hex test: drop genesis block from blockheader_testnet3 2024-08-09 17:34:40 +07:00
invalid_txs.py Merge bitcoin/bitcoin#22408: test: add tests for bad-txns-prevout-null reject reason 2024-03-22 10:29:12 -05:00
rpc_bip67.json fix: dashification for rpc_createmultisig introduced in bitcoin#13072 2023-04-06 20:15:47 +03:00
rpc_getblockstats.json Merge #14802: rpc: faster getblockstats using BlockUndo data 2022-05-06 12:20:56 -04:00
rpc_psbt.json Merge #16821: Fix bug where duplicate PSBT keys are accepted 2022-04-02 16:30:55 +05:30