[#CTxMemPool-GetCluster] = xref:CTxMemPool.adoc[CTxMemPool]::GetCluster :relfileprefix: ../ :mrdocs: Returns all mempool entries in the same cluster as the given transaction. == Synopsis Declared in `<txmempool.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[requires_capability(0x7ff37b4205a8), requires_capability(0x7ff376fd7f58), requires_capability(0x7ff38def7178), requires_capability(0x7ff3640f8188), requires_capability(0x7ff3920f8478), requires_capability(0x7ff37f5ca598), requires_capability(0x7ff37d011818), requires_capability(0x7ff374c15028)]] std::vector<CTxMemPoolEntry const*> GetCluster(xref:Txid.adoc[Txid] txid) const; ---- == Return Value The cluster's entries, or an empty vector if the txid is not in the mempool. == Parameters [cols="1,4"] |=== | Name| Description | *txid* | The txid whose cluster is collected. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#