deso-protocol / core

DeSo core node
https://docs.deso.org
MIT License
325 stars 110 forks source link

Fix checksum computation at the snapshot height #1305

Closed diamondhands0 closed 1 month ago

diamondhands0 commented 1 month ago

Making snapshot computation synchronous broke the checksum computation at the snapshot height because computing the snapshot was still asynchronous. This change waits for the checksum to be fully updated before it updates the snapshot to the new checksum value.

I also made the blocks requested+sent higher for testnet, which makes syncing much faster.