[#node-MiniMiner-2constructor-01]
= xref:node.adoc[node]::xref:node/MiniMiner.adoc[MiniMiner]::MiniMiner
:relfileprefix: ../../
:mrdocs:

Constructor in which the MiniMinerMempoolEntry entries have been constructed manually&period; It is assumed that all entries are unique and their values are correct, otherwise results computed by MiniMiner may be incorrect&period; Callers should check IsReadyToCalculate() after construction&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
MiniMiner(
    std::vector&lt;MiniMinerMempoolEntry&gt; const& manual&lowbar;entries,
    std::map&lt;Txid, std::set&lt;Txid&gt;&gt; const& descendant&lowbar;caches);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *manual&lowbar;entries* [in]
| The manually constructed entries to mine over&period;
| *descendant&lowbar;caches* [in]
| A map from each transaction to the set of txids of this transaction&apos;s descendant set, including itself&period; Each tx in manual&lowbar;entries must have a corresponding entry in this map, and all of the txids in a descendant set must correspond to a tx in manual&lowbar;entries&period;
|===


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