Merge pull request #4108

8c05237 blockchain: cache next block difficulty after adding a block (moneromooo-monero)
release-v0.5.1
luigi1111 6 years ago
commit dda05f357a
No known key found for this signature in database
GPG Key ID: F4ACA0183641E010

@ -3696,6 +3696,7 @@ leave:
// appears to be a NOP *and* is called elsewhere. wat?
m_tx_pool.on_blockchain_inc(new_height, id);
get_difficulty_for_next_block(); // just to cache it
return true;
}

Loading…
Cancel
Save