erigon-pulse/interfaces
ledgerwatch 835b954f5c
State stream to RPC daemon (#1986)
* Remove interfaces

* Squashed 'interfaces/' content from commit e06631eb4

git-subtree-dir: interfaces
git-subtree-split: e06631eb4d0926c2d6a4f552497b920b4ed8d1bd

* Update KV interface

* Squashed 'interfaces/' changes from e06631eb4..014677ffe

014677ffe Merge remote-tracking branch 'origin/master' into stream
08c32a09e add version method to txPool and ethbackend
5b6bf70b9 Update README.md
7712cb267 Update README.md
f895ece4c save (#37)

git-subtree-dir: interfaces
git-subtree-split: 014677ffe5bff0dee1a333f06c92e6110d791468

* Fix old interfaces

* Squashed 'interfaces/' changes from 014677ffe..df31e1146

df31e1146 remove action from storage change

git-subtree-dir: interfaces
git-subtree-split: df31e1146c368eda2e2b15ab252b78fba7a0a6f3

* add Accumulator

* add location

* Squashed 'interfaces/' changes from df31e1146..472584639

472584639 Merge remote-tracking branch 'origin/master' into stream
dd6a42724 Refactor of consensus interface (#28)

git-subtree-dir: interfaces
git-subtree-split: 472584639f637189dfb906ef1ed03665f98d55d2

* Fix compilation in cons

* Pass accumulator to Execution stage

* Fix test

* Pass accumulator to unwind and plain writer

* Add accumulator use to plain writer

* Squashed 'interfaces/' changes from 472584639f..5c36f038b8

5c36f038b8 State change stream to KV (#38)
REVERT: 472584639f Merge remote-tracking branch 'origin/master' into stream
REVERT: df31e1146c remove action from storage change
REVERT: 014677ffe5 Merge remote-tracking branch 'origin/master' into stream
REVERT: e06631eb4d Fix
REVERT: 9c10d79d2d Fix
REVERT: 61ae9307de Fix
REVERT: 4fcf34ecc5 State change stream to KV

git-subtree-dir: interfaces
git-subtree-split: 5c36f038b87096ffb6b07e90c6762c21b864cd3b

* Add state.stream flag

Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2021-05-23 15:53:18 +01:00
..
.github/workflows Remove interfaces from root (#1951) 2021-05-17 20:28:50 +07:00
consensus_engine Check version of remote services (#1989) 2021-05-22 11:00:13 +01:00
p2psentry Remove interfaces from root (#1951) 2021-05-17 20:28:50 +07:00
remote State stream to RPC daemon (#1986) 2021-05-23 15:53:18 +01:00
snapshot_downloader Remove interfaces from root (#1951) 2021-05-17 20:28:50 +07:00
src Remove interfaces from root (#1951) 2021-05-17 20:28:50 +07:00
testing Remove interfaces from root (#1951) 2021-05-17 20:28:50 +07:00
txpool Check version of remote services (#1989) 2021-05-22 11:00:13 +01:00
types Remove interfaces from root (#1951) 2021-05-17 20:28:50 +07:00
.gitignore Remove interfaces from root (#1951) 2021-05-17 20:28:50 +07:00
build.rs Check version of remote services (#1989) 2021-05-22 11:00:13 +01:00
Cargo.toml Remove interfaces from root (#1951) 2021-05-17 20:28:50 +07:00
LICENSE Remove interfaces from root (#1951) 2021-05-17 20:28:50 +07:00
README.md Check version of remote services (#1989) 2021-05-22 11:00:13 +01:00
turbo-geth-architecture.png Remove interfaces from root (#1951) 2021-05-17 20:28:50 +07:00
turbo-geth.drawio Remove interfaces from root (#1951) 2021-05-17 20:28:50 +07:00

Interfaces

Interfaces for turbo-geth components. Currently it is a collection of .proto files describing gRPC interfaces between components, but later documentation about each interface, its components, as well as required version of gRPC will be added

What's in this repo

  • Protobuf definitions
  • Wrappers:
    • Rust crate with autogenerated client and server based on Tonic

NOTE: You are free to ignore provided wrappers and use the .proto files directly

Suggested integration into other repositories

git subtree add --prefix interfaces --squash https://github.com/ledgerwatch/interfaces master

When you need to update the subtree to a specific commit or tag, you can use these commands:

git rm -rf interfaces
git commit -m"Remove interfaces for replacement"
git subtree add --prefix interfaces --squash https://github.com/ledgerwatch/interfaces <tag_or_commit>

Unfortunately git subtree pull does not work if we use Squash-Merge for pull requests in this repository and also automatically delete merged branches.