[wip] dv2: Validate body (#1913)
* validate body * validate body * save * save * body deliveries messages handling into staged sync * body deliveries messages handling into staged sync * body deliveries messages handling into staged sync * body deliveries messages handling into staged sync * body deliveries messages handling into staged sync * penalize right after verifyUncles and stop, don't batch * penalize right after verifyUncles and stop, don't batch * penalize right after verifyUncles and stop, don't batch * penalize right after verifyUncles and stop, don't batch * penalize right after verifyUncles and stop, don't batch * penalize right after verifyUncles and stop, don't batch * penalize right after verifyUncles and stop, don't batch * penalize right after verifyUncles and stop, don't batch * penalize right after verifyUncles and stop, don't batch
Showing
- cmd/headers/download/downloader.go 11 additions, 37 deletionscmd/headers/download/downloader.go
- cmd/headers/download/sentry_api.go 11 additions, 5 deletionscmd/headers/download/sentry_api.go
- cmd/integration/commands/state_stages.go 1 addition, 1 deletioncmd/integration/commands/state_stages.go
- consensus/clique/clique.go 2 additions, 2 deletionsconsensus/clique/clique.go
- consensus/consensus.go 3 additions, 1 deletionconsensus/consensus.go
- consensus/ethash/consensus.go 12 additions, 12 deletionsconsensus/ethash/consensus.go
- consensus/ethash/fake.go 8 additions, 8 deletionsconsensus/ethash/fake.go
- core/block_validator_test.go 2 additions, 2 deletionscore/block_validator_test.go
- core/chain_makers.go 1 addition, 0 deletionscore/chain_makers.go
- core/rawdb/accessors_chain.go 10 additions, 10 deletionscore/rawdb/accessors_chain.go
- eth/handler.go 1 addition, 1 deletioneth/handler.go
- eth/stagedsync/stage_bodies_new.go 28 additions, 4 deletionseth/stagedsync/stage_bodies_new.go
- eth/stagedsync/stage_headers.go 8 additions, 3 deletionseth/stagedsync/stage_headers.go
- eth/stagedsync/stage_mining_create_block.go 4 additions, 4 deletionseth/stagedsync/stage_mining_create_block.go
- eth/stagedsync/stage_mining_finish.go 1 addition, 1 deletioneth/stagedsync/stage_mining_finish.go
- eth/stagedsync/stagebuilder.go 2 additions, 2 deletionseth/stagedsync/stagebuilder.go
- turbo/adapter/chain_context.go 1 addition, 1 deletionturbo/adapter/chain_context.go
- turbo/stages/bodydownload/body_algos.go 98 additions, 46 deletionsturbo/stages/bodydownload/body_algos.go
- turbo/stages/bodydownload/body_data_struct.go 13 additions, 4 deletionsturbo/stages/bodydownload/body_data_struct.go
- turbo/stages/bodydownload/body_test.go 2 additions, 1 deletionturbo/stages/bodydownload/body_test.go
Loading
Please register or sign in to comment