erigon-pulse/turbo
b00ris 4ebade3583
Add sync by bittorrent snapshots (#1160)
* 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: alex.sharov <AskAlexSharov@gmail.com>
Co-authored-by: Alexey Akhunov <akhounov@gmail.com>
2020-10-06 20:24:48 +01:00
..
adapter Headers PoC - intermediate changes (#1016) 2020-08-31 06:27:51 +01:00
cli Add sync by bittorrent snapshots (#1160) 2020-10-06 20:24:48 +01:00
node Revert "pass_root_ctx_to_p2p_server (#1179)" (#1182) 2020-10-04 17:18:06 +01:00
rlphacks move ./trie to ./turbo/trie (#1114) 2020-09-14 11:33:39 +01:00
rpchelper Fixes issue #1103 (#1106) 2020-09-12 06:33:07 +01:00
stages/headerdownload Headers poc 5 - Intermediate (#1145) 2020-09-27 21:32:05 +01:00
torrent Add sync by bittorrent snapshots (#1160) 2020-10-06 20:24:48 +01:00
transactions eth_call to use current state when blockNumber == latest (#1180) 2020-10-04 09:01:06 +01:00
trie (related to lmdb assert) Avoid deleteCurrent on cursor which used for iterations (#1151) 2020-09-29 10:28:49 +01:00
README.md turbo-api: Add docs to some public structs, methods and fields (#1127) 2020-09-21 16:10:25 +02:00

Turbo-API

Turbo-API is a set of tools for building applications containing turbo-geth node.

Our own binary tg is built using it.

Modules

  • cli - turbo-cli, methods & helpers to run a CLI app with turbo-geth node.

  • node - represents an Ethereum node, running devp2p and sync and writing state to the database.

  • stagedsync - staged sync algorithm.

Examples

  • tg - our binary is using turbo-api with all defaults

  • tgcustom - a very simple example of adding a custom stage, a custom bucket and a custom command-line parameter

  • turbo-api-examples - a series of examples for turbo-geth api