erigon-pulse/ethdb/remote/ethbackend.proto
Evgeny Danilenko e4f495fa44
Get logs (#1028)
* it compiles

* after recent master

* fix linters warnings

* grpcV7

* go mod tidy

* unmarshall adresses or adress

* fix linters

* after cr

* after cr

* after cr

* after cr

* fix tests

* remove dev version

* it compiles

* mod tidy

* fix bin deps

* use stable version of grpc

* switch back to master constructor

* switch back to master constructor

* add a bit docs

* add a bit docs

Co-authored-by: Alexey Akhunov <akhounov@gmail.com>
Co-authored-by: alex.sharov <AskAlexSharov@gmail.com>
2020-09-03 08:51:19 +01:00

46 lines
810 B
Protocol Buffer

syntax = "proto3";
package remote;
option go_package = "./remote;remote";
option java_multiple_files = true;
option java_package = "io.turbo-geth.db";
option java_outer_classname = "ETHBACKEND";
service ETHBACKEND {
rpc Add(TxRequest) returns (AddReply);
rpc Etherbase(EtherbaseRequest) returns (EtherbaseReply);
rpc NetVersion(NetVersionRequest) returns (NetVersionReply);
rpc BloomStatus(BloomStatusRequest) returns (BloomStatusReply);
}
message TxRequest {
bytes signedtx = 1;
}
message AddReply {
bytes hash = 1;
}
message BloomStatusRequest {
}
message BloomStatusReply {
uint64 size = 1;
uint64 sections = 2;
bytes hash = 3;
}
message EtherbaseRequest {
}
message EtherbaseReply {
bytes hash = 1;
}
message NetVersionRequest {
}
message NetVersionReply {
uint64 id = 1;
}