nimbus-eth1/nimbus/sync/snap
Jordan Hrycaj 575c69e6ba
Objects inheritance reorg for snap sync (#1091)
* new: time_helper, types

* new: path_desc

* new: base_desc

* Re-organised objects inheritance

why:
  Previous code used macros to instantiate opaque object references. This
  has been re-implemented with OO inheritance based logic.

* Normalised trace macros

* Using distinct types for Hash256 aliases

why:
  Better control of the meaning of the hashes, all or the same format

caveat:
  The protocol handler DSL used by eth66.nim and snap1.nim uses the
  underlying type Hash256 and cannot handle the distinct alias in
  rlp and chronicles/log macros. So Hash256 is used directly (does
  not change readability as the type is clear by parameter names.)
2022-05-17 12:09:49 +01:00
..
pie Objects inheritance reorg for snap sync (#1091) 2022-05-17 12:09:49 +01:00
base_desc.nim Objects inheritance reorg for snap sync (#1091) 2022-05-17 12:09:49 +01:00
chain_head_tracker.nim Objects inheritance reorg for snap sync (#1091) 2022-05-17 12:09:49 +01:00
get_nodedata.nim Objects inheritance reorg for snap sync (#1091) 2022-05-17 12:09:49 +01:00
path_desc.nim Objects inheritance reorg for snap sync (#1091) 2022-05-17 12:09:49 +01:00
timer_helper.nim Objects inheritance reorg for snap sync (#1091) 2022-05-17 12:09:49 +01:00
types.nim Objects inheritance reorg for snap sync (#1091) 2022-05-17 12:09:49 +01:00
validate_trienode.nim Objects inheritance reorg for snap sync (#1091) 2022-05-17 12:09:49 +01:00