diff options
author | Andrew Chow <achow101-github@achow101.com> | 2017-07-28 17:00:49 -0700 |
---|---|---|
committer | Andrew Chow <achow101-github@achow101.com> | 2017-08-15 15:05:53 -0700 |
commit | e53615b443894fb96d5eb885b3812776c1b1033b (patch) | |
tree | c2f5789ec8e1a840161d58698f9014c81e3b24d3 /src/wallet/walletdb.h | |
parent | ae47724687a78572daba5bc113d99d03b7ab01d6 (diff) |
Remove vchDefaultKey and have better first run detection
Removes vchDefaultKey which was only used for first run detection.
Improves wallet first run detection by checking to see if any keys
were read from the database.
This will now also check for a valid defaultkey for backwards
compatibility reasons and to check for any corruption.
Keys will stil be generated on the first one, but there won't be
any shown in the address book as was previously done.
Diffstat (limited to 'src/wallet/walletdb.h')
-rw-r--r-- | src/wallet/walletdb.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/wallet/walletdb.h b/src/wallet/walletdb.h index d78f143ebd..4e22143c75 100644 --- a/src/wallet/walletdb.h +++ b/src/wallet/walletdb.h @@ -191,8 +191,6 @@ public: bool WriteOrderPosNext(int64_t nOrderPosNext); - bool WriteDefaultKey(const CPubKey& vchPubKey); - bool ReadPool(int64_t nPool, CKeyPool& keypool); bool WritePool(int64_t nPool, const CKeyPool& keypool); bool ErasePool(int64_t nPool); |