cluster_linearize::ChunkLinearization

Compute the feerates of the chunks of linearization. Identical to ChunkLinearizationInfo, but only returns the chunk feerates, not the corresponding transaction sets.

Synopsis

Declared in <cluster_linearize.h>

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

Return Value

The feerate of each chunk, in order.

Parameters

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