Download/seed headers and block bodies via BitTorrent (#1195)
* save state * torrent experiments * torrent experiment passed * fixes after merge * snapshot headers processing passed * save state * save state * download headers works after snapshot processing * save state * save state * save state * save state * add lazy load tx to snapshots, increase number of trackers * save state * speedup getting info * change logging * move to turbo package * save state * save state * save state * cleanup * save state * add test test * save state * lmdb debugging * fix readonly mode * save state * fix build * sync works * save state * save state * save state * allow cmd stages stageSenders use snapshots * debugging failed hashing * remove experimental tests * remove torrent experimental tests * fix lint * extract snapshot wrapper * metainfo checker * add remote seeder * add logs * update gomod * remove useless code * fix lint&remove useless code * extract verify snapshot to separated command * skip debug test * fix test * change type of seedSnapshot flag * add eth logger to torrent lib * skip debug test * add Close method * review fixes * fix lint Co-authored-by:b00ris <b00ris@mail.ru> Co-authored-by:
alex.sharov <AskAlexSharov@gmail.com>
Showing
- cmd/integration/commands/flags.go 4 additions, 0 deletionscmd/integration/commands/flags.go
- cmd/integration/commands/root.go 6 additions, 1 deletioncmd/integration/commands/root.go
- cmd/integration/commands/stages.go 53 additions, 0 deletionscmd/integration/commands/stages.go
- cmd/state/commands/bodies_snapshot.go 21 additions, 0 deletionscmd/state/commands/bodies_snapshot.go
- cmd/state/commands/global_flags_vars.go 5 additions, 0 deletionscmd/state/commands/global_flags_vars.go
- cmd/state/commands/headers_snapshot.go 21 additions, 0 deletionscmd/state/commands/headers_snapshot.go
- cmd/state/commands/remote_seeder.go 22 additions, 0 deletionscmd/state/commands/remote_seeder.go
- cmd/state/commands/seeder.go 18 additions, 0 deletionscmd/state/commands/seeder.go
- cmd/state/commands/snapshot_metainfo.go 22 additions, 0 deletionscmd/state/commands/snapshot_metainfo.go
- cmd/state/commands/verify_headers_snapshot.go 22 additions, 0 deletionscmd/state/commands/verify_headers_snapshot.go
- cmd/state/generate/generate_body_snapshot.go 71 additions, 0 deletionscmd/state/generate/generate_body_snapshot.go
- cmd/state/generate/generate_header_snapshot.go 114 additions, 0 deletionscmd/state/generate/generate_header_snapshot.go
- cmd/state/generate/remote_seeder.go 52 additions, 0 deletionscmd/state/generate/remote_seeder.go
- cmd/state/generate/seeder.go 126 additions, 0 deletionscmd/state/generate/seeder.go
- cmd/state/generate/snapshot_metainfo_hash.go 26 additions, 0 deletionscmd/state/generate/snapshot_metainfo_hash.go
- cmd/state/verify/verify_headers_snapshot.go 54 additions, 0 deletionscmd/state/verify/verify_headers_snapshot.go
- cmd/utils/flags.go 22 additions, 1 deletioncmd/utils/flags.go
- common/dbutils/bucket.go 7 additions, 0 deletionscommon/dbutils/bucket.go
- eth/backend.go 25 additions, 0 deletionseth/backend.go
- eth/config.go 3 additions, 0 deletionseth/config.go
Loading
Please register or sign in to comment