[#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(0x7f2e1b5a2bd8), requires_capability(0x7f2e2721bbe8), requires_capability(0x7f2e421cd2f8), requires_capability(0x7f2e2880c2b8), requires_capability(0x7f2e3212f648), requires_capability(0x7f2e347f7cd8), requires_capability(0x7f2e2b05c148), requires_capability(0x7f2e2bee37e8)]] 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]#