aboutsummaryrefslogtreecommitdiff
path: root/src/blockencodings.cpp
diff options
context:
space:
mode:
authorAngusP <angus@toaster.cc>2024-06-04 19:27:30 +0100
committerAngusP <angus@toaster.cc>2024-06-06 13:08:17 +0100
commit4c99301220ab44e98d0d0e1cc8d774d96a25b7aa (patch)
treedb805a0ca489918fee31fabe2a9088d74cbd4f5b /src/blockencodings.cpp
parent4621e7cc8f8e2b71393a2b30d5dbe56165bfb854 (diff)
downloadbitcoin-4c99301220ab44e98d0d0e1cc8d774d96a25b7aa.tar.xz
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/blockencodings.cpp')
0 files changed, 0 insertions, 0 deletions