[#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(0x7f95135d2ca8), requires_capability(0x7f9501b12088), requires_capability(0x7f950ec78278), requires_capability(0x7f9525ea7fc8), requires_capability(0x7f9515097708), requires_capability(0x7f950826b9a8), requires_capability(0x7f94f856f0b8), requires_capability(0x7f9513c592a8)]] 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]#