mirror of
https://github.com/monero-project/monero.git
synced 2025-08-20 10:28:12 -04:00
protocol: pass blockchain cumulative difficulty when syncing
Not used yet.
This commit is contained in:
parent
9e6bcbc014
commit
827afcb7ea
8 changed files with 30 additions and 0 deletions
|
@ -309,6 +309,7 @@ namespace cryptonote
|
|||
{
|
||||
m_core.get_blockchain_top(hshd.current_height, hshd.top_id);
|
||||
hshd.top_version = m_core.get_hard_fork_version(hshd.current_height);
|
||||
hshd.cumulative_difficulty = m_core.get_block_cumulative_difficulty(hshd.current_height);
|
||||
hshd.current_height +=1;
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue