TxGraph::GetMainChunkFeerate

Get the feerate of the chunk which transaction arg is in, in the main graph. Returns the empty FeePerWeight if arg does not exist in the main graph. The main graph must not be oversized.

Synopsis

Declared in <txgraph.h>

virtual
FeePerWeight
GetMainChunkFeerate(Ref const& arg) noexcept = 0;

Return Value

The feerate of the chunk containing the transaction, or the empty FeePerWeight if it does not exist in the main graph.

Parameters

NameDescription
argReference to the transaction to query.