erigon-pulse/interfaces
mempirate ca926ce94d
net_peerCount for remote sentries (#2192)
* net_peerCount for remote sentries

* cleanup

* Simplify NetPeerCount using SentryClient

* Refactor id -> count
2021-06-18 14:34:15 +01:00
..
_docs Nuke LMDB (#2167) 2021-06-16 13:57:58 +03: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 net_peerCount for remote sentries (#2192) 2021-06-18 14:34:15 +01:00
remote net_peerCount for remote sentries (#2192) 2021-06-18 14:34:15 +01:00
snapshot_downloader Remove interfaces from root (#1951) 2021-05-17 20:28:50 +07:00
src Tx pool proto up (#2170) 2021-06-15 17:59:55 +07:00
testing Remove interfaces from root (#1951) 2021-05-17 20:28:50 +07:00
txpool Tx pool proto up (#2170) 2021-06-15 17:59:55 +07: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 Tx pool proto up (#2170) 2021-06-15 17:59:55 +07:00
db_tables.toml Tx pool proto up (#2170) 2021-06-15 17:59:55 +07:00
LICENSE Remove interfaces from root (#1951) 2021-05-17 20:28:50 +07:00
README.md txpool_content (#2127) 2021-06-11 09:34:47 +01:00
turbo-geth-architecture.png txpool_content (#2127) 2021-06-11 09:34:47 +01:00
turbo-geth.drawio txpool_content (#2127) 2021-06-11 09:34:47 +01: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