erigon-pulse/interfaces
Alex Sharov 14c15cba43
Check version of remote services (#1989)
* save

* save

* Squashed 'interfaces/' content from commit 08c32a09e

git-subtree-dir: interfaces
git-subtree-split: 08c32a09e40b1e6fcb5922e723191c9477545356

* Revert "Squashed 'interfaces/' content from commit 08c32a09e"

This reverts commit 8393d9fd

* save

* seve

* Squashed 'interfaces/' content from commit dd6a42724

git-subtree-dir: interfaces
git-subtree-split: dd6a42724401f34c21662ca1aa1718effb92320d

* ensure versions compatibility of all remote services

* Revert "Squashed 'interfaces/' content from commit dd6a42724"

This reverts commit 2a764bf9

* Squashed 'interfaces/' content from commit dd6a42724

git-subtree-dir: interfaces
git-subtree-split: dd6a42724401f34c21662ca1aa1718effb92320d

* Revert "Squashed 'interfaces/' content from commit dd6a42724"

This reverts commit 52621846

* Squashed 'interfaces/' content from commit dd6a42724

git-subtree-dir: interfaces
git-subtree-split: dd6a42724401f34c21662ca1aa1718effb92320d

* a

* a

* a

* a

* a

Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2021-05-22 11:00:13 +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 Check version of remote services (#1989) 2021-05-22 11:00:13 +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.