diff options
author | Alexander Blair <snipa@jagtech.io> | 2020-07-19 03:36:39 -0700 |
---|---|---|
committer | Alexander Blair <snipa@jagtech.io> | 2020-07-19 03:36:39 -0700 |
commit | 36d50d93f295d4b193e73f3ff3e95ae7e050c767 (patch) | |
tree | c8c7b69c5b0f769fdf1f72460462851597506d88 /src/blockchain_db/lmdb/db_lmdb.h | |
parent | Merge pull request #6529 (diff) | |
parent | daemon: guard against rare 'difficulty drift' bug with checkpoints and recalc... (diff) | |
download | monero-36d50d93f295d4b193e73f3ff3e95ae7e050c767.tar.xz |
Merge pull request #6534
7bd66b01b daemon: guard against rare 'difficulty drift' bug with checkpoints and recalculation (stoffu)
Diffstat (limited to 'src/blockchain_db/lmdb/db_lmdb.h')
-rw-r--r-- | src/blockchain_db/lmdb/db_lmdb.h | 2 |
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 f2e4d763a..58e36b15a 100644 --- a/src/blockchain_db/lmdb/db_lmdb.h +++ b/src/blockchain_db/lmdb/db_lmdb.h @@ -229,6 +229,8 @@ public: virtual difficulty_type get_block_difficulty(const uint64_t& height) const; + virtual void correct_block_cumulative_difficulties(const uint64_t& start_height, const std::vector<difficulty_type>& new_cumulative_difficulties); + virtual uint64_t get_block_already_generated_coins(const uint64_t& height) const; virtual uint64_t get_block_long_term_weight(const uint64_t& height) const; |