diff options
author | AngusP <angus@toaster.cc> | 2024-06-04 19:27:30 +0100 |
---|---|---|
committer | AngusP <angus@toaster.cc> | 2024-06-06 13:08:17 +0100 |
commit | 4c99301220ab44e98d0d0e1cc8d774d96a25b7aa (patch) | |
tree | db805a0ca489918fee31fabe2a9088d74cbd4f5b /src/test/sighash_tests.cpp | |
parent | 4621e7cc8f8e2b71393a2b30d5dbe56165bfb854 (diff) |
test: Add ReceiveWithExtraTransactions Compact Block receive test.
This new test uses the `vExtraTxnForCompact` (`extra_txn`) vector of
optional orphan/conflicted/etc. transactions to provide a transaction
in a compact block that was not otherwise present in our mempool.
This also covers an improbable nullptr deref bug addressed in
bf031a517c79cec5b43420bcd40291ab0e9f68a8 (#29752) where the
`extra_txn` vec/circular-buffer was sometimes null-initialized and
not yet filled when dereferenced in `PartiallyDownloadedBlock::InitData`.
Diffstat (limited to 'src/test/sighash_tests.cpp')
0 files changed, 0 insertions, 0 deletions