nimbus-eth1/nimbus/sync/snap/worker/com
Jordan Hrycaj 33023aaf39
Update snap server client test scenario (#1518)
* Redesign snap1 message GetTrieNodes argument prototypes

why:
  A list of sub-objects `seq[SnapTriePath]` is more intuitive to work with
  than an opaque definition `seq[seq[Blob]]` because the inner object
  `SnapTriePath` object has a dedicated inner structure (for how to
  interprete `seq[Blob]`.)

* Collect some public constants into `constants.nim` file

* Reorg `hexary_paths.nim`

why:
+ Collecting nodes following a partial path properly ending at an
  extension node failed to collect this last node.
+ Merged the nodes collecting algorithm for persistent and in-memory
  into a single generic function `hexary_paths.rootPathExtend()`

info:
  Extracted common tasks to `hexary_nodes_helper.nim`

* Implement `StorageRanges` message handler for snap/1 protocol
2023-03-22 20:11:49 +00:00
..
notused Prepare snap server client test scenario cont2 (#1487) 2023-03-07 14:23:22 +00:00
com_error.nim Silence compiler gossip after nim upgrade (#1454) 2023-01-30 22:10:23 +00:00
get_account_range.nim Prepare snap server client test scenario cont3 (#1491) 2023-03-10 17:10:30 +00:00
get_block_header.nim Prepare snap server client test scenario cont2 (#1487) 2023-03-07 14:23:22 +00:00
get_storage_ranges.nim Update snap server client test scenario (#1518) 2023-03-22 20:11:49 +00:00
get_trie_nodes.nim Update snap server client test scenario (#1518) 2023-03-22 20:11:49 +00:00