nimbus-eth2/beacon_chain
Jacek Sieka 95dd846a9b
Make sync horizon configurable (#3113)
Currently, we don't have a good answer to the question "are we synced
yet" - the sync manager syncs based on the peers it's connected to, but
just because some peer looks like it should be synced from doesn't mean
we're out of sync.

Instead, we use a very silly time-based heuristic - the problem with
that is that the network can go into a rut where nobody produces blocks
- better heuristics would be needed here, but in the meantime, a command
line option can get us out of a tight spot - this PR places such an
option in the client, in the unlikely event it should be needed (most
likely in a testnet).
2021-11-18 20:35:26 +01:00
..
consensus_object_pools ncli_db: add putState, putBlock (#3096) 2021-11-18 13:02:43 +01:00
eth1 ncli_db: add putState, putBlock (#3096) 2021-11-18 13:02:43 +01:00
fork_choice document how to run merge local testnet with Nethermind (#3110) 2021-11-17 20:45:39 +01:00
gossip_processing update 22 spec URLs to v1.1.5 (#3111) 2021-11-18 08:08:00 +00:00
networking update 22 spec URLs to v1.1.5 (#3111) 2021-11-18 08:08:00 +00:00
rpc REST/JSON-RPC: speed up several requests (#3092) 2021-11-12 23:29:28 +01:00
spec ncli_db: add putState, putBlock (#3096) 2021-11-18 13:02:43 +01:00
sync Logging and startup improvements (#3038) 2021-11-02 18:06:36 +01:00
validator_client Better REST/RPC error messages (#3046) 2021-11-05 17:39:47 +02:00
validators Make sync horizon configurable (#3113) 2021-11-18 20:35:26 +01:00
.editorconfig Add .editorconfig file and remove trailing newlines 2021-09-14 12:12:49 +03:00
.gitignore Rename binaries; Mimic the original repo layout in the distribution 2020-11-09 11:38:52 +02:00
beacon_chain_db.nim ncli_db: add putState, putBlock (#3096) 2021-11-18 13:02:43 +01:00
beacon_chain_db_immutable.nim update 22 spec URLs to v1.1.5 (#3111) 2021-11-18 08:08:00 +00:00
beacon_clock.nim mass/mechanical update of 1.1.4 phase0 and altair spec URLs to 1.1.5 (#3067) 2021-11-09 07:40:41 +00:00
beacon_node.nim import cleanup (#2997) 2021-10-19 16:09:26 +02:00
beacon_node_status.nim EH cleanup (#2455) 2021-03-26 07:52:01 +01:00
conf.nim Make sync horizon configurable (#3113) 2021-11-18 20:35:26 +01:00
extras.nim use ForkedHashedBeaconState in StateData (#2634) 2021-06-11 20:51:46 +03:00
filepath.nim EH cleanup (#2455) 2021-03-26 07:52:01 +01:00
interop.nim bump `nim-stint` (#2969) 2021-10-14 14:13:51 +03:00
nimbus_beacon_node.nim ncli_db: add putState, putBlock (#3096) 2021-11-18 13:02:43 +01:00
nimbus_beacon_node.nim.cfg Logging and startup improvements (#3038) 2021-11-02 18:06:36 +01:00
nimbus_binary_common.nim Reduce the logging-related breaking changes (#3070) 2021-11-10 11:02:18 +02:00
nimbus_signing_process.nim import cleanup (#2997) 2021-10-19 16:09:26 +02:00
nimbus_validator_client.nim Logging and startup improvements (#3038) 2021-11-02 18:06:36 +01:00
nimbus_validator_client.nim.cfg Logging and startup improvements (#3038) 2021-11-02 18:06:36 +01:00
sszdump.nim ncli_db: add putState, putBlock (#3096) 2021-11-18 13:02:43 +01:00
statediff.nim update statediffs to work with Altair (#3061) 2021-11-09 16:17:57 +00:00
statusbar.nim switch result = foo to expression return; unexport rest of logtrace symbols (#2788) 2021-08-17 09:51:39 +00:00
version.nim Version 1.5.4 2021-11-10 11:55:57 +01:00