mirror of
https://github.com/fluencelabs/tendermint
synced 2025-04-25 06:42:16 +00:00
[.editorconfig] add rule for .proto files [ci skip]
This commit is contained in:
parent
7a492e3612
commit
5fea1d2675
@ -13,3 +13,7 @@ indent_style = tab
|
|||||||
|
|
||||||
[*.sh]
|
[*.sh]
|
||||||
indent_style = tab
|
indent_style = tab
|
||||||
|
|
||||||
|
[*.proto]
|
||||||
|
indent_style = space
|
||||||
|
indent_size = 2
|
||||||
|
@ -10,20 +10,20 @@ import "github.com/tendermint/abci/types/types.proto";
|
|||||||
// Request types
|
// Request types
|
||||||
|
|
||||||
message RequestBroadcastTx {
|
message RequestBroadcastTx {
|
||||||
bytes tx = 1;
|
bytes tx = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
//----------------------------------------
|
//----------------------------------------
|
||||||
// Response types
|
// Response types
|
||||||
|
|
||||||
message ResponseBroadcastTx{
|
message ResponseBroadcastTx{
|
||||||
types.ResponseCheckTx check_tx = 1;
|
types.ResponseCheckTx check_tx = 1;
|
||||||
types.ResponseDeliverTx deliver_tx = 2;
|
types.ResponseDeliverTx deliver_tx = 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
//----------------------------------------
|
//----------------------------------------
|
||||||
// Service Definition
|
// Service Definition
|
||||||
|
|
||||||
service BroadcastAPI {
|
service BroadcastAPI {
|
||||||
rpc BroadcastTx(RequestBroadcastTx) returns (ResponseBroadcastTx) ;
|
rpc BroadcastTx(RequestBroadcastTx) returns (ResponseBroadcastTx) ;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user