diff options
author | furszy <matiasfurszyfer@protonmail.com> | 2023-01-13 11:34:44 -0300 |
---|---|---|
committer | furszy <matiasfurszyfer@protonmail.com> | 2023-02-15 15:49:44 -0300 |
commit | 3477a28dd3b4bc6c1993554c5ce589d69fa86070 (patch) | |
tree | 18c3e1db655f6d42a6cf2f11139f87364d835f1d /src/wallet/wallet.h | |
parent | 2d5acc901db336868dee158022a115b120b5b675 (diff) |
wallet: set keypool_size instead of access global args manager
Diffstat (limited to 'src/wallet/wallet.h')
-rw-r--r-- | src/wallet/wallet.h | 3 |
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); |