erigon-pulse/interfaces
ledgerwatch df95313a31
Add blockGasLimit to the state stream (#261)
* Remove interfaces for replacement

* Squashed 'interfaces/' content from commit eff9f8f

git-subtree-dir: interfaces
git-subtree-split: eff9f8f7273dda7c78575f2474e3103da61825db

* Add blockGasLimit to the state stream

* Pass blockGasLimit into txpool

* Add NotTooMuchGas bit, refactored promote

* Replace effectiveTip with minTip in the queues and slices

* Fix lint

* Refactor

* Improve terminology of ordering function

* Optimise baseFee change

* cleanup

* Safe operations

* Fix UnsafeAdd

* also print pendingBaseFee

* trace txpool_content

* trace txpool_content

* user sender ID inverted index to speed up txpool_content

* copy rlp from Db

* remove debug printing

* change from string to []byte

* safe storage of sender in the map

* Fix compile

* safe storage of sender in the map

* Print errors

* Prints

* Prints

* Prints

* Change worst function

* Change worst function

* Change worst function

* Change worst function

* Fix minTip

* Fix minTip

* Warn on db error, but not stop

* Fix interface

* More prints

* Cleanup

* Cleanup

* Differentiate baseFee pool

* Bump version of remove KV interface

* Not print every block

* Not print every block

Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-01-25 10:20:11 +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 blockGasLimit to the state stream (#261) 2022-01-25 10:20:11 +00:00
src Snapshot: Txn lookup (#224) 2022-01-07 17:14:21 +07: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 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