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
Showing
- cmd/hack/hack.go 19 additions, 0 deletionscmd/hack/hack.go
- core/state/db_state_reader.go 52 additions, 56 deletionscore/state/db_state_reader.go
- core/state/db_state_writer.go 35 additions, 22 deletionscore/state/db_state_writer.go
- core/state/plain_state_reader.go 49 additions, 58 deletionscore/state/plain_state_reader.go
- core/state/plain_state_writer.go 34 additions, 33 deletionscore/state/plain_state_writer.go
- eth/downloader/stagedsync_stage_execute.go 6 additions, 6 deletionseth/downloader/stagedsync_stage_execute.go
Loading
Please register or sign in to comment