Zebra/zebrad/src
teor 48497d4857
Ignore sync errors when the block is already verified (#980)
* Ignore sync errors when the block is already verified

If we get an error for a block that is already in our state, we don't
need to restart the sync. It was probably a duplicate download.

Also:

Process any ready tasks before reset, so the logs and metrics are
up to date. (But ignore the errors, because we're about to reset.)

Improve sync logging and metrics during the download and verify task.

* Remove duplicate hashes in logs
Co-authored-by: Jane Lusby <jlusby42@gmail.com>

* Log the sync hash span at warn level
Co-authored-by: Jane Lusby <jlusby42@gmail.com>
2020-09-04 08:13:00 +10:00
..
bin/zebrad Create workspace skeleton based on design.md 2019-08-29 14:46:54 -07:00
commands Ignore sync errors when the block is already verified (#980) 2020-09-04 08:13:00 +10:00
components fix: fix the flamegraph module comment 2020-09-01 11:40:18 -04:00
application.rs Load config after initializing the Terminal (#848) 2020-08-06 17:22:40 -07:00
commands.rs Add config path to acceptance tests (#946) 2020-09-03 13:13:23 -07:00
components.rs Metrics MVP: add two metrics and export them to Prometheus. 2020-02-14 20:14:05 -05:00
config.rs feature: Add a checkpoint_sync config option 2020-08-24 15:34:46 +10:00
lib.rs add favicon to generated docs (#681) 2020-07-17 16:45:29 -07:00
prelude.rs Fix a deadlock in TokioComponent. 2020-01-15 12:06:31 -08:00