[#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&period; Returns the sequence number (lower &equals; selected earlier) with which each transaction was selected, indexed by txid, or an empty map if it cannot be calculated&period;

== Synopsis

Declared in `&lt;node&sol;mini&lowbar;miner&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
std::map&lt;Txid, uint32&lowbar;t&gt;
Linearize();
----

== Return Value

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


[.small]#Created with https://www.mrdocs.com[MrDocs]#
