erigon-pulse/interfaces
Andrew Ashikhmin 2e162c70ba
Update Merge Engine API (Kiln v1) (#268)
* Remove interfaces for replacement

* Squashed 'interfaces/' content from commit 2daa726

git-subtree-dir: interfaces
git-subtree-split: 2daa72683ceaacfe0476005c11a6fc7b6d945780

* Update Merge Engine API

* Remove interfaces for replacement

* Squashed 'interfaces/' content from commit 0e25bcc

git-subtree-dir: interfaces
git-subtree-split: 0e25bcc642c90fcc63e12930032a7e0f2260e865

* Engine API updated

* Remove interfaces for replacement

* Squashed 'interfaces/' content from commit ee8057d

git-subtree-dir: interfaces
git-subtree-split: ee8057d3e8ab57059fac55434f3f55d189b00242

* Add INVALID_TERMINAL_BLOCK to EngineStatus

* Remove interfaces for replacement

* Squashed 'interfaces/' content from commit 50ece30

git-subtree-dir: interfaces
git-subtree-split: 50ece307faac31b7d7fe9cd06e11ed82c09064b9
2022-02-09 07:49:31 +01: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 Update Merge Engine API (Kiln v1) (#268) 2022-02-09 07:49:31 +01:00
src Update Merge Engine API (Kiln v1) (#268) 2022-02-09 07:49:31 +01:00
starknet Snapshot: Txn lookup (#224) 2022-01-07 17:14:21 +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 updated to latest merge spec (#217) 2021-12-27 18:59:32 +01:00
web3 Pool: switch to PendingBaseFee (#90) 2021-09-26 19:47:11 +07:00
.gitignore Snapshot: Txn lookup (#224) 2022-01-07 17:14:21 +07:00
build.rs Snapshot: Txn lookup (#224) 2022-01-07 17:14:21 +07:00
Cargo.toml Update Merge Engine API (Kiln v1) (#268) 2022-02-09 07:49:31 +01: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