ledgerwatch
810cf13bf8
Explicit incarnation map in the database for deleted contracts ( #578 )
...
* Explicit map of incarnations
* Fix linter
2020-05-26 13:27:21 +01:00
ledgerwatch
6d883b5350
Fix staged sync issue introduced by LRU caches ( #568 )
...
* readPlainAccount
* readPlainAccount
* Try to disable accountCache
* Try to not separate changeBatch
* The actual fix
?
* Move to fastcache, include incarnation
* Fix linter
* Fix linter
* Disable caches
* Fix linter
* Reenable all except storage cache
* Cosmetics
* Disable account cache
* Disable code size cache
* Fix code caching
* Apply the same fix to db_state_writer
2020-05-22 16:11:00 +01:00
ledgerwatch
e2848ac666
Staged exec: RLU cache between StateReader and StateWriter, separate batches for state and changesets ( #542 )
...
* Add cpu profiling
* Splt state and change batches
* Log commits
* Remove
* Log memory
* Add lru caches for staged execution
* Fix
* Fix for nil account
* Fix linter
* Fix linter
* Increase state batch size
* Add memory profiling over http
* Reduce cache sizes
* Fix storage cache
* Fix
* Fix
* Fix
* Fix
* Cleanup
* Fix linter
* Reduce logging
* Reduce logging
2020-05-21 13:27:52 +01:00
Igor Mandrigin
fd77eaf86a
Staged Sync: Execution phase should use "plain state" ( #548 )
...
* introduce PlainStateReader with fallbacks
* no 10.000 changes in tests
* even less iterations
* remove even more iterations
* add `go run ./cmd/geth --syncmode staged --plainstate` flag
* fix serialization calls
* make a more sensible file default
doesn’t affect anything, because this flag is always overriden when parsing CLI. but still.
2020-05-15 08:52:45 +01:00