aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet.h
diff options
context:
space:
mode:
authorfurszy <matiasfurszyfer@protonmail.com>2023-01-13 11:34:44 -0300
committerfurszy <matiasfurszyfer@protonmail.com>2023-02-15 15:49:44 -0300
commit3477a28dd3b4bc6c1993554c5ce589d69fa86070 (patch)
tree18c3e1db655f6d42a6cf2f11139f87364d835f1d /src/wallet/wallet.h
parent2d5acc901db336868dee158022a115b120b5b675 (diff)
wallet: set keypool_size instead of access global args manager
Diffstat (limited to 'src/wallet/wallet.h')
-rw-r--r--src/wallet/wallet.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/wallet/wallet.h b/src/wallet/wallet.h
index f104a15f98..a50c7eaa6e 100644
--- a/src/wallet/wallet.h
+++ b/src/wallet/wallet.h
@@ -642,6 +642,9 @@ public:
/** Absolute maximum transaction fee (in satoshis) used by default for the wallet */
CAmount m_default_max_tx_fee{DEFAULT_TRANSACTION_MAXFEE};
+ /** Number of pre-generated keys/scripts by each spkm (part of the look-ahead process, used to detect payments) */
+ int64_t m_keypool_size{DEFAULT_KEYPOOL_SIZE};
+
size_t KeypoolCountExternalKeys() const EXCLUSIVE_LOCKS_REQUIRED(cs_wallet);
bool TopUpKeyPool(unsigned int kpSize = 0);