CTxMemPool::GetCluster

Returns all mempool entries in the same cluster as the given transaction.

Synopsis

Declared in <txmempool.h>

[[requires_capability(0x7fd7537b9fb8), requires_capability(0x7fd74eec6948), requires_capability(0x7fd75e707f98), requires_capability(0x7fd759894768), requires_capability(0x7fd75ce06738), requires_capability(0x7fd759f6fbc8), requires_capability(0x7fd75b82fe08), requires_capability(0x7fd73e8ae068)]]
std::vector<CTxMemPoolEntry const*>
GetCluster(Txid txid) const;

Return Value

The cluster's entries, or an empty vector if the txid is not in the mempool.

Parameters

NameDescription
txidThe txid whose cluster is collected.