cluster_linearize::DepGraph::FeeRate

FeeRate overloads

Synopses

Declared in <cluster_linearize.h>

Get the feerate of a given transaction i. Complexity: O(1).

FeeFrac const&
FeeRate(DepGraphIndex i) const noexcept;
» more...

Get the mutable feerate of a given transaction i. Complexity: O(1).

FeeFrac&
FeeRate(DepGraphIndex i) noexcept;
» more...

Compute the aggregate feerate of a set of nodes in this graph.

FeeFrac
FeeRate(SetType const& elems) const noexcept;
» more...

Return Value

  • The transaction's fee and size.
  • A mutable reference to the transaction's fee and size.
  • The combined fee and size of the set.

Parameters

NameDescription
iThe transaction position to query.
elemsThe set of positions to aggregate.