mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-01 08:41:21 +00:00
daa359c363
* 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 |
||
---|---|---|
.. | ||
contracts | ||
change_set_writer.go | ||
database_test.go | ||
database_writer.go | ||
database.go | ||
db_state_reader.go | ||
db_state_writer.go | ||
dump.go | ||
helper.go | ||
history_test.go | ||
intermediate_hashes.go | ||
intra_block_state_test.go | ||
intra_block_state.go | ||
journal.go | ||
plain_state_reader.go | ||
plain_state_writer.go | ||
readonly.go | ||
state_object_test.go | ||
state_object.go | ||
state_test.go | ||
stateless.go |