[#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(0x7f2e1b5a1e60), requires_capability(0x7f2e2721ae70), requires_capability(0x7f2e421cc580), requires_capability(0x7f2e2880b540), requires_capability(0x7f2e3212e8d0), requires_capability(0x7f2e347f6f60), requires_capability(0x7f2e2b05b3d0), requires_capability(0x7f2e2bee2a70)]] 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]#