cluster_linearize::ChunkLinearizationInfo

Compute the chunks of linearization as SetInfos.

Synopsis

Declared in <cluster_linearize.h>

template<typename SetType>
std::vector<SetInfo<SetType>>
ChunkLinearizationInfo(
    DepGraph<SetType> const& depgraph,
    std::span<DepGraphIndex const> linearization) noexcept;

Return Value

The chunks, each as a set of transactions with its aggregate feerate.

Parameters

NameDescription
depgraphThe dependency graph the linearization refers to.
linearizationThe order of transactions to chunk.