MemPoolFeeRateEstimator::MempoolTxsRemovedForBlock

Records mempool coverage statistics for a newly connected block.

Synopsis

Declared in <policy/fees/mempool_estimator.h>

[[requires_capability(0x7f2e403ca2a8), requires_capability(0x7f2e1404ca08)]]
void
MempoolTxsRemovedForBlock(
    std::shared_ptr<CBlock const> const& block,
    std::vector<RemovedMempoolTransactionInfo> const& txs_removed_for_block,
    unsigned int block_height);

Parameters

NameDescription
blockThe block that was connected.
txs_removed_for_blockTransactions removed from the mempool because they were included in the block.
block_heightHeight of the connected block.