mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-03 09:37:38 +00:00
e4f495fa44
* 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>
46 lines
810 B
Protocol Buffer
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;
|
|
} |