protocol: pass blockchain cumulative difficulty when syncing

Not used yet.
This commit is contained in:
moneromooo-monero
2017-08-12 15:24:39 +01:00
parent 9e6bcbc014
commit 827afcb7ea
8 changed files with 30 additions and 0 deletions
+7
View File
@@ -520,6 +520,13 @@ namespace cryptonote
*/
crypto::hash get_tail_id() const;
/**
* @copydoc Blockchain::get_block_cumulative_difficulty
*
* @note see Blockchain::get_block_cumulative_difficulty
*/
difficulty_type get_block_cumulative_difficulty(uint64_t height) const;
/**
* @copydoc Blockchain::get_random_outs_for_amounts
*