[EIP-4399 2/3] Added total difficulty stage and transition logic (#2964)
* added diff stage * added td stage * improvements + more tests * added err check * added err check * transition raw interfaces * interface for transition * unwind updates * maybe this fix * now fixed? * fixes * better db-format * better db-format * sum and mod * sum and mod * fixed headers unwind
Showing
- cmd/integration/commands/stages.go 1 addition, 1 deletioncmd/integration/commands/stages.go
- core/rawdb/accessors_chain.go 31 additions, 0 deletionscore/rawdb/accessors_chain.go
- core/rawdb/accessors_chain_test.go 23 additions, 0 deletionscore/rawdb/accessors_chain_test.go
- eth/backend.go 1 addition, 1 deletioneth/backend.go
- eth/stagedsync/default_stages.go 14 additions, 0 deletionseth/stagedsync/default_stages.go
- eth/stagedsync/stage_difficulty.go 155 additions, 0 deletionseth/stagedsync/stage_difficulty.go
- eth/stagedsync/stage_difficulty_test.go 245 additions, 0 deletionseth/stagedsync/stage_difficulty_test.go
- eth/stagedsync/stage_headers.go 28 additions, 1 deletioneth/stagedsync/stage_headers.go
- eth/stagedsync/stages/stages.go 1 addition, 0 deletionseth/stagedsync/stages/stages.go
- go.mod 1 addition, 1 deletiongo.mod
- turbo/stages/headerdownload/header_algo_test.go 2 additions, 2 deletionsturbo/stages/headerdownload/header_algo_test.go
- turbo/stages/headerdownload/header_algos.go 16 additions, 7 deletionsturbo/stages/headerdownload/header_algos.go
- turbo/stages/mock_sentry.go 1 addition, 1 deletionturbo/stages/mock_sentry.go
- turbo/stages/stageloop.go 2 additions, 1 deletionturbo/stages/stageloop.go
Loading
Please register or sign in to comment