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
No known key found for this signature in database
GPG Key ID: 19811391D676EE45
19 changed files with
38 additions and
0 deletions
-
proto/tendermint/blocksync/types.proto
-
proto/tendermint/consensus/types.proto
-
proto/tendermint/consensus/wal.proto
-
proto/tendermint/crypto/keys.proto
-
proto/tendermint/crypto/proof.proto
-
proto/tendermint/libs/bits/types.proto
-
proto/tendermint/mempool/types.proto
-
proto/tendermint/p2p/conn.proto
-
proto/tendermint/p2p/pex.proto
-
proto/tendermint/p2p/types.proto
-
proto/tendermint/statesync/types.proto
-
proto/tendermint/types/block.proto
-
proto/tendermint/types/canonical.proto
-
proto/tendermint/types/events.proto
-
proto/tendermint/types/evidence.proto
-
proto/tendermint/types/params.proto
-
proto/tendermint/types/types.proto
-
proto/tendermint/types/validator.proto
-
proto/tendermint/version/types.proto
|
|
@ -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 |
|
|
|
|
|
@ -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"; |
|
|
|
|
|
@ -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"; |
|
|
|
|
|
@ -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 |
|
|
|
|
|
@ -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 { |
|
|
|
|
|
@ -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; |
|
|
|
|
|
@ -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; |
|
|
|
} |
|
|
|
|
|
@ -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"; |
|
|
|
|
|
|
|
|
|
@ -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 { |
|
|
|
|
|
@ -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"; |
|
|
|
|
|
|
|
|
|
@ -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"; |
|
|
|
|
|
@ -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"; |
|
|
|
|
|
@ -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"; |
|
|
|
|
|
@ -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; |
|
|
|
|
|
@ -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"; |
|
|
|
|
|
@ -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"; |
|
|
|
|
|
|
|
|
|
@ -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"; |
|
|
|
|
|
@ -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"; |
|
|
|
|
|
|
|
|
|
@ -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 |
|
|
|