TxGraph::CountDistinctClusters

Count the number of distinct clusters that the specified transactions belong to. Refs that do not exist in the queried graph are ignored. Refs can not be null. The queried graph must not be oversized.

Synopsis

Declared in <txgraph.h>

virtual
GraphIndex
CountDistinctClusters(
    std::span<Ref const const*> args,
    Level level) noexcept = 0;

Return Value

The number of distinct clusters the transactions belong to.

Parameters

NameDescription
argsReferences to the transactions to inspect.
levelWhich graph (main or staging) to query.