mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-26 05:48:20 +01:00
63b534f97efuzz: sanity check hardcoded snapshot in utxo_snapshot target (Antoine Poinsot)3b85eba83atest util: split up ConnectBlock from MineBlock (Antoine Poinsot)d1527f6b88qa: correct off-by-one in utxo snapshot fuzz target (Antoine Poinsot) Pull request description: The assumeutxo data for the fuzz target could change and invalidate the hash silently, preventing the fuzz target from reaching some code paths. Fix this by introducing a unit test which would break if the snapshot data the fuzz target relies on were to change. In implementing this i noticed the height used for coins in the fuzz target is actually off-by-one (as if the first block in the created chain was the genesis but it's block `1`), so fix that too. ACKs for top commit: mzumsande: Code Review ACK63b534f97efjahr: tACK63b534f97eTree-SHA512: 2399b6e74db9b78aab8efba67c57a405d2d7d880ae3b7d8518a1c96cc6266f61f5e77722cd999adeac5d3e03e73d84cf9ae7bdbcc0afae198cc87049dde4012f
33 KiB
33 KiB