aboutsummaryrefslogtreecommitdiff
path: root/src/node/coin.h
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2019-11-22 16:24:38 -0500
committerMarcoFalke <falke.marco@gmail.com>2019-12-05 14:22:05 -0500
commitfa660d65d7cc401ad5bbfdc076a074de19a79329 (patch)
treee66d5323bd671bbfdec809b28775d8bf5d56ba8f /src/node/coin.h
parentfacbaf092f1ab298943206603cff6e6e3d30d452 (diff)
downloadbitcoin-fa660d65d7cc401ad5bbfdc076a074de19a79329.tar.xz
node: Use mempool from node context instead of global
Diffstat (limited to 'src/node/coin.h')
-rw-r--r--src/node/coin.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/node/coin.h b/src/node/coin.h
index eb95b75cfb..908850e2a5 100644
--- a/src/node/coin.h
+++ b/src/node/coin.h
@@ -9,14 +9,16 @@
class COutPoint;
class Coin;
+struct NodeContext;
/**
* Look up unspent output information. Returns coins in the mempool and in the
* current chain UTXO set. Iterates through all the keys in the map and
* populates the values.
*
+ * @param[in] node The node context to use for lookup
* @param[in,out] coins map to fill
*/
-void FindCoins(std::map<COutPoint, Coin>& coins);
+void FindCoins(const NodeContext& node, std::map<COutPoint, Coin>& coins);
#endif // BITCOIN_NODE_COIN_H