mirror of
https://github.com/mimblewimble/grin.git
synced 2025-01-22 12:01:08 +03:00
ce1dca1b68
We test if we're in fast sync or not by checking if our head is more recent than horizon. However, by the time we get the data and validate, more blocks have passed, and we'd be after horizon again. So we request the txhashset for a more recent block than the one at horizon. The current value was 20, leaving only 20 min of slack, which isn't enough for debug builds and isn't future-proof. Change to use `0.9*horizon`, leaving about 2.5 hours. |
||
---|---|---|
.. | ||
src | ||
tests | ||
Cargo.toml | ||
rustfmt.toml |