erigon-pulse/cmd/restapi/apis
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
..
accounts_api.go Use uint256 for account balance (#580) 2020-05-26 17:53:50 +01:00
common.go Fix RestAPI for tx_retrace and make it work for local boltdb (#584) 2020-05-27 17:24:34 +01:00
intermediate_data_len_api.go Mgr schedule iterator (#566) 2020-05-28 12:33:05 +01:00
intermediate_hash_api.go [WIP] add incarnation to IH, remove tombstones from IH (#461) 2020-04-16 14:42:25 +07:00
remote_db_api.go ethdb.KV interface - pase 2 (#420) 2020-04-04 08:18:10 +01:00
remote_reader.go Fix RestAPI for tx_retrace and make it work for local boltdb (#584) 2020-05-27 17:24:34 +01:00
retrace_tx_api.go Fix RestAPI for tx_retrace and make it work for local boltdb (#584) 2020-05-27 17:24:34 +01:00
storage_api.go [WIP] 459 merge storage account (#466) 2020-04-19 20:51:32 +01:00