aboutsummaryrefslogtreecommitdiff
path: root/src/blockchain_db/lmdb/db_lmdb.h
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2015-10-26 15:52:07 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2015-10-26 18:09:46 +0000
commitf7e99047e47bd290ff763645f19d19c64a3bd4cd (patch)
tree4cbedd1b0d4deed5b7972267278894e25134e1fb /src/blockchain_db/lmdb/db_lmdb.h
parentMerge pull request #450 (diff)
downloadmonero-f7e99047e47bd290ff763645f19d19c64a3bd4cd.tar.xz
db_lmdb: add versioning, to detect incompatible format changes
Diffstat (limited to 'src/blockchain_db/lmdb/db_lmdb.h')
-rw-r--r--src/blockchain_db/lmdb/db_lmdb.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/blockchain_db/lmdb/db_lmdb.h b/src/blockchain_db/lmdb/db_lmdb.h
index 6125ef2ef..85c2dffca 100644
--- a/src/blockchain_db/lmdb/db_lmdb.h
+++ b/src/blockchain_db/lmdb/db_lmdb.h
@@ -306,6 +306,8 @@ private:
MDB_dbi m_hf_starting_heights;
MDB_dbi m_hf_versions;
+ MDB_dbi m_properties;
+
uint64_t m_height;
uint64_t m_num_outputs;
std::string m_folder;