erigon-pulse/interfaces
Alex Sharov bb6dfef7c8
add downloader.proto (#206)
* Remove interfaces for replacement

* Squashed 'interfaces/' content from commit be07fc9

git-subtree-dir: interfaces
git-subtree-split: be07fc99183a7cef1ca08961033bdb917d85d9b5

* save

* Remove interfaces for replacement

* Squashed 'interfaces/' content from commit be07fc9

git-subtree-dir: interfaces
git-subtree-split: be07fc99183a7cef1ca08961033bdb917d85d9b5

* Remove interfaces for replacement

* Squashed 'interfaces/' content from commit 23d68fd

git-subtree-dir: interfaces
git-subtree-split: 23d68fda86c3a2c322e7b430c817b06b6f6ca311

* Remove interfaces for replacement

* Squashed 'interfaces/' content from commit 500dde8

git-subtree-dir: interfaces
git-subtree-split: 500dde8293c0a12d19d94b5ff633722a03d7fc4e

* save

* Remove interfaces for replacement

* Squashed 'interfaces/' content from commit e5b1945

git-subtree-dir: interfaces
git-subtree-split: e5b1945d02da7a7f00e2289034ee90a6edd60184

* save

* Remove interfaces for replacement

* Squashed 'interfaces/' content from commit f36d878

git-subtree-dir: interfaces
git-subtree-split: f36d878080fe018a41fb903f81fc8f8ac9981cbd

* save

* save

* save
2021-12-14 13:33:32 +00:00
..
_docs Merge commit '45d57d7b147869d12cdcf5dc8693ba80a1842b66' as 'interfaces' 2021-08-16 08:58:49 +07:00
.github/workflows Merge commit '45d57d7b147869d12cdcf5dc8693ba80a1842b66' as 'interfaces' 2021-08-16 08:58:49 +07:00
consensus_engine Merge commit '45d57d7b147869d12cdcf5dc8693ba80a1842b66' as 'interfaces' 2021-08-16 08:58:49 +07:00
downloader add downloader.proto (#206) 2021-12-14 13:33:32 +00:00
p2psentry Add nodeInfo GRPC methods (#196) 2021-11-30 14:41:31 +00:00
remote Add nodeInfo GRPC methods (#196) 2021-11-30 14:41:31 +00:00
src Pool: switch to PendingBaseFee (#90) 2021-09-26 19:47:11 +07:00
testing Merge commit '45d57d7b147869d12cdcf5dc8693ba80a1842b66' as 'interfaces' 2021-08-16 08:58:49 +07:00
txpool txpool.Pending() method, which preserve ready-for-mining order (#172) 2021-11-17 17:23:51 +07:00
types Add nodeInfo GRPC methods (#196) 2021-11-30 14:41:31 +00:00
web3 Pool: switch to PendingBaseFee (#90) 2021-09-26 19:47:11 +07:00
.gitignore Merge commit '45d57d7b147869d12cdcf5dc8693ba80a1842b66' as 'interfaces' 2021-08-16 08:58:49 +07:00
build.rs add downloader.proto (#206) 2021-12-14 13:33:32 +00:00
Cargo.toml grpc GetBlock api (#159) 2021-11-14 11:08:45 +07:00
db_tables.toml Add nodeInfo GRPC methods (#196) 2021-11-30 14:41:31 +00:00
LICENSE Merge commit '45d57d7b147869d12cdcf5dc8693ba80a1842b66' as 'interfaces' 2021-08-16 08:58:49 +07:00
README.md Merge commit '45d57d7b147869d12cdcf5dc8693ba80a1842b66' as 'interfaces' 2021-08-16 08:58:49 +07:00
turbo-geth-architecture.png Merge commit '45d57d7b147869d12cdcf5dc8693ba80a1842b66' as 'interfaces' 2021-08-16 08:58:49 +07:00
turbo-geth.drawio Merge commit '45d57d7b147869d12cdcf5dc8693ba80a1842b66' as 'interfaces' 2021-08-16 08:58:49 +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