Files
bitcoin/src/test/fuzz
Hao Xu 87b080fe2b fuzz: reset the reused mempool in process_message(s)
The mempool is reused across iterations of process_message and
process_messages, but it was never reset, so a transaction accepted
into the mempool by one input would leak into the next iteration. A
random payload can produce a transaction that passes
AcceptToMemoryPool.

Rebuild the mempool together with the chainman in
ResetChainmanAndMempool(), called when either the block index grew or
the mempool was modified. The mempool is bound to the chainman at
chainman construction (ChainstateLoadOptions::mempool), so the two
must be reset together: the mempool is rebuilt first, then the
chainman, which re-binds the fresh mempool. This mirrors the
cmpctblock harness.
2026-07-22 11:21:56 +08:00
..
2026-07-14 13:48:33 +02:00
2026-07-14 13:48:33 +02:00
2026-07-14 13:48:33 +02:00
2026-07-14 13:48:33 +02:00
2026-07-14 13:48:33 +02:00
2026-07-14 13:48:33 +02:00
2026-07-14 13:48:33 +02:00
2026-07-14 13:48:33 +02:00
2026-07-14 13:48:33 +02:00
2026-07-14 13:48:33 +02:00
2026-05-12 21:24:19 +02:00
2026-07-14 13:48:33 +02:00
2026-07-14 13:48:33 +02:00
2026-07-14 13:48:33 +02:00
2026-07-14 13:48:33 +02:00
2026-07-14 13:48:33 +02:00
2026-07-14 13:48:33 +02:00
2026-07-14 13:48:33 +02:00
2026-07-14 13:48:33 +02:00
2026-07-14 13:48:33 +02:00
2026-07-14 13:48:33 +02:00
2026-07-03 18:26:26 +01:00
2026-07-14 13:48:33 +02:00