Introduce intermediate hashes stage (#634)
* Query progress * Run stage4 offline * More thorough resetState * Correct BlockNumber * Fix formatting * State loop * do every 200k blocks * Shift to 6.6m * Close dbs in tests * Stage2 with option of no reset * every 100k blocks * Reset state before stage5 * Introduce another stage * Check compile errors * Fix linter * Fix linter * Disable unreliable test * Fix test * Remove unreachable code
Showing
- cmd/hack/hack.go 77 additions, 18 deletionscmd/hack/hack.go
- consensus/ethash/sealer_test.go 1 addition, 0 deletionsconsensus/ethash/sealer_test.go
- eth/stagedsync/stage_execute.go 4 additions, 1 deletioneth/stagedsync/stage_execute.go
- eth/stagedsync/stage_hashstate.go 5 additions, 7 deletionseth/stagedsync/stage_hashstate.go
- eth/stagedsync/stage_hashstate_test.go 9 additions, 2 deletionseth/stagedsync/stage_hashstate_test.go
- eth/stagedsync/stage_headers.go 4 additions, 2 deletionseth/stagedsync/stage_headers.go
- eth/stagedsync/stage_interhashes.go 44 additions, 0 deletionseth/stagedsync/stage_interhashes.go
- eth/stagedsync/stagedsync.go 11 additions, 4 deletionseth/stagedsync/stagedsync.go
- eth/stagedsync/stages/stages.go 2 additions, 1 deletioneth/stagedsync/stages/stages.go
Loading
Please register or sign in to comment