[#TxGraph-GetCluster] = xref:TxGraph.adoc[TxGraph]::GetCluster :relfileprefix: ../ :mrdocs: 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>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- virtual std::vector<Ref*> GetCluster( xref:TxGraph/Ref.adoc[Ref] const& arg, xref:TxGraph/Level.adoc[Level] level) noexcept = 0; ---- == Return Value The cluster's transactions in graph order, or {} if the transaction does not exist. == Parameters [cols="1,4"] |=== | Name| Description | *arg* | Reference to a transaction in the cluster of interest. | *level* | Which graph (main or staging) to query. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#