erigon-pulse/ethdb/remote/ethbackend.proto
Evgeny Danilenko 5d39fe8873
RPCDeamon coinbase, net_version (#911)
* use eth.backend

* net_version

* add coinbase to the console test
2020-08-12 14:47:59 +01:00

36 lines
626 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);
}
message TxRequest {
bytes signedtx = 1;
}
message AddReply {
bytes hash = 1;
}
message EtherbaseRequest {
}
message EtherbaseReply {
bytes hash = 1;
}
message NetVersionRequest {
}
message NetVersionReply {
uint64 id = 1;
}