grin/servers
Ignotus Peverell ce1dca1b68
Ask for txhashet before horizon to account for fast sync time
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.
2018-05-12 21:31:22 +01:00
..
src Ask for txhashet before horizon to account for fast sync time 2018-05-12 21:31:22 +01:00
tests Wallet+Keychain refactoring (#1035) 2018-05-09 10:15:58 +01:00
Cargo.toml [WIP] Miner removal (#979) 2018-04-24 09:18:24 +01:00
rustfmt.toml refactor grin crate into separate modules (#955) 2018-04-12 10:11:24 +01:00