node::MiniMiner::Linearize

Construct a new block template with all of the transactions and calculate the order in which they are selected. Returns the sequence number (lower = selected earlier) with which each transaction was selected, indexed by txid, or an empty map if it cannot be calculated.

Synopsis

Declared in <node/mini_miner.h>

std::map<Txid, uint32_t>
Linearize();

Return Value

A map from txid to selection sequence number, or an empty map if it cannot be calculated.