Jordan Hrycaj 76f6de8059
Normalise snap objects (#1114)
* Fix/recover download flag

why:
  The fetch indicator used to control the data download somehow got
  lost during re-org.

* Updated chronicles/logger topics

* Reorganised run state flags

why:
  The original code used a pair of boolean flags `(stopped,stopThisState)`
  which was translated to three states running, stoppedPending, and
  stopped. It is currently not clear whether collapsing some states was
  correct. So the original logic has been re-stored, albeit wrapped into
  directives like `isStopped()` etc.

also:
  Moving some function bodies in `worker.nim`

* Moved `reply_data.nim` and `validate_trienode.nim` to sub-directory `fetch_trie`

why:
  Only used in `fetch_trie.nim`.

* Move `fetch_*` file and directory objects to `fetch` subdirectory

why:
  Only used in `fetch.nim`

* Added start/stop and/or setup/release methods for all sub-modules

why:
  good housekeeping

also:
  updated getters/setters for ctrl states
  updated trace messages
2022-06-06 14:42:08 +01:00
..
2022-04-21 12:01:18 +07:00
2022-04-14 08:39:50 +07:00
2022-04-14 08:39:50 +07:00
2022-06-01 20:32:07 +07:00
2022-06-06 14:42:08 +01:00
2022-04-14 08:39:50 +07:00
2022-05-25 12:04:47 +07:00
2022-05-25 12:04:47 +07:00
2019-11-13 21:49:39 +07:00
2022-04-14 08:39:50 +07:00
2022-02-08 20:23:40 +07:00
2022-04-14 08:39:50 +07:00
2019-01-28 12:38:23 +02:00
2019-04-17 03:56:28 +02:00
2022-04-14 08:39:50 +07:00
2022-04-14 08:39:50 +07:00