nimbus-eth1/tests/test_sync_snap
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
..
bulk_test_xx.nim Snap sync extractor and sub range proofs cont1 (#1468) 2023-02-15 10:14:40 +00:00
sample0.txt.gz Update snap offline tests (#1199) 2022-08-24 14:44:18 +01:00
sample1.txt.gz Update snap offline tests (#1199) 2022-08-24 14:44:18 +01:00
sample2.txt.gz Snap fetch account storage data (#1211) 2022-09-02 19:16:09 +01:00
sample3.txt.gz Snap fetch account storage data (#1211) 2022-09-02 19:16:09 +01:00
snap_other_xx.nim Snap sync accounts healing (#1225) 2022-09-16 08:24:12 +01:00
snap_storage_xx.nim Snap sync fix trie interpolation fringe condition (#1457) 2023-02-01 18:56:06 +00:00
snap_test_xx.nim Snap fetch account storage data (#1211) 2022-09-02 19:16:09 +01:00
test_accounts.nim Prepare snap server client test scenario cont2 (#1487) 2023-03-07 14:23:22 +00:00
test_calc.nim Prepare snap server client test scenario cont3 (#1491) 2023-03-10 17:10:30 +00:00
test_db_timing.nim Snap sync interval range extractor (#1449) 2023-01-30 17:50:58 +00:00
test_helpers.nim Snap sync extractor test sub range proofs (#1460) 2023-02-02 13:27:09 +00:00
test_inspect.nim Snap sync interval range extractor (#1449) 2023-01-30 17:50:58 +00:00
test_node_range.nim Prepare snap server client test scenario cont2 (#1487) 2023-03-07 14:23:22 +00:00
test_pivot.nim Silence compiler gossip after nim upgrade cont3 (#1466) 2023-02-14 20:27:17 +00:00
test_storage.nim Snap sync fix trie interpolation fringe condition (#1457) 2023-02-01 18:56:06 +00:00
test_types.nim Bump nim-eth and remove all now unneeded p2p related imports (#1273) 2022-10-20 10:34:59 +02:00