syntax = "proto3";
|
|
package core_grpc;
|
|
|
|
import "github.com/tendermint/tmsp/types/types.proto";
|
|
|
|
//----------------------------------------
|
|
// Message types
|
|
|
|
//----------------------------------------
|
|
// Request types
|
|
|
|
message RequestBroadcastTx {
|
|
bytes tx = 1;
|
|
}
|
|
|
|
//----------------------------------------
|
|
// Response types
|
|
|
|
message ResponseBroadcastTx{
|
|
types.ResponseCheckTx check_tx = 1;
|
|
types.ResponseAppendTx append_tx = 2;
|
|
}
|
|
|
|
//----------------------------------------
|
|
// Service Definition
|
|
|
|
service BroadcastAPI {
|
|
rpc BroadcastTx(RequestBroadcastTx) returns (ResponseBroadcastTx) ;
|
|
}
|