aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/scriptpubkeyman.h
diff options
context:
space:
mode:
authorAndrew Chow <achow101-github@achow101.com>2019-10-07 14:11:34 -0400
committerAndrew Chow <achow101-github@achow101.com>2019-11-01 22:58:05 -0400
commit152b0a00d8e681dd098f6b548447b82ab54ebe3c (patch)
treecb55db76e9f2ebdca3476c4304673ef8c3fa09ee /src/wallet/scriptpubkeyman.h
parent7ef47b88e67718766c92d23973742d08436176e0 (diff)
Refactor: Move nTimeFirstKey accesses out of CWallet
This commit does not change behavior.
Diffstat (limited to 'src/wallet/scriptpubkeyman.h')
-rw-r--r--src/wallet/scriptpubkeyman.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/wallet/scriptpubkeyman.h b/src/wallet/scriptpubkeyman.h
index b9722ea63f..0dbf98ee94 100644
--- a/src/wallet/scriptpubkeyman.h
+++ b/src/wallet/scriptpubkeyman.h
@@ -184,6 +184,8 @@ public:
virtual size_t KeypoolCountExternalKeys() { return 0; }
virtual unsigned int GetKeyPoolSize() const { return 0; }
+ virtual int64_t GetTimeFirstKey() const { return 0; }
+
virtual const CKeyMetadata* GetMetadata(uint160 id) const { return nullptr; }
};
@@ -298,6 +300,8 @@ public:
size_t KeypoolCountExternalKeys() override EXCLUSIVE_LOCKS_REQUIRED(cs_wallet);
unsigned int GetKeyPoolSize() const override;
+ int64_t GetTimeFirstKey() const override;
+
const CKeyMetadata* GetMetadata(uint160 id) const override;
bool CanGetAddresses(bool internal = false) override;