Files
bitcoin/src
ismaelsadeeq cfe585df25 validation: emit block mempool removal signal from ConnectTip
Return the removed mempool transaction info from
CTxMemPool::removeForBlock instead of dispatching the
MempoolTransactionsRemovedForBlock notification from the mempool.

Emit it from ConnectTip after mempool removal and before BlockConnected,
passing the connected block, the removed mempool transactions, and the
block height to the callback.

Because the signal now originates from ConnectTip, where the IBD state is
known, gate it on !IsInitialBlockDownload(): the notification is no longer
fired for blocks connected during initial block download or reindex, while
the mempool removal in removeForBlock still runs unconditionally. This keeps
fee rate estimators from recording blocks connected before the node is
synced.
2026-08-20 16:15:56 +01:00
..
2026-06-26 09:56:01 -07:00
2026-07-22 12:38:13 -07:00
2026-07-23 12:06:32 +02:00
2026-08-07 14:44:16 +02:00
2026-08-10 16:02:20 +03:00
2026-08-05 21:41:49 +02:00