nimbus-eth1/nimbus
Jordan Hrycaj 5e865edec0
Update snap client storage slots download and healing (#1529)
* Fix fringe condition for `GetStorageRanges` message handler

why:
  Receiving a proved empty range was not considered at all. This lead to
  inconsistencies of the return value which led to subsequent errors.

* Update storage range bulk download

details;
  Mainly re-org of storage queue processing in `storage_queue_helper.nim`

* Update logging variables/messages

* Update storage slots healing

details:
  Mainly clean up after improved helper functions from the sources
  `find_missing_nodes.nim` and `storage_queue_helper.nim`.

* Simplify account fetch

why:
  To much fuss made tolerating some errors. There will be an overall
  strategy implemented where the concert of download and healing function
  is orchestrated.

* Add error resilience to the concert of download and healing.

why:
  The idea is that a peer might stop serving snap/1 accounts and storage
  slot downloads while still able to support fetching nodes for healing.
2023-04-04 14:36:18 +01:00
..
common More work on withdrawals (#1482) 2023-03-09 18:40:55 -05:00
core t8n tools support withdrawals records 2023-03-21 18:36:22 +07:00
db fix t8n tool bug and accounts cache bug 2023-03-23 11:07:30 +07:00
evm fix t8n tool bug and accounts cache bug 2023-03-23 11:07:30 +07:00
graphql bump submodules to further reduce compiler warnings 2023-02-02 09:29:02 +07:00
rpc Fix the ReceiptObject JSON-RPC type (#1522) 2023-03-27 21:10:43 +02:00
sync Update snap client storage slots download and healing (#1529) 2023-04-04 14:36:18 +01:00
transaction refactor touched accounts, selfdestruct, and log 2023-03-21 08:14:06 +07:00
utils refactor touched accounts, selfdestruct, and log 2023-03-21 08:14:06 +07:00
common.nim implement better hardfork management 2022-12-02 13:51:42 +07:00
config.nim Sketching in "stateless mode". (#1495) 2023-03-13 14:18:30 -04:00
constants.nim Silence compiler gossip after nim upgrade cont1 (#1455) 2023-01-31 01:32:17 +00:00
errors.nim fix EIP-3860 bugs 2023-01-13 13:04:23 +07:00
launcher.nim
lightchain_shell.nim
makefile Snap sync fix trie interpolation fringe condition (#1457) 2023-02-01 18:56:06 +00:00
nim.cfg NAT port mapping 2019-04-17 03:56:28 +02:00
nimbus.nim Sketching in "stateless mode". (#1495) 2023-03-13 14:18:30 -04:00
rpc.nim implement better hardfork management 2022-12-02 13:51:42 +07:00
tracer.nim Silence compiler gossip after nim upgrade cont3 (#1466) 2023-02-14 20:27:17 +00:00
transaction.nim fix EIP-3860 intrinsic gas once again 2023-01-15 14:37:19 +07:00
version.nim dist: precompiled binaries and Docker images (#1015) 2022-03-27 13:21:15 +02:00
vm_compile_info.nim Prepare snap server client test scenario (#1483) 2023-03-02 09:57:58 +00:00
vm_computation.nim refactor touched accounts, selfdestruct, and log 2023-03-21 08:14:06 +07:00
vm_gas_costs.nim implement better hardfork management 2022-12-02 13:51:42 +07:00
vm_internals.nim refactor touched accounts, selfdestruct, and log 2023-03-21 08:14:06 +07:00
vm_precompiles.nim implement better hardfork management 2022-12-02 13:51:42 +07:00
vm_state.nim refactor touched accounts, selfdestruct, and log 2023-03-21 08:14:06 +07:00
vm_state_transactions.nim implement better hardfork management 2022-12-02 13:51:42 +07:00
vm_types.nim implement better hardfork management 2022-12-02 13:51:42 +07:00