[#node-MiniMiner-Linearize] = xref:node.adoc[node]::xref:node/MiniMiner.adoc[MiniMiner]::Linearize :relfileprefix: ../../ :mrdocs: 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>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- 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. [.small]#Created with https://www.mrdocs.com[MrDocs]#