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
..
2022-11-16 23:51:06 +00:00
2019-11-13 21:49:39 +07:00
2022-10-03 16:38:32 +07:00
2022-07-01 21:16:26 +01:00
2019-01-28 12:38:23 +02:00
2018-05-28 13:22:28 +03:00
2022-09-26 15:16:28 +07:00
2019-04-17 03:56:28 +02:00
2022-10-03 16:38:32 +07:00