diff options
author | Riccardo Spagni <ric@spagni.net> | 2015-12-08 20:08:50 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2015-12-08 20:08:56 +0200 |
commit | d5496f72e51f791e7ded8e9209a9463ec9f7a1c8 (patch) | |
tree | e22354797a8f5c793be1f6d5d99e1bc3d2657f6d /src/blockchain_db/berkeleydb/db_bdb.h | |
parent | Merge pull request #519 (diff) | |
parent | blockchain_db: fixup missing key images in early DB version (diff) | |
download | monero-d5496f72e51f791e7ded8e9209a9463ec9f7a1c8.tar.xz |
Merge pull request #520
a98e976 blockchain_db: fixup missing key images in early DB version (moneromooo-monero)
Diffstat (limited to 'src/blockchain_db/berkeleydb/db_bdb.h')
-rw-r--r-- | src/blockchain_db/berkeleydb/db_bdb.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/blockchain_db/berkeleydb/db_bdb.h b/src/blockchain_db/berkeleydb/db_bdb.h index d05abea25..c79d8b26f 100644 --- a/src/blockchain_db/berkeleydb/db_bdb.h +++ b/src/blockchain_db/berkeleydb/db_bdb.h @@ -405,6 +405,10 @@ private: uint64_t get_output_global_index(const uint64_t& amount, const uint64_t& index); void checkpoint_worker() const; void check_open() const; + // + // fix up anything that may be wrong due to past bugs + virtual void fixup(); + bool m_run_checkpoint; std::unique_ptr<boost::thread> m_checkpoint_thread; typedef bdb_safe_buffer<void *> bdb_safe_buffer_t; |