From d7b681cd6518834ce9b76676980561cb8e235cff Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Wed, 13 Jul 2016 21:19:05 +0100 Subject: remove hf_starting_height db It's not really needed, it used to be an optimization for when that code was not using the db and needed to recalculate things fast on startup. --- src/blockchain_db/berkeleydb/db_bdb.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/blockchain_db/berkeleydb/db_bdb.h') diff --git a/src/blockchain_db/berkeleydb/db_bdb.h b/src/blockchain_db/berkeleydb/db_bdb.h index 5c6bda4eb..6bc26ed3d 100644 --- a/src/blockchain_db/berkeleydb/db_bdb.h +++ b/src/blockchain_db/berkeleydb/db_bdb.h @@ -385,8 +385,6 @@ private: virtual bool for_all_outputs(std::function f) const; // Hard fork related storage - virtual void set_hard_fork_starting_height(uint8_t version, uint64_t height); - virtual uint64_t get_hard_fork_starting_height(uint8_t version) const; virtual void set_hard_fork_version(uint64_t height, uint8_t version); virtual uint8_t get_hard_fork_version(uint64_t height) const; virtual void check_hard_fork_info(); -- cgit v1.2.3