Correct forkID computation in sentry, use blocks prefetched by NewBlockPacket,...
Correct forkID computation in sentry, use blocks prefetched by NewBlockPacket, Fix NaN delivery speed output (#1596)
* Use proper forkID
* Remove NaN from Write block bodies messages
* Move Prefetched blocks
Co-authored-by:
Alexey Sharp <alexeysharp@Alexeys-iMac.local>
Showing
- cmd/headers/download/downloader.go 6 additions, 2 deletionscmd/headers/download/downloader.go
- cmd/headers/download/sentry.go 2 additions, 2 deletionscmd/headers/download/sentry.go
- core/forkid/forkid.go 7 additions, 14 deletionscore/forkid/forkid.go
- eth/downloader/downloader_stagedsync.go 2 additions, 1 deletioneth/downloader/downloader_stagedsync.go
- eth/stagedsync/stage_bodies.go 2 additions, 1 deletioneth/stagedsync/stage_bodies.go
- eth/stagedsync/stagebuilder.go 2 additions, 1 deletioneth/stagedsync/stagebuilder.go
- eth/stagedsync/stagedsync.go 3 additions, 2 deletionseth/stagedsync/stagedsync.go
- eth/stagedsync/types.go 3 additions, 1 deletioneth/stagedsync/types.go
- turbo/stages/bodydownload/body_algos.go 23 additions, 6 deletionsturbo/stages/bodydownload/body_algos.go
- turbo/stages/bodydownload/body_data_struct.go 2 additions, 0 deletionsturbo/stages/bodydownload/body_data_struct.go
- turbo/stages/bodydownload/prefetched_blocks.go 1 addition, 1 deletionturbo/stages/bodydownload/prefetched_blocks.go
Loading
Please register or sign in to comment