nimbus-eth1/nimbus/sync/snap/worker/db
Jordan Hrycaj 2f7f2dba2d
Prepare snap server client test scenario cont3 (#1491)
* Handle last/all node(s) proof conditions at leaf node extractor

detail:
  Flag whether the maximum extracted node is the last one in database
  No proof needed if the full tree was extracted

* Clean up some helpers & definitions

details:
  Move entities to more plausible locations, e.g. `Account` object need
  not be dealt with in the range extractor as it applies to any kind of
  leaf data.

* Fix next/prev database walk fringe condition

details:
  First check needed might be for a leaf node which was done too late.

* Homogenise snap/1 protocol function prototypes

why:
  The range arguments `origin` and `limit` data types differed in various
  function prototypes (`Hash256` vs. `openArray[byte]`.)

* Implement `GetStorageRange` handler

* Implement server timeout for leaf node retrieval

why:
  This feature leaves control on the server for probably costly action
  invoked by the network

* Implement maximal reply size for snap service

why:
  This feature leaves control on the server for probably costly action
  invoked by the network.
2023-03-10 17:10:30 +00:00
..
hexary_desc.nim Snap sync extractor and sub range proofs cont1 (#1468) 2023-02-15 10:14:40 +00:00
hexary_envelope.nim Silence some compiler gossip -- part 8, sync (#1467) 2023-02-14 23:38:33 +00:00
hexary_error.nim Silence some compiler gossip -- part 8, sync (#1467) 2023-02-14 23:38:33 +00:00
hexary_import.nim Prepare snap server client test scenario cont2 (#1487) 2023-03-07 14:23:22 +00:00
hexary_inspect.nim Silence some compiler gossip -- part 8, sync (#1467) 2023-02-14 23:38:33 +00:00
hexary_interpolate.nim Silence some compiler gossip -- part 8, sync (#1467) 2023-02-14 23:38:33 +00:00
hexary_nearby.nim Prepare snap server client test scenario cont3 (#1491) 2023-03-10 17:10:30 +00:00
hexary_paths.nim Silence some compiler gossip -- part 8, sync (#1467) 2023-02-14 23:38:33 +00:00
hexary_range.nim Prepare snap server client test scenario cont3 (#1491) 2023-03-10 17:10:30 +00:00
rocky_bulk_load.nim Silence some compiler gossip -- part 8, sync (#1467) 2023-02-14 23:38:33 +00:00
snapdb_accounts.nim Prepare snap server client test scenario cont2 (#1487) 2023-03-07 14:23:22 +00:00
snapdb_desc.nim Prepare snap server client test scenario cont3 (#1491) 2023-03-10 17:10:30 +00:00
snapdb_persistent.nim Silence some compiler gossip -- part 8, sync (#1467) 2023-02-14 23:38:33 +00:00
snapdb_pivot.nim Silence compiler gossip after nim upgrade (#1454) 2023-01-30 22:10:23 +00:00
snapdb_storage_slots.nim Prepare snap server client test scenario cont2 (#1487) 2023-03-07 14:23:22 +00:00