[#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(0x7fb95f556708), requires_capability(0x7fb968bc7e18), requires_capability(0x7fb95fdd1c58), requires_capability(0x7fb978b77018), requires_capability(0x7fb96b8fc578), requires_capability(0x7fb96e5c3048), requires_capability(0x7fb97a07d078), requires_capability(0x7fb96be44dc8)]] 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]#