[#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(0x7ff37b41f830), requires_capability(0x7ff376fd71e0), requires_capability(0x7ff38def6400), requires_capability(0x7ff3640f7410), requires_capability(0x7ff3920f7700), requires_capability(0x7ff37f5c9820), requires_capability(0x7ff37d010aa0), requires_capability(0x7ff374c142b0)]] 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]#