Compute the chunks of linearization as SetInfos.
Declared in <cluster_linearize.h>
template<typename SetType>
std::vector<SetInfo<SetType>>
ChunkLinearizationInfo(
DepGraph<SetType> const& depgraph,
std::span<DepGraphIndex const> linearization) noexcept;
The chunks, each as a set of transactions with its aggregate feerate.
| Name | Description |
|---|---|
| depgraph | The dependency graph the linearization refers to. |
| linearization | The order of transactions to chunk. |