aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/walletdb.h
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2019-07-27 15:50:36 -0400
committerMarcoFalke <falke.marco@gmail.com>2019-07-27 16:31:34 -0400
commitfa6dc7fa5fdfd76c6dd5f7ae693a2fb4e37e271f (patch)
treec3f13c91c4fa1b4223d7fa15977feabe76b04a41 /src/wallet/walletdb.h
parentfebf3a856bcfb8fef2cb4ddcb8d1e0cab8a22580 (diff)
downloadbitcoin-fa6dc7fa5fdfd76c6dd5f7ae693a2fb4e37e271f.tar.xz
wallet: Enumerate walletdb keys
Diffstat (limited to 'src/wallet/walletdb.h')
-rw-r--r--src/wallet/walletdb.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/wallet/walletdb.h b/src/wallet/walletdb.h
index 90692317ea..b78bc49f9e 100644
--- a/src/wallet/walletdb.h
+++ b/src/wallet/walletdb.h
@@ -55,6 +55,31 @@ enum class DBErrors
NEED_REWRITE
};
+namespace DBKeys {
+extern const std::string ACENTRY;
+extern const std::string BESTBLOCK;
+extern const std::string BESTBLOCK_NOMERKLE;
+extern const std::string CRYPTED_KEY;
+extern const std::string CSCRIPT;
+extern const std::string DEFAULTKEY;
+extern const std::string DESTDATA;
+extern const std::string FLAGS;
+extern const std::string HDCHAIN;
+extern const std::string KEY;
+extern const std::string KEYMETA;
+extern const std::string MASTER_KEY;
+extern const std::string MINVERSION;
+extern const std::string NAME;
+extern const std::string OLD_KEY;
+extern const std::string ORDERPOSNEXT;
+extern const std::string POOL;
+extern const std::string PURPOSE;
+extern const std::string TX;
+extern const std::string VERSION;
+extern const std::string WATCHMETA;
+extern const std::string WATCHS;
+} // namespace DBKeys
+
/* simple HD chain data model */
class CHDChain
{