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

Constructors

== Synopses

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

Constructor that takes a list of outpoints that may or may not belong to transactions in the mempool&period; Copies out information about the relevant transactions in the mempool into MiniMinerMempoolEntrys&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:node/MiniMiner/2constructor-0d.adoc[MiniMiner](
    xref:CTxMemPool.adoc[CTxMemPool] const& mempool,
    std::vector&lt;COutPoint&gt; const& outpoints);
----

[.small]#xref:node/MiniMiner/2constructor-0d.adoc[_» more&period;&period;&period;_]#

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;


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

[.small]#xref:node/MiniMiner/2constructor-01.adoc[_» more&period;&period;&period;_]#

== Parameters

[cols="1,4"]
|===
| Name| Description
| *mempool*
| The mempool to copy transaction information from&period;
| *outpoints*
| The outpoints of interest whose bump fees will be calculated&period;
| *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]#
