refactor stagedsync unwind, add tests(#636)
* some stubs * post rebase * fixups * linter * linter 2 * Update stages.go
Showing
- eth/downloader/downloader.go 20 additions, 9 deletionseth/downloader/downloader.go
- eth/downloader/downloader_stagedsync.go 23 additions, 5 deletionseth/downloader/downloader_stagedsync.go
- eth/stagedsync/stage.go 31 additions, 2 deletionseth/stagedsync/stage.go
- eth/stagedsync/stage_bodies.go 5 additions, 20 deletionseth/stagedsync/stage_bodies.go
- eth/stagedsync/stage_hashstate.go 6 additions, 16 deletionseth/stagedsync/stage_hashstate.go
- eth/stagedsync/stage_hashstate_test.go 3 additions, 1 deletioneth/stagedsync/stage_hashstate_test.go
- eth/stagedsync/stage_headers.go 5 additions, 53 deletionseth/stagedsync/stage_headers.go
- eth/stagedsync/stage_interhashes.go 2 additions, 13 deletionseth/stagedsync/stage_interhashes.go
- eth/stagedsync/stagedsync.go 39 additions, 48 deletionseth/stagedsync/stagedsync.go
- eth/stagedsync/stages/stages.go 3 additions, 28 deletionseth/stagedsync/stages/stages.go
- eth/stagedsync/state.go 109 additions, 19 deletionseth/stagedsync/state.go
- eth/stagedsync/state_test.go 560 additions, 0 deletionseth/stagedsync/state_test.go
- eth/stagedsync/types.go 2 additions, 2 deletionseth/stagedsync/types.go
- eth/stagedsync/unwind.go 72 additions, 0 deletionseth/stagedsync/unwind.go
- eth/stagedsync/unwind_test.go 191 additions, 0 deletionseth/stagedsync/unwind_test.go
Loading
Please register or sign in to comment