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

Name

Description

depgraph

The dependency graph the linearization refers to.

linearization

The order of transactions to chunk.

Created with MrDocs