[#CTxMemPool-removeForBlock] = xref:CTxMemPool.adoc[CTxMemPool]::removeForBlock :relfileprefix: ../ :mrdocs: Remove transactions confirmed in a block (and any that conflict with them) from the mempool. == Synopsis Declared in `<txmempool.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[requires_capability(0x7fb95f555990), requires_capability(0x7fb968bc70a0), requires_capability(0x7fb95fdd0ee0), requires_capability(0x7fb978b762a0), requires_capability(0x7fb96b8fb800), requires_capability(0x7fb96e5c22d0), requires_capability(0x7fb97a07c300), requires_capability(0x7fb96be44050)]] std::vector<RemovedMempoolTransactionInfo> removeForBlock(std::vector<CTransactionRef> const& vtx); ---- == Return Value Information about the transactions removed from the mempool. == Parameters [cols="1,4"] |=== | Name| Description | *vtx* | The transactions included in the newly connected block. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#