Go to file
alex.sharov f048b64318 Squashed 'interfaces/' content from commit 156e93e
git-subtree-dir: interfaces
git-subtree-split: 156e93ea05f776e36f89e0827d8e4ef77905bb79
2021-07-09 20:21:13 +07:00
_docs Squashed 'interfaces/' content from commit 156e93e 2021-07-09 20:21:13 +07:00
.github/workflows Squashed 'interfaces/' content from commit 156e93e 2021-07-09 20:21:13 +07:00
consensus_engine Squashed 'interfaces/' content from commit 156e93e 2021-07-09 20:21:13 +07:00
p2psentry Squashed 'interfaces/' content from commit 156e93e 2021-07-09 20:21:13 +07:00
remote Squashed 'interfaces/' content from commit 156e93e 2021-07-09 20:21:13 +07:00
snapshot_downloader Squashed 'interfaces/' content from commit 156e93e 2021-07-09 20:21:13 +07:00
src Squashed 'interfaces/' content from commit 156e93e 2021-07-09 20:21:13 +07:00
testing Squashed 'interfaces/' content from commit 156e93e 2021-07-09 20:21:13 +07:00
txpool Squashed 'interfaces/' content from commit 156e93e 2021-07-09 20:21:13 +07:00
types Squashed 'interfaces/' content from commit 156e93e 2021-07-09 20:21:13 +07:00
.gitignore Squashed 'interfaces/' content from commit 156e93e 2021-07-09 20:21:13 +07:00
build.rs Squashed 'interfaces/' content from commit 156e93e 2021-07-09 20:21:13 +07:00
Cargo.toml Squashed 'interfaces/' content from commit 156e93e 2021-07-09 20:21:13 +07:00
db_tables.toml Squashed 'interfaces/' content from commit 156e93e 2021-07-09 20:21:13 +07:00
LICENSE Squashed 'interfaces/' content from commit 156e93e 2021-07-09 20:21:13 +07:00
README.md Squashed 'interfaces/' content from commit 156e93e 2021-07-09 20:21:13 +07:00
turbo-geth-architecture.png Squashed 'interfaces/' content from commit 156e93e 2021-07-09 20:21:13 +07:00
turbo-geth.drawio Squashed 'interfaces/' content from commit 156e93e 2021-07-09 20:21:13 +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

See more info on the component and descriptions in Components

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.

Style guide

https://developers.google.com/protocol-buffers/docs/style