aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/walletdb.h
diff options
context:
space:
mode:
authorAndrew Chow <achow101-github@achow101.com>2019-03-13 00:44:52 -0400
committerAndrew Chow <achow101-github@achow101.com>2019-07-22 13:03:28 -0400
commit35e60e790f2cd602d1bdd0be835d27f0ba37efa9 (patch)
treeead3478f25e1b738f3441a247f1f91053dc1696f /src/wallet/walletdb.h
parentb3d4f6c9619142948ab3d53551b4f3c0d7d73bde (diff)
downloadbitcoin-35e60e790f2cd602d1bdd0be835d27f0ba37efa9.tar.xz
Remove ReadVersion and WriteVersion
The "version" record that these functions read and write are not used anywhere in the code except for one place. There is no reason to expose these functions publicly. Furthermore, this avoids potential confusion as developers may mistake these functions for actually reading and writing the wallet version when they do not.
Diffstat (limited to 'src/wallet/walletdb.h')
-rw-r--r--src/wallet/walletdb.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/wallet/walletdb.h b/src/wallet/walletdb.h
index 0532a55ff5..90163528af 100644
--- a/src/wallet/walletdb.h
+++ b/src/wallet/walletdb.h
@@ -241,10 +241,6 @@ public:
bool TxnCommit();
//! Abort current transaction
bool TxnAbort();
- //! Read wallet version
- bool ReadVersion(int& nVersion);
- //! Write wallet version
- bool WriteVersion(int nVersion);
private:
BerkeleyBatch m_batch;
WalletDatabase& m_database;