aboutsummaryrefslogtreecommitdiff
path: root/src/test/argsman_tests.cpp
diff options
context:
space:
mode:
authorSuhas Daftuar <sdaftuar@chaincode.com>2023-05-24 13:38:32 -0400
committerSuhas Daftuar <sdaftuar@chaincode.com>2023-07-24 16:23:38 -0400
commitd43a1f1a2fa35d377c7a9ad7ab92d1ae325bde3d (patch)
tree70fa9a43405fdb21eb4321a5f5e08c542d9172a7 /src/test/argsman_tests.cpp
parentd0d40ea9a6478d81d7531b7cfc52a8bdaa0883d6 (diff)
Tighten requirements for adding elements to setBlockIndexCandidates
When using assumeutxo, we only need the background chainstate to consider blocks that are on the chain leading to the snapshotted block. Note that this introduces the new invariant that we can only have an assumeutxo snapshot where the snapshotted blockhash is in our block index. Unknown block hashes that are somehow passed in will cause assertion failures when processing new blocks. Includes test fixes and improvements by Andrew Chow and Fabian Jahr.
Diffstat (limited to 'src/test/argsman_tests.cpp')
0 files changed, 0 insertions, 0 deletions