erigon-pulse/eth
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
..
downloader Mgr schedule iterator (#566) 2020-05-28 12:33:05 +01:00
fetcher geth 1.9.13 (#469) 2020-04-19 18:31:47 +01:00
filters geth 1.9.13 (#469) 2020-04-19 18:31:47 +01:00
gasprice Apply Turbo-Geth modifications to go-ethereum codebase 2019-11-01 21:52:03 +01:00
mgr Mgr schedule iterator (#566) 2020-05-28 12:33:05 +01:00
tracers Use uint256 for account balance (#580) 2020-05-26 17:53:50 +01:00
api_backend.go Fix RestAPI for tx_retrace and make it work for local boltdb (#584) 2020-05-27 17:24:34 +01:00
api_test.go Fix RestAPI for tx_retrace and make it work for local boltdb (#584) 2020-05-27 17:24:34 +01:00
api_tracer.go Fix RestAPI for tx_retrace and make it work for local boltdb (#584) 2020-05-27 17:24:34 +01:00
api.go Fix RestAPI for tx_retrace and make it work for local boltdb (#584) 2020-05-27 17:24:34 +01:00
backend_test.go Stages 6 and 7 for generating history indices (#569) 2020-05-23 10:19:56 +01:00
backend.go Mgr schedule iterator (#566) 2020-05-28 12:33:05 +01:00
bloombits.go geth 1.9.13 (#469) 2020-04-19 18:31:47 +01:00
config.go cmd, core, eth: background transaction indexing (#20302) 2020-05-20 15:26:22 +03:00
debug.go Call bufio.Flash() in tester (#407) 2020-03-26 21:52:05 +00:00
discovery.go post-merge fixups 2020-02-27 17:22:25 +03:00
firehose.go Parity only supports 3 letter capabilities 2020-01-07 16:34:44 +00:00
gen_config.go cmd, core, eth: background transaction indexing (#20302) 2020-05-20 15:26:22 +03:00
handler_test.go Use uint256 for account balance (#580) 2020-05-26 17:53:50 +01:00
handler.go Mgr schedule iterator (#566) 2020-05-28 12:33:05 +01:00
helper_test.go Fix RestAPI for tx_retrace and make it work for local boltdb (#584) 2020-05-27 17:24:34 +01:00
mgr.go Mgr schedule iterator (#566) 2020-05-28 12:33:05 +01:00
peer.go eth: skip transaction announcer goroutine on eth<65 2020-05-20 15:26:22 +03:00
protocol_test.go cmd, core, eth: background transaction indexing (#20302) 2020-05-20 15:26:22 +03:00
protocol.go eth: rework tx fetcher to use O(1) ops + manage network requests 2020-02-27 17:21:20 +03:00
sync_test.go geth 1.9.13 (#469) 2020-04-19 18:31:47 +01:00
sync.go post-rebase fixups 2020-05-20 15:26:22 +03:00