ledgerwatch / erigon

Ethereum implementation on the efficiency frontier
GNU Lesser General Public License v3.0
3.03k stars 1.04k forks source link

EXPERIMENTAL: Remotion of KeysTable in `Domain` #10771

Open Giulio2002 opened 1 week ago

Giulio2002 commented 1 week ago

This is an experimental PRs which remove the use of keysTable from Domain, here is what was required as a consequence:

awskii commented 1 week ago

this could bring fullscan on each query since commitment reads from smallest prefix to largest during unfold. I want to use that fact by storing bt stateful cursors but first experiment was failed.

Prune already had GetExecV3PruneProgress and SaveExecV3PruneProgress and Domain itself responsible to keep track it's progress, not aggregator

Collate should use ETL instead of slice sorting due to potential sizes of collations.