diff options
author | warptangent <warptangent@tutanota.com> | 2015-12-26 14:27:35 -0800 |
---|---|---|
committer | warptangent <warptangent@tutanota.com> | 2015-12-26 14:30:20 -0800 |
commit | ee9d71e9f94ba8571c44c889a70bda77c8961959 (patch) | |
tree | c5636f8390be8d8a51d81e7c05dbe8f82ba1440b /src/blockchain_db/berkeleydb/db_bdb.h | |
parent | Merge pull request #565 (diff) | |
download | monero-ee9d71e9f94ba8571c44c889a70bda77c8961959.tar.xz |
BlockchainDB: skip fixup check if read-only database
Diffstat (limited to 'src/blockchain_db/berkeleydb/db_bdb.h')
-rw-r--r-- | src/blockchain_db/berkeleydb/db_bdb.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/blockchain_db/berkeleydb/db_bdb.h b/src/blockchain_db/berkeleydb/db_bdb.h index ce3da91e8..906b320c7 100644 --- a/src/blockchain_db/berkeleydb/db_bdb.h +++ b/src/blockchain_db/berkeleydb/db_bdb.h @@ -405,6 +405,9 @@ private: uint64_t get_output_global_index(const uint64_t& amount, const uint64_t& index); void checkpoint_worker() const; void check_open() const; + + virtual bool is_read_only() const; + // // fix up anything that may be wrong due to past bugs virtual void fixup(); |