TxGraph::GetCluster

Get pointers to all transactions in the cluster which arg is in. The transactions are returned in graph order. The queried graph must not be oversized. Returns {} if arg does not exist in the queried graph.

Synopsis

Declared in <txgraph.h>

virtual
std::vector<Ref*>
GetCluster(
    Ref const& arg,
    Level level) noexcept = 0;

Return Value

The cluster's transactions in graph order, or {} if the transaction does not exist.

Parameters

NameDescription
argReference to a transaction in the cluster of interest.
levelWhich graph (main or staging) to query.