aboutsummaryrefslogtreecommitdiff
path: root/src/validation.h
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2020-07-28 07:16:52 +0200
committerMarcoFalke <falke.marco@gmail.com>2020-07-29 12:30:11 +0200
commitfae8c28dae747f9c4c6481049742346d18202fc8 (patch)
tree42a1ef17a63231dfb5faa15de6221cd23677bb81 /src/validation.h
parentfac674db200e6b2d5b32069335fb24e713d7b69f (diff)
downloadbitcoin-fae8c28dae747f9c4c6481049742346d18202fc8.tar.xz
Pass mempool pointer to GetCoinsCacheSizeState
Diffstat (limited to 'src/validation.h')
-rw-r--r--src/validation.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/validation.h b/src/validation.h
index c76edd142a..534162d64a 100644
--- a/src/validation.h
+++ b/src/validation.h
@@ -674,11 +674,11 @@ public:
//! Dictates whether we need to flush the cache to disk or not.
//!
//! @return the state of the size of the coins cache.
- CoinsCacheSizeState GetCoinsCacheSizeState(const CTxMemPool& tx_pool)
+ CoinsCacheSizeState GetCoinsCacheSizeState(const CTxMemPool* tx_pool)
EXCLUSIVE_LOCKS_REQUIRED(::cs_main);
CoinsCacheSizeState GetCoinsCacheSizeState(
- const CTxMemPool& tx_pool,
+ const CTxMemPool* tx_pool,
size_t max_coins_cache_size_bytes,
size_t max_mempool_size_bytes) EXCLUSIVE_LOCKS_REQUIRED(::cs_main);