erigon-pulse/turbo
Igor Mandrigin 393c9965ae
rpcdaemon: subscriptions, newHeads (#1359)
* fix `make grpc` on new checkouts

* update proto files

* add some stub

* prototype with fake events

* notifying about events

* pass events

* events are being sent

* transfer headers to filters

* create the “filters” struct

* implement new heads

* PoC of New Heads subscription

* fix keep alive

* fixups for the client

* add “type” to the event

* support header event type on client

* better stage refactor

* fixup for the eth backend

* fixups

* fix tests

* fix tests

* fix linters

* address comments

* remove unused log
2020-11-17 19:13:41 +00:00
..
adapter Protect from wrong class use: make ethdb.Tx incompatible with rawdb.DatabaseReader (#1288) 2020-10-24 09:09:20 +01:00
cli Remote snapshot downloader (#1343) 2020-11-13 16:16:47 +00:00
node Refactor flags + fix logs (#1306) 2020-10-27 16:53:49 +01:00
rlphacks move ./trie to ./turbo/trie (#1114) 2020-09-14 11:33:39 +01:00
rpchelper rawdb to return errors: part 1 (#1286) 2020-10-24 07:57:09 +01:00
shards Sharded state experiment based on call_traces stage run via integration (#1329) 2020-10-31 11:51:56 +00:00
snapshotsync rpcdaemon: subscriptions, newHeads (#1359) 2020-11-17 19:13:41 +00:00
stages [WIP] Integrate header download with stage 1 (saving headers to the database) (#1330) 2020-11-02 21:09:12 +00:00
transactions rpcdaemon: read chainConfig from the DB (remove hardcode) (#1339) 2020-11-08 06:46:53 +01:00
trie Method delete to accept second param: allow delete dupsort values (#1297) 2020-10-29 13:19:31 +00: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