Jordan Hrycaj a689e9185a
Prep for full sync after snap make 5 (#1286)
* Update docu and logging

* Extracted and updated constants from `worker_desc` into separate file

* Update and re-calibrate communication error handling

* Allow simplified pivot negotiation

why:
  This feature allows to turn off pivot negotiation so that peers agree
  on a a pivot header.

  For snap sync with fast changing pivots this only throttles the sync
  process. The finally downloaded DB snapshot is typically a merged
  version of different pivot states augmented by a healing process.

* Re-model worker queues for accounts download & healing

why:
  Currently there is only one data fetch per download or healing task.
  This task is then repeated by the scheduler after a short time. In
  many cases, this short time seems enough for some peers to decide to
  terminate connection.

* Update main task batch `runMulti()`

details:
  The function `runMulti()` is activated in quasi-parallel mode by the
  scheduler. This function calls the download, healing and fast-sync
  functions.

  While in debug mode, after each set of jobs run by this function the
  database is analysed (by the `snapdb_check` module) and the result
  printed.
2022-11-01 15:07:44 +00:00
..
2022-08-22 20:11:36 +07:00
2022-10-25 11:01:31 +07:00
2022-10-15 19:48:21 +07:00
2022-10-03 16:38:32 +07:00
2022-10-25 11:01:31 +07:00
2019-11-13 21:49:39 +07:00
2022-10-03 16:38:32 +07:00
2022-07-01 21:16:26 +01:00
2019-01-28 12:38:23 +02:00
2018-05-28 13:22:28 +03:00
2022-09-26 15:16:28 +07:00
2019-04-17 03:56:28 +02:00
2022-10-03 16:38:32 +07:00