dash/test/functional/data
MarcoFalke eba325d7a2
Merge #16551: test: Test that low difficulty chain fork is rejected
Backport notice:
 - data have real blocks from testnet
 - due to big gap in blocks before checkpoints (half-year) for sack of this test is added one more checkpoint, otherwise blocks are not accepted due to non-mockable time for other chains except regtest
 - data for 2 blocks in split chain are generated locally for testnet
--------------
333317ce6b67aa92f7363d48cd750712190b4b6b test: Test that low difficulty chain fork is rejected (MarcoFalke)
fa31dc1bf4ee471c4641eef8de02702ba0619ae7 test: Pass down correct chain name in tests (MarcoFalke)

Pull request description:

  To prevent OOM, Bitcoin Core will reject chain forks at low difficulty by default. This is the only use-case of checkpoints, so add a test for it to make sure the feature works as expected. If it didn't work, checkpoints would have no use-case and we might as well remove them

ACKs for top commit:
  Sjors:
    Thanks for adding the node 1 example. Code review ACK 333317c

Tree-SHA512: 90dffa540d0904f3cffb61d2382b1a26f84fe9560b7013e4461546383add31a8757b350616a6d43217c59ef7b8b2a1b62bb3bab582c679cbb2c660a782ce7be1
2024-04-03 14:16:43 +07:00
..
wallets/high_minversion Merge #16845: test: Add notes on how to generate data/wallets/high_minversion 2022-01-20 13:09:17 -05:00
blockheader_testnet3.hex Merge #16551: test: Test that low difficulty chain fork is rejected 2024-04-03 14:16:43 +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