[#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. It is assumed that all entries are unique and their values are correct, otherwise results computed by MiniMiner may be incorrect. Callers should check IsReadyToCalculate() after construction. == Synopsis Declared in `<node/mini_miner.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- MiniMiner( std::vector<MiniMinerMempoolEntry> const& manual_entries, std::map<Txid, std::set<Txid>> const& descendant_caches); ---- == Parameters [cols="1,4"] |=== | Name| Description | *manual_entries* [in] | The manually constructed entries to mine over. | *descendant_caches* [in] | A map from each transaction to the set of txids of this transaction's descendant set, including itself. Each tx in manual_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_entries. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#