Browse Source

[.editorconfig] add rule for .proto files [ci skip]

pull/597/head
Anton Kaliaev 7 years ago
parent
commit
5fea1d2675
No known key found for this signature in database GPG Key ID: 7B6881D965918214
2 changed files with 8 additions and 4 deletions
  1. +4
    -0
      .editorconfig
  2. +4
    -4
      rpc/grpc/types.proto

+ 4
- 0
.editorconfig View File

@ -13,3 +13,7 @@ indent_style = tab
[*.sh]
indent_style = tab
[*.proto]
indent_style = space
indent_size = 2

+ 4
- 4
rpc/grpc/types.proto View File

@ -10,20 +10,20 @@ import "github.com/tendermint/abci/types/types.proto";
// Request types
message RequestBroadcastTx {
bytes tx = 1;
bytes tx = 1;
}
//----------------------------------------
// Response types
message ResponseBroadcastTx{
types.ResponseCheckTx check_tx = 1;
types.ResponseDeliverTx deliver_tx = 2;
types.ResponseCheckTx check_tx = 1;
types.ResponseDeliverTx deliver_tx = 2;
}
//----------------------------------------
// Service Definition
service BroadcastAPI {
rpc BroadcastTx(RequestBroadcastTx) returns (ResponseBroadcastTx) ;
rpc BroadcastTx(RequestBroadcastTx) returns (ResponseBroadcastTx) ;
}

Loading…
Cancel
Save