Header download simplifications (#3106)
* Header download simplifications * Fixes * Reuse headerRaw for inserting into DB * Fix tests * Fix test * Revert to the loop in RequestMoreHeaders * Change Warn to Debug Co-authored-by:Alex Sharp <alexsharp@Alexs-MacBook-Pro.local> Co-authored-by:
Alexey Sharp <alexeysharp@Alexeys-iMac.local>
Showing
- cmd/sentry/download/downloader.go 8 additions, 5 deletionscmd/sentry/download/downloader.go
- eth/stagedsync/stage_headers.go 10 additions, 4 deletionseth/stagedsync/stage_headers.go
- turbo/stages/headerdownload/header_algo_test.go 5 additions, 2 deletionsturbo/stages/headerdownload/header_algo_test.go
- turbo/stages/headerdownload/header_algos.go 114 additions, 174 deletionsturbo/stages/headerdownload/header_algos.go
- turbo/stages/headerdownload/header_data_struct.go 2 additions, 0 deletionsturbo/stages/headerdownload/header_data_struct.go
Loading
Please register or sign in to comment