diff options
author | Andrew Chow <achow101-github@achow101.com> | 2019-10-07 14:11:34 -0400 |
---|---|---|
committer | Andrew Chow <achow101-github@achow101.com> | 2019-11-01 22:58:05 -0400 |
commit | 7ef47b88e67718766c92d23973742d08436176e0 (patch) | |
tree | 33e85f9d2ebcca00a3b000fd9d69e8d2462703d1 /src/wallet/scriptpubkeyman.h | |
parent | 089e17d45c8147bd0303bcbf02dc0f7d6b387f2a (diff) | |
download | bitcoin-7ef47b88e67718766c92d23973742d08436176e0.tar.xz |
Refactor: Move GetKeypoolSize code out of CWallet
This commit does not change behavior.
Diffstat (limited to 'src/wallet/scriptpubkeyman.h')
-rw-r--r-- | src/wallet/scriptpubkeyman.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wallet/scriptpubkeyman.h b/src/wallet/scriptpubkeyman.h index 24b0a27881..b9722ea63f 100644 --- a/src/wallet/scriptpubkeyman.h +++ b/src/wallet/scriptpubkeyman.h @@ -182,6 +182,7 @@ public: virtual int64_t GetOldestKeyPoolTime() { return GetTime(); } virtual size_t KeypoolCountExternalKeys() { return 0; } + virtual unsigned int GetKeyPoolSize() const { return 0; } virtual const CKeyMetadata* GetMetadata(uint160 id) const { return nullptr; } }; @@ -295,6 +296,7 @@ public: int64_t GetOldestKeyPoolTime() override; size_t KeypoolCountExternalKeys() override EXCLUSIVE_LOCKS_REQUIRED(cs_wallet); + unsigned int GetKeyPoolSize() const override; const CKeyMetadata* GetMetadata(uint160 id) const override; |