Add a new unconnected transaction to this transaction graph (in the first available position), and return its DepGraphIndex.

Synopsis

Declared in <cluster_linearize.h>

DepGraphIndex
AddTransaction(FeeFrac const& feefrac) noexcept;

Description

Complexity: O(1) (amortized, due to resizing of backing vector).

Return Value

The position assigned to the new transaction.

Parameters

Name

Description

feefrac

The fee and size of the transaction to add.

Created with MrDocs