mirror of
https://github.com/monero-project/monero.git
synced 2026-08-01 08:30:25 -07:00
protocol: pass blockchain cumulative difficulty when syncing
Not used yet.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user