erigon-pulse/internal/debug
Alex Sharov daa359c363
Mgr schedule iterator (#566)
* db based version of PrefixByCumulativeWitnessSize

* db based version of PrefixByCumulativeWitnessSize

* retain all in Trie by default

* fix WitnessLen logic in calcTrie roots

* Rename IntermediateTrieWitnessLenBucket to IntermediateWitnessLenBucket

* handle corner cases in WL

* Use correct incarnation for IH bucket

* use name WitnessSize

* save progress towards db-only witness estimation

* results from trie and from db are still different

* less recursion

* correct incarnation in CumulativeSearch

* reuse results from previous Tick, separate concepts of parent and startKey

* experiment: if not including trie structure to WitnessSize will reduce cumulative error

* tool to generate all IH and tool to calculate assessment of cumulative error

* tool to generate all IH

* Calculate totalWitnessSize based on DB data - then schedule will not overrun state during MGR cycle

* better stats

* Calculate totalWitnessSize based on DB data - then schedule will not overrun state during MGR cycle

* Calculate totalWitnessSize based on DB data - then schedule will not overrun state during MGR cycle

* calculate ticks size distribution

* estimate cumulative error

* fix linter

* resetIH from scratch if needed

* cleanup

* fix test

* fix test
2020-05-28 12:33:05 +01:00
..
api.go Apply Turbo-Geth modifications to go-ethereum codebase 2019-11-01 21:52:03 +01:00
flags.go Mgr schedule iterator (#566) 2020-05-28 12:33:05 +01:00
loudpanic_fallback.go cmd/utils, internal/debug: show all stacks for 10x Ctrl-C induced panic 2016-03-12 00:59:37 +01:00
loudpanic.go cmd/utils, internal/debug: show all stacks for 10x Ctrl-C induced panic 2016-03-12 00:59:37 +01:00
trace_fallback.go internal/debug: also rename debug_startTrace to debug_startGoTrace 2016-05-06 11:15:05 +02:00
trace.go Apply Turbo-Geth modifications to go-ethereum codebase 2019-11-01 21:52:03 +01:00