Browse Source

Hard-code go_package option for .proto files

Signed-off-by: Thane Thomson <connect@thanethomson.com>
pull/7975/head
Thane Thomson 3 years ago
parent
commit
6a1a549f29
No known key found for this signature in database GPG Key ID: 19811391D676EE45
19 changed files with 38 additions and 0 deletions
  1. +2
    -0
      proto/tendermint/blocksync/types.proto
  2. +2
    -0
      proto/tendermint/consensus/types.proto
  3. +2
    -0
      proto/tendermint/consensus/wal.proto
  4. +2
    -0
      proto/tendermint/crypto/keys.proto
  5. +2
    -0
      proto/tendermint/crypto/proof.proto
  6. +2
    -0
      proto/tendermint/libs/bits/types.proto
  7. +2
    -0
      proto/tendermint/mempool/types.proto
  8. +2
    -0
      proto/tendermint/p2p/conn.proto
  9. +2
    -0
      proto/tendermint/p2p/pex.proto
  10. +2
    -0
      proto/tendermint/p2p/types.proto
  11. +2
    -0
      proto/tendermint/statesync/types.proto
  12. +2
    -0
      proto/tendermint/types/block.proto
  13. +2
    -0
      proto/tendermint/types/canonical.proto
  14. +2
    -0
      proto/tendermint/types/events.proto
  15. +2
    -0
      proto/tendermint/types/evidence.proto
  16. +2
    -0
      proto/tendermint/types/params.proto
  17. +2
    -0
      proto/tendermint/types/types.proto
  18. +2
    -0
      proto/tendermint/types/validator.proto
  19. +2
    -0
      proto/tendermint/version/types.proto

+ 2
- 0
proto/tendermint/blocksync/types.proto View File

@ -1,6 +1,8 @@
syntax = "proto3";
package tendermint.blocksync;
option go_package = "github.com/tendermint/tendermint/proto/tendermint/blocksync";
import "tendermint/types/block.proto";
// BlockRequest requests a block for a specific height


+ 2
- 0
proto/tendermint/consensus/types.proto View File

@ -1,6 +1,8 @@
syntax = "proto3";
package tendermint.consensus;
option go_package = "github.com/tendermint/tendermint/proto/tendermint/consensus";
import "gogoproto/gogo.proto";
import "tendermint/types/types.proto";
import "tendermint/libs/bits/types.proto";


+ 2
- 0
proto/tendermint/consensus/wal.proto View File

@ -1,6 +1,8 @@
syntax = "proto3";
package tendermint.consensus;
option go_package = "github.com/tendermint/tendermint/proto/tendermint/consensus";
import "gogoproto/gogo.proto";
import "tendermint/consensus/types.proto";
import "tendermint/types/events.proto";


+ 2
- 0
proto/tendermint/crypto/keys.proto View File

@ -1,6 +1,8 @@
syntax = "proto3";
package tendermint.crypto;
option go_package = "github.com/tendermint/tendermint/proto/tendermint/crypto";
import "gogoproto/gogo.proto";
// PublicKey defines the keys available for use with Tendermint Validators


+ 2
- 0
proto/tendermint/crypto/proof.proto View File

