diff options
author | MarcoFalke <falke.marco@gmail.com> | 2020-07-28 07:16:52 +0200 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2020-07-29 12:30:11 +0200 |
commit | fae8c28dae747f9c4c6481049742346d18202fc8 (patch) | |
tree | 42a1ef17a63231dfb5faa15de6221cd23677bb81 /src/validation.h | |
parent | fac674db200e6b2d5b32069335fb24e713d7b69f (diff) | |
download | bitcoin-fae8c28dae747f9c4c6481049742346d18202fc8.tar.xz |
Pass mempool pointer to GetCoinsCacheSizeState
Diffstat (limited to 'src/validation.h')
-rw-r--r-- | src/validation.h | 4 |
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); |