nimbus-eth1/nimbus/sync
Jordan Hrycaj 44a57496d9
Snap sync interval complement method to speed up trie perusal (#1328)
* Add quick hexary trie inspector, called `dismantle()`

why:
+ Full hexary trie perusal is slow if running down leaf nodes
+ For known range of leaf nodes, work out the UInt126-complement of
  partial sub-trie paths (for existing nodes). The result should cover
  no (or only a few) sub-tries with leaf nodes.

* Extract common healing methods => `sub_tries_helper.nim`

details:
  Also apply quick hexary trie inspection tool `dismantle()`
  Replace `inspectAccountsTrie()` wrapper by `hexaryInspectTrie()`

* Re-arrange task dispatching in main peer worker

* Refactor accounts and storage slots downloaders

* Rename `HexaryDbError` => `HexaryError`
2022-11-28 09:03:23 +00:00
..
full Remodel persistent snapdb access (#1274) 2022-10-20 17:59:54 +01:00
misc Snap sync can start on saved checkpoint (#1327) 2022-11-25 14:56:42 +00:00
protocol eth wire protocol: implement NewBlock and NewBlockHashes handler 2022-11-18 01:22:31 +07:00
snap Snap sync interval complement method to speed up trie perusal (#1328) 2022-11-28 09:03:23 +00:00
fast.nim bump `nim-eth` for `withdrawalsRoot` support (#1326) 2022-11-26 15:59:19 +01:00
full.nim Snap sync can start on saved checkpoint (#1327) 2022-11-25 14:56:42 +00:00
handlers.nim eth wire protocol: implement NewBlock and NewBlockHashes handler 2022-11-18 01:22:31 +07:00
protocol.nim initial wire protocol transformation 2022-10-15 19:48:21 +07:00
skeleton.nim initial beacon sync skeleton implementation 2022-09-17 09:08:55 +07:00
snap.nim Snap sync can start on saved checkpoint (#1327) 2022-11-25 14:56:42 +00:00
sync_desc.nim Update sync scheduler (#1297) 2022-11-14 14:13:00 +00:00
sync_sched.nim Snap sync can start on saved checkpoint (#1327) 2022-11-25 14:56:42 +00:00
types.nim initial wire protocol transformation 2022-10-15 19:48:21 +07:00