@ -1,6 +1,8 @@
syntax = "proto3";
package tendermint.crypto;
option go_package = "github.com/tendermint/tendermint/proto/tendermint/crypto";
import "gogoproto/gogo.proto";
message Proof {


+ 2
- 0
proto/tendermint/libs/bits/types.proto View File

@ -1,6 +1,8 @@
syntax = "proto3";
package tendermint.libs.bits;
option go_package = "github.com/tendermint/tendermint/proto/tendermint/libs/bits";
message BitArray {
int64 bits = 1;
repeated uint64 elems = 2;


+ 2
- 0
proto/tendermint/mempool/types.proto View File

@ -1,6 +1,8 @@
syntax = "proto3";
package tendermint.mempool;
option go_package = "github.com/tendermint/tendermint/proto/tendermint/mempool";
message Txs {
repeated bytes txs = 1;
}


+ 2
- 0
proto/tendermint/p2p/conn.proto View File

@ -1,6 +1,8 @@
syntax = "proto3";
package tendermint.p2p;
option go_package = "github.com/tendermint/tendermint/proto/tendermint/p2p";
import "gogoproto/gogo.proto";
import "tendermint/crypto/keys.proto";


+ 2
- 0
proto/tendermint/p2p/pex.proto View File

@ -1,6 +1,8 @@
syntax = "proto3";
package tendermint.p2p;
option go_package = "github.com/tendermint/tendermint/proto/tendermint/p2p";
import "gogoproto/gogo.proto";
message PexAddress {


+ 2
- 0
proto/tendermint/p2p/types.proto View File

@ -1,6 +1,8 @@
syntax = "proto3";
package tendermint.p2p;
option go_package = "github.com/tendermint/tendermint/proto/tendermint/p2p";
import "gogoproto/gogo.proto";
import "google/protobuf/timestamp.proto";


+ 2
- 0
proto/tendermint/statesync/types.proto View File

@ -1,6 +1,8 @@
syntax = "proto3";
package tendermint.statesync;
option go_package = "github.com/tendermint/tendermint/proto/tendermint/statesync";
import "gogoproto/gogo.proto";
import "tendermint/types/types.proto";
import "tendermint/types/params.proto";


+ 2
- 0
proto/tendermint/types/block.proto View File

@ -1,6 +1,8 @@
syntax = "proto3";
package tendermint.types;
option go_package = "github.com/tendermint/tendermint/proto/tendermint/types";
import "gogoproto/gogo.proto";
import "tendermint/types/types.proto";
import "tendermint/types/evidence.proto";


+ 2
- 0
proto/tendermint/types/canonical.proto View File

@ -1,6 +1,8 @@
syntax = "proto3";
package tendermint.types;
option go_package = "github.com/tendermint/tendermint/proto/tendermint/types";
import "gogoproto/gogo.proto";
import "tendermint/types/types.proto";
import "google/protobuf/timestamp.proto";


+ 2
- 0
proto/tendermint/types/events.proto View File

@ -1,6 +1,8 @@
syntax = "proto3";
package tendermint.types;
option go_package = "github.com/tendermint/tendermint/proto/tendermint/types";
message EventDataRoundState {
int64 height = 1;
int32 round = 2;


+ 2
- 0
proto/tendermint/types/evidence.proto View File

@ -1,6 +1,8 @@
syntax = "proto3";
package tendermint.types;
option go_package = "github.com/tendermint/tendermint/proto/tendermint/types";
import "gogoproto/gogo.proto";
import "google/protobuf/timestamp.proto";
import "tendermint/types/types.proto";


+ 2
- 0
proto/tendermint/types/params.proto View File

@ -1,6 +1,8 @@
syntax = "proto3";
package tendermint.types;
option go_package = "github.com/tendermint/tendermint/proto/tendermint/types";
import "gogoproto/gogo.proto";
import "google/protobuf/duration.proto";


+ 2
- 0
proto/tendermint/types/types.proto View File

@ -1,6 +1,8 @@
syntax = "proto3";
package tendermint.types;
option go_package = "github.com/tendermint/tendermint/proto/tendermint/types";
import "gogoproto/gogo.proto";
import "google/protobuf/timestamp.proto";
import "tendermint/crypto/proof.proto";


+ 2
- 0
proto/tendermint/types/validator.proto View File

@ -1,6 +1,8 @@
syntax = "proto3";
package tendermint.types;
option go_package = "github.com/tendermint/tendermint/proto/tendermint/types";
import "gogoproto/gogo.proto";
import "tendermint/crypto/keys.proto";


+ 2
- 0
proto/tendermint/version/types.proto View File

@ -1,6 +1,8 @@
syntax = "proto3";
package tendermint.version;
option go_package = "github.com/tendermint/tendermint/proto/tendermint/version";
import "gogoproto/gogo.proto";
// Consensus captures the consensus rules for processing a block in the


Loading…
Cancel
Save