Browse Source

proto: folder structure adhere to buf (#5025)

pull/5039/head
Marko 5 years ago
committed by GitHub
parent
commit
dedf0d2350
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
161 changed files with 2268 additions and 2250 deletions
  1. +0
    -2
      .gitignore
  2. +9
    -0
      .vscode/settings.json
  3. +2
    -0
      CHANGELOG_PENDING.md
  4. +9
    -0
      UPGRADING.md
  5. +1
    -1
      abci/cmd/abci-cli/abci-cli.go
  6. +1
    -1
      abci/example/kvstore/kvstore_test.go
  7. +1
    -1
      abci/example/kvstore/persistent_kvstore.go
  8. +1128
    -1130
      abci/types/abci.pb.go
  9. +1
    -1
      abci/types/messages_test.go
  10. +1
    -1
      blockchain/msgs.go
  11. +1
    -1
      blockchain/msgs_test.go
  12. +1
    -1
      blockchain/v0/reactor.go
  13. +1
    -1
      blockchain/v1/reactor.go
  14. +1
    -1
      blockchain/v1/reactor_test.go
  15. +1
    -1
      blockchain/v2/io.go
  16. +1
    -1
      blockchain/v2/reactor.go
  17. +1
    -1
      blockchain/v2/reactor_test.go
  18. +4
    -4
      buf.yaml
  19. +1
    -1
      consensus/byzantine_test.go
  20. +1
    -1
      consensus/common_test.go
  21. +2
    -2
      consensus/msgs.go
  22. +2
    -2
      consensus/msgs_test.go
  23. +2
    -2
      consensus/reactor.go
  24. +1
    -1
      consensus/reactor_test.go
  25. +1
    -1
      consensus/replay_stubs.go
  26. +2
    -2
      consensus/replay_test.go
  27. +1
    -1
      consensus/state.go
  28. +1
    -1
      consensus/state_test.go
  29. +1
    -1
      consensus/types/height_vote_set.go
  30. +1
    -1
      consensus/types/height_vote_set_test.go
  31. +1
    -1
      consensus/wal.go
  32. +1
    -1
      crypto/encoding/codec.go
  33. +1
    -1
      crypto/merkle/proof.go
  34. +1
    -1
      crypto/merkle/proof_op.go
  35. +1
    -1
      crypto/merkle/proof_test.go
  36. +1
    -1
      crypto/merkle/proof_value.go
  37. +3
    -2
      docs/architecture/adr-055-protobuf-design.md
  38. +1
    -1
      evidence/pool.go
  39. +1
    -1
      evidence/pool_test.go
  40. +2
    -2
      evidence/reactor.go
  41. +1
    -1
      libs/bits/bit_array.go
  42. +1
    -1
      light/helpers_test.go
  43. +1
    -1
      light/store/db/db.go
  44. +1
    -1
      p2p/conn/connection.go
  45. +2
    -2
      p2p/conn/connection_test.go
  46. +1
    -1
      p2p/conn/evil_secret_connection_test.go
  47. +1
    -1
      p2p/conn/secret_connection.go
  48. +1
    -1
      p2p/netaddress.go
  49. +1
    -1
      p2p/node_info.go
  50. +1
    -1
      p2p/pex/pex_reactor.go
  51. +1
    -1
      p2p/pex/pex_reactor_test.go
  52. +1
    -1
      p2p/transport.go
  53. +1
    -1
      p2p/transport_test.go
  54. +1
    -1
      privval/file.go
  55. +1
    -1
      privval/file_test.go
  56. +1
    -1
      privval/messages.go
  57. +1
    -1
      privval/retry_signer_client.go
  58. +2
    -2
      privval/signer_client.go
  59. +2
    -2
      privval/signer_client_test.go
  60. +1
    -1
      privval/signer_endpoint.go
  61. +1
    -1
      privval/signer_listener_endpoint.go
  62. +1
    -1
      privval/signer_requestHandler.go
  63. +1
    -1
      privval/signer_server.go
  64. +6
    -6
      proto/tendermint/abci/abci.proto
  65. +35
    -35
      proto/tendermint/blockchain/msgs.pb.go
  66. +2
    -2
      proto/tendermint/blockchain/msgs.proto
  67. +71
    -71
      proto/tendermint/consensus/msgs.pb.go
  68. +4
    -4
      proto/tendermint/consensus/msgs.proto
  69. +47
    -46
      proto/tendermint/consensus/walmsgs.pb.go
  70. +4
    -4
      proto/tendermint/consensus/walmsgs.proto
  71. +22
    -21
      proto/tendermint/crypto/keys/types.pb.go
  72. +2
    -2
      proto/tendermint/crypto/keys/types.proto
  73. +34
    -33
      proto/tendermint/crypto/merkle/types.pb.go
  74. +2
    -2
      proto/tendermint/crypto/merkle/types.proto
  75. +23
    -23
      proto/tendermint/evidence/msgs.pb.go
  76. +3
    -3
      proto/tendermint/evidence/msgs.proto
  77. +16
    -16
      proto/tendermint/libs/bits/types.pb.go
  78. +1
    -1
      proto/tendermint/libs/bits/types.proto
  79. +37
    -37
      proto/tendermint/p2p/conn_msgs.pb.go
  80. +3
    -3
      proto/tendermint/p2p/conn_msgs.proto
  81. +25
    -26
      proto/tendermint/p2p/pex_msgs.pb.go
  82. +3
    -3
      proto/tendermint/p2p/pex_msgs.proto
  83. +39
    -39
      proto/tendermint/p2p/types.pb.go
  84. +2
    -2
      proto/tendermint/p2p/types.proto
  85. +56
    -57
      proto/tendermint/privval/msgs.pb.go
  86. +4
    -4
      proto/tendermint/privval/msgs.proto
  87. +12
    -12
      proto/tendermint/privval/types.pb.go
  88. +1
    -1
      proto/tendermint/privval/types.proto
  89. +3
    -3
      proto/tendermint/rpc/grpc/types.proto
  90. +60
    -60
      proto/tendermint/state/types.pb.go
  91. +10
    -10
      proto/tendermint/state/types.proto
  92. +33
    -33
      proto/tendermint/statesync/types.pb.go
  93. +1
    -1
      proto/tendermint/statesync/types.proto
  94. +13
    -13
      proto/tendermint/store/types.pb.go
  95. +1
    -1
      proto/tendermint/store/types.proto
  96. +22
    -22
      proto/tendermint/types/block.pb.go
  97. +4
    -4
      proto/tendermint/types/block.proto
  98. +39
    -39
      proto/tendermint/types/canonical.pb.go
  99. +3
    -3
      proto/tendermint/types/canonical.proto
  100. +12
    -12
      proto/tendermint/types/events.pb.go

+ 0
- 2
.gitignore View File

@ -43,6 +43,4 @@ terraform.tfstate
terraform.tfstate.backup terraform.tfstate.backup
terraform.tfstate.d terraform.tfstate.d
.vscode
profile\.out profile\.out

+ 9
- 0
.vscode/settings.json View File

@ -0,0 +1,9 @@
{
"protoc": {
"options": [
"--proto_path=${workspaceRoot}/proto",
"--proto_path=${workspaceRoot}/third_party/proto"
]
},
"clang-format.style": "{BasedOnStyle: Google, IndentWidth: 2, ColumnLimit: 0, AlignConsecutiveAssignments: true, AlignConsecutiveDeclarations: true, SpacesInSquareBrackets: true}",
}

+ 2
- 0
CHANGELOG_PENDING.md View File

@ -52,6 +52,8 @@ Friendly reminder, we have a [bug bounty program](https://hackerone.com/tendermi
- [types] \#4852 Vote & Proposal `SignBytes` is now func `VoteSignBytes` & `ProposalSignBytes` - [types] \#4852 Vote & Proposal `SignBytes` is now func `VoteSignBytes` & `ProposalSignBytes`
- [privval] \#4985 `privval` reactor migration to Protobuf encoding - [privval] \#4985 `privval` reactor migration to Protobuf encoding
- [evidence] \#4949 `evidence` reactor migration to Protobuf encoding - [evidence] \#4949 `evidence` reactor migration to Protobuf encoding
- [proto] \#5025 All proto files have been moved to `/proto` directory.
- Using the recommended the file layout from buf, [see here for more info](https://buf.build/docs/lint-checkers#file_layout)
- [types] \#5029 Rename all values from `PartsHeader` to `PartSetHeader` to have consistency - [types] \#5029 Rename all values from `PartsHeader` to `PartSetHeader` to have consistency
- Apps - Apps


+ 9
- 0
UPGRADING.md View File

@ -31,6 +31,15 @@ amino to proto3 encoding and breaking changes to the header.
[Cosmos-SDK](https://github.com/cosmos/cosmos-sdk). [Cosmos-SDK](https://github.com/cosmos/cosmos-sdk).
(https://github.com/cosmos/cosmos-sdk/blob/master/crypto/types/multisig/multisignature.go) (https://github.com/cosmos/cosmos-sdk/blob/master/crypto/types/multisig/multisignature.go)
### Protobuf
With this release we are happy to announce the full protobuf migration of the Tendermint repo. This consists of changes that you may need to be aware of:
- All proto files have been moved under one directory, `/proto`. This is in line with the recommended file layout by [buf](https://buf.build), you can read more about it [here](https://buf.build/docs/lint-checkers#file_layout)
- We use the generated protobuf types for only on disk and over the wire serialization. This means that these changes should not effect you as user of Tendermint.
- A few notable changes in the abci:
- In `ValidatorUpdates` the public key type has been migrated to a protobuf `oneof` type. Since Tendermint only supports ed25519 validator keys this is the only available key in the oneof.
## v0.33.4 ## v0.33.4
### Go API ### Go API


+ 1
- 1
abci/cmd/abci-cli/abci-cli.go View File

@ -22,7 +22,7 @@ import (
servertest "github.com/tendermint/tendermint/abci/tests/server" servertest "github.com/tendermint/tendermint/abci/tests/server"
"github.com/tendermint/tendermint/abci/types" "github.com/tendermint/tendermint/abci/types"
"github.com/tendermint/tendermint/abci/version" "github.com/tendermint/tendermint/abci/version"
"github.com/tendermint/tendermint/proto/crypto/merkle"
"github.com/tendermint/tendermint/proto/tendermint/crypto/merkle"
) )
// client is a global variable so it can be reused by the console // client is a global variable so it can be reused by the console


+ 1
- 1
abci/example/kvstore/kvstore_test.go View File

@ -15,7 +15,7 @@ import (
"github.com/tendermint/tendermint/abci/example/code" "github.com/tendermint/tendermint/abci/example/code"
abciserver "github.com/tendermint/tendermint/abci/server" abciserver "github.com/tendermint/tendermint/abci/server"
"github.com/tendermint/tendermint/abci/types" "github.com/tendermint/tendermint/abci/types"
tmproto "github.com/tendermint/tendermint/proto/types"
tmproto "github.com/tendermint/tendermint/proto/tendermint/types"
) )
const ( const (


+ 1
- 1
abci/example/kvstore/persistent_kvstore.go View File

@ -13,7 +13,7 @@ import (
"github.com/tendermint/tendermint/abci/types" "github.com/tendermint/tendermint/abci/types"
cryptoenc "github.com/tendermint/tendermint/crypto/encoding" cryptoenc "github.com/tendermint/tendermint/crypto/encoding"
"github.com/tendermint/tendermint/libs/log" "github.com/tendermint/tendermint/libs/log"
pc "github.com/tendermint/tendermint/proto/crypto/keys"
pc "github.com/tendermint/tendermint/proto/tendermint/crypto/keys"
tmtypes "github.com/tendermint/tendermint/types" tmtypes "github.com/tendermint/tendermint/types"
) )


abci/types/abci.pb.go
File diff suppressed because it is too large
View File


+ 1
- 1
abci/types/messages_test.go View File

@ -9,7 +9,7 @@ import (
"github.com/gogo/protobuf/proto" "github.com/gogo/protobuf/proto"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
tmproto "github.com/tendermint/tendermint/proto/types"
tmproto "github.com/tendermint/tendermint/proto/tendermint/types"
) )
func TestMarshalJSON(t *testing.T) { func TestMarshalJSON(t *testing.T) {


+ 1
- 1
blockchain/msgs.go View File

@ -6,7 +6,7 @@ import (
"github.com/gogo/protobuf/proto" "github.com/gogo/protobuf/proto"
bcproto "github.com/tendermint/tendermint/proto/blockchain"
bcproto "github.com/tendermint/tendermint/proto/tendermint/blockchain"
"github.com/tendermint/tendermint/types" "github.com/tendermint/tendermint/types"
) )


+ 1
- 1
blockchain/msgs_test.go View File

@ -4,7 +4,7 @@ import (
"testing" "testing"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
bcproto "github.com/tendermint/tendermint/proto/blockchain"
bcproto "github.com/tendermint/tendermint/proto/tendermint/blockchain"
) )
func TestBcBlockRequestMessageValidateBasic(t *testing.T) { func TestBcBlockRequestMessageValidateBasic(t *testing.T) {


+ 1
- 1
blockchain/v0/reactor.go View File

@ -8,7 +8,7 @@ import (
bc "github.com/tendermint/tendermint/blockchain" bc "github.com/tendermint/tendermint/blockchain"
"github.com/tendermint/tendermint/libs/log" "github.com/tendermint/tendermint/libs/log"
"github.com/tendermint/tendermint/p2p" "github.com/tendermint/tendermint/p2p"
bcproto "github.com/tendermint/tendermint/proto/blockchain"
bcproto "github.com/tendermint/tendermint/proto/tendermint/blockchain"
sm "github.com/tendermint/tendermint/state" sm "github.com/tendermint/tendermint/state"
"github.com/tendermint/tendermint/store" "github.com/tendermint/tendermint/store"
"github.com/tendermint/tendermint/types" "github.com/tendermint/tendermint/types"


+ 1
- 1
blockchain/v1/reactor.go View File

@ -9,7 +9,7 @@ import (
bc "github.com/tendermint/tendermint/blockchain" bc "github.com/tendermint/tendermint/blockchain"
"github.com/tendermint/tendermint/libs/log" "github.com/tendermint/tendermint/libs/log"
"github.com/tendermint/tendermint/p2p" "github.com/tendermint/tendermint/p2p"
bcproto "github.com/tendermint/tendermint/proto/blockchain"
bcproto "github.com/tendermint/tendermint/proto/tendermint/blockchain"
sm "github.com/tendermint/tendermint/state" sm "github.com/tendermint/tendermint/state"
"github.com/tendermint/tendermint/store" "github.com/tendermint/tendermint/store"
"github.com/tendermint/tendermint/types" "github.com/tendermint/tendermint/types"


+ 1
- 1
blockchain/v1/reactor_test.go View File

@ -18,7 +18,7 @@ import (
"github.com/tendermint/tendermint/libs/log" "github.com/tendermint/tendermint/libs/log"
"github.com/tendermint/tendermint/mempool/mock" "github.com/tendermint/tendermint/mempool/mock"
"github.com/tendermint/tendermint/p2p" "github.com/tendermint/tendermint/p2p"
tmproto "github.com/tendermint/tendermint/proto/types"
tmproto "github.com/tendermint/tendermint/proto/tendermint/types"
"github.com/tendermint/tendermint/proxy" "github.com/tendermint/tendermint/proxy"
sm "github.com/tendermint/tendermint/state" sm "github.com/tendermint/tendermint/state"
"github.com/tendermint/tendermint/store" "github.com/tendermint/tendermint/store"


+ 1
- 1
blockchain/v2/io.go View File

@ -5,7 +5,7 @@ import (
bc "github.com/tendermint/tendermint/blockchain" bc "github.com/tendermint/tendermint/blockchain"
"github.com/tendermint/tendermint/p2p" "github.com/tendermint/tendermint/p2p"
bcproto "github.com/tendermint/tendermint/proto/blockchain"
bcproto "github.com/tendermint/tendermint/proto/tendermint/blockchain"
"github.com/tendermint/tendermint/state" "github.com/tendermint/tendermint/state"
"github.com/tendermint/tendermint/types" "github.com/tendermint/tendermint/types"
) )


+ 1
- 1
blockchain/v2/reactor.go View File

@ -10,7 +10,7 @@ import (
bc "github.com/tendermint/tendermint/blockchain" bc "github.com/tendermint/tendermint/blockchain"
"github.com/tendermint/tendermint/libs/log" "github.com/tendermint/tendermint/libs/log"
"github.com/tendermint/tendermint/p2p" "github.com/tendermint/tendermint/p2p"
bcproto "github.com/tendermint/tendermint/proto/blockchain"
bcproto "github.com/tendermint/tendermint/proto/tendermint/blockchain"
"github.com/tendermint/tendermint/state" "github.com/tendermint/tendermint/state"
"github.com/tendermint/tendermint/types" "github.com/tendermint/tendermint/types"
) )


+ 1
- 1
blockchain/v2/reactor_test.go View File

@ -21,7 +21,7 @@ import (
"github.com/tendermint/tendermint/mempool/mock" "github.com/tendermint/tendermint/mempool/mock"
"github.com/tendermint/tendermint/p2p" "github.com/tendermint/tendermint/p2p"
"github.com/tendermint/tendermint/p2p/conn" "github.com/tendermint/tendermint/p2p/conn"
bcproto "github.com/tendermint/tendermint/proto/blockchain"
bcproto "github.com/tendermint/tendermint/proto/tendermint/blockchain"
"github.com/tendermint/tendermint/proxy" "github.com/tendermint/tendermint/proxy"
sm "github.com/tendermint/tendermint/state" sm "github.com/tendermint/tendermint/state"
"github.com/tendermint/tendermint/store" "github.com/tendermint/tendermint/store"


+ 4
- 4
buf.yaml View File

@ -1,15 +1,15 @@
build: build:
roots: roots:
- .
- proto
- third_party/proto
lint: lint:
use: use:
- MINIMAL - MINIMAL
- FILE_LOWER_SNAKE_CASE - FILE_LOWER_SNAKE_CASE
- UNARY_RPC - UNARY_RPC
except:
- PACKAGE_DIRECTORY_MATCH
- FILE_LAYOUT
ignore: ignore:
- third_party
- gogoproto
breaking: breaking:
use: use:
- FILE - FILE

+ 1
- 1
consensus/byzantine_test.go View File

@ -11,7 +11,7 @@ import (
"github.com/tendermint/tendermint/libs/service" "github.com/tendermint/tendermint/libs/service"
"github.com/tendermint/tendermint/p2p" "github.com/tendermint/tendermint/p2p"
tmproto "github.com/tendermint/tendermint/proto/types"
tmproto "github.com/tendermint/tendermint/proto/tendermint/types"
sm "github.com/tendermint/tendermint/state" sm "github.com/tendermint/tendermint/state"
"github.com/tendermint/tendermint/types" "github.com/tendermint/tendermint/types"
) )


+ 1
- 1
consensus/common_test.go View File

@ -33,7 +33,7 @@ import (
mempl "github.com/tendermint/tendermint/mempool" mempl "github.com/tendermint/tendermint/mempool"
"github.com/tendermint/tendermint/p2p" "github.com/tendermint/tendermint/p2p"
"github.com/tendermint/tendermint/privval" "github.com/tendermint/tendermint/privval"
tmproto "github.com/tendermint/tendermint/proto/types"
tmproto "github.com/tendermint/tendermint/proto/tendermint/types"
sm "github.com/tendermint/tendermint/state" sm "github.com/tendermint/tendermint/state"
"github.com/tendermint/tendermint/store" "github.com/tendermint/tendermint/store"
"github.com/tendermint/tendermint/types" "github.com/tendermint/tendermint/types"


+ 2
- 2
consensus/msgs.go View File

@ -10,8 +10,8 @@ import (
"github.com/tendermint/tendermint/libs/bits" "github.com/tendermint/tendermint/libs/bits"
tmmath "github.com/tendermint/tendermint/libs/math" tmmath "github.com/tendermint/tendermint/libs/math"
"github.com/tendermint/tendermint/p2p" "github.com/tendermint/tendermint/p2p"
tmcons "github.com/tendermint/tendermint/proto/consensus"
tmproto "github.com/tendermint/tendermint/proto/types"
tmcons "github.com/tendermint/tendermint/proto/tendermint/consensus"
tmproto "github.com/tendermint/tendermint/proto/tendermint/types"
"github.com/tendermint/tendermint/types" "github.com/tendermint/tendermint/types"
) )


+ 2
- 2
consensus/msgs_test.go View File

@ -11,8 +11,8 @@ import (
"github.com/tendermint/tendermint/libs/bits" "github.com/tendermint/tendermint/libs/bits"
tmrand "github.com/tendermint/tendermint/libs/rand" tmrand "github.com/tendermint/tendermint/libs/rand"
"github.com/tendermint/tendermint/p2p" "github.com/tendermint/tendermint/p2p"
tmcons "github.com/tendermint/tendermint/proto/consensus"
tmproto "github.com/tendermint/tendermint/proto/types"
tmcons "github.com/tendermint/tendermint/proto/tendermint/consensus"
tmproto "github.com/tendermint/tendermint/proto/tendermint/types"
"github.com/tendermint/tendermint/types" "github.com/tendermint/tendermint/types"
) )


+ 2
- 2
consensus/reactor.go View File

@ -15,8 +15,8 @@ import (
tmjson "github.com/tendermint/tendermint/libs/json" tmjson "github.com/tendermint/tendermint/libs/json"
"github.com/tendermint/tendermint/libs/log" "github.com/tendermint/tendermint/libs/log"
"github.com/tendermint/tendermint/p2p" "github.com/tendermint/tendermint/p2p"
tmcons "github.com/tendermint/tendermint/proto/consensus"
tmproto "github.com/tendermint/tendermint/proto/types"
tmcons "github.com/tendermint/tendermint/proto/tendermint/consensus"
tmproto "github.com/tendermint/tendermint/proto/tendermint/types"
sm "github.com/tendermint/tendermint/state" sm "github.com/tendermint/tendermint/state"
"github.com/tendermint/tendermint/types" "github.com/tendermint/tendermint/types"
tmtime "github.com/tendermint/tendermint/types/time" tmtime "github.com/tendermint/tendermint/types/time"


+ 1
- 1
consensus/reactor_test.go View File

@ -29,7 +29,7 @@ import (
mempl "github.com/tendermint/tendermint/mempool" mempl "github.com/tendermint/tendermint/mempool"
"github.com/tendermint/tendermint/p2p" "github.com/tendermint/tendermint/p2p"
"github.com/tendermint/tendermint/p2p/mock" "github.com/tendermint/tendermint/p2p/mock"
tmproto "github.com/tendermint/tendermint/proto/types"
tmproto "github.com/tendermint/tendermint/proto/tendermint/types"
sm "github.com/tendermint/tendermint/state" sm "github.com/tendermint/tendermint/state"
"github.com/tendermint/tendermint/store" "github.com/tendermint/tendermint/store"
"github.com/tendermint/tendermint/types" "github.com/tendermint/tendermint/types"


+ 1
- 1
consensus/replay_stubs.go View File

@ -4,7 +4,7 @@ import (
abci "github.com/tendermint/tendermint/abci/types" abci "github.com/tendermint/tendermint/abci/types"
"github.com/tendermint/tendermint/libs/clist" "github.com/tendermint/tendermint/libs/clist"
mempl "github.com/tendermint/tendermint/mempool" mempl "github.com/tendermint/tendermint/mempool"
tmstate "github.com/tendermint/tendermint/proto/state"
tmstate "github.com/tendermint/tendermint/proto/tendermint/state"
"github.com/tendermint/tendermint/proxy" "github.com/tendermint/tendermint/proxy"
sm "github.com/tendermint/tendermint/state" sm "github.com/tendermint/tendermint/state"
"github.com/tendermint/tendermint/types" "github.com/tendermint/tendermint/types"


+ 2
- 2
consensus/replay_test.go View File

@ -27,8 +27,8 @@ import (
tmrand "github.com/tendermint/tendermint/libs/rand" tmrand "github.com/tendermint/tendermint/libs/rand"
mempl "github.com/tendermint/tendermint/mempool" mempl "github.com/tendermint/tendermint/mempool"
"github.com/tendermint/tendermint/privval" "github.com/tendermint/tendermint/privval"
tmstate "github.com/tendermint/tendermint/proto/state"
tmproto "github.com/tendermint/tendermint/proto/types"
tmstate "github.com/tendermint/tendermint/proto/tendermint/state"
tmproto "github.com/tendermint/tendermint/proto/tendermint/types"
"github.com/tendermint/tendermint/proxy" "github.com/tendermint/tendermint/proxy"
sm "github.com/tendermint/tendermint/state" sm "github.com/tendermint/tendermint/state"
"github.com/tendermint/tendermint/types" "github.com/tendermint/tendermint/types"


+ 1
- 1
consensus/state.go View File

@ -23,7 +23,7 @@ import (
tmos "github.com/tendermint/tendermint/libs/os" tmos "github.com/tendermint/tendermint/libs/os"
"github.com/tendermint/tendermint/libs/service" "github.com/tendermint/tendermint/libs/service"
"github.com/tendermint/tendermint/p2p" "github.com/tendermint/tendermint/p2p"
tmproto "github.com/tendermint/tendermint/proto/types"
tmproto "github.com/tendermint/tendermint/proto/tendermint/types"
sm "github.com/tendermint/tendermint/state" sm "github.com/tendermint/tendermint/state"
"github.com/tendermint/tendermint/types" "github.com/tendermint/tendermint/types"
tmtime "github.com/tendermint/tendermint/types/time" tmtime "github.com/tendermint/tendermint/types/time"


+ 1
- 1
consensus/state_test.go View File

@ -17,7 +17,7 @@ import (
tmpubsub "github.com/tendermint/tendermint/libs/pubsub" tmpubsub "github.com/tendermint/tendermint/libs/pubsub"
tmrand "github.com/tendermint/tendermint/libs/rand" tmrand "github.com/tendermint/tendermint/libs/rand"
p2pmock "github.com/tendermint/tendermint/p2p/mock" p2pmock "github.com/tendermint/tendermint/p2p/mock"
tmproto "github.com/tendermint/tendermint/proto/types"
tmproto "github.com/tendermint/tendermint/proto/tendermint/types"
"github.com/tendermint/tendermint/types" "github.com/tendermint/tendermint/types"
) )


+ 1
- 1
consensus/types/height_vote_set.go View File

@ -9,7 +9,7 @@ import (
tmjson "github.com/tendermint/tendermint/libs/json" tmjson "github.com/tendermint/tendermint/libs/json"
tmmath "github.com/tendermint/tendermint/libs/math" tmmath "github.com/tendermint/tendermint/libs/math"
"github.com/tendermint/tendermint/p2p" "github.com/tendermint/tendermint/p2p"
tmproto "github.com/tendermint/tendermint/proto/types"
tmproto "github.com/tendermint/tendermint/proto/tendermint/types"
"github.com/tendermint/tendermint/types" "github.com/tendermint/tendermint/types"
) )


+ 1
- 1
consensus/types/height_vote_set_test.go View File

@ -8,7 +8,7 @@ import (
cfg "github.com/tendermint/tendermint/config" cfg "github.com/tendermint/tendermint/config"
"github.com/tendermint/tendermint/crypto/tmhash" "github.com/tendermint/tendermint/crypto/tmhash"
tmrand "github.com/tendermint/tendermint/libs/rand" tmrand "github.com/tendermint/tendermint/libs/rand"
tmproto "github.com/tendermint/tendermint/proto/types"
tmproto "github.com/tendermint/tendermint/proto/tendermint/types"
"github.com/tendermint/tendermint/types" "github.com/tendermint/tendermint/types"
tmtime "github.com/tendermint/tendermint/types/time" tmtime "github.com/tendermint/tendermint/types/time"
) )


+ 1
- 1
consensus/wal.go View File

@ -16,7 +16,7 @@ import (
"github.com/tendermint/tendermint/libs/log" "github.com/tendermint/tendermint/libs/log"
tmos "github.com/tendermint/tendermint/libs/os" tmos "github.com/tendermint/tendermint/libs/os"
"github.com/tendermint/tendermint/libs/service" "github.com/tendermint/tendermint/libs/service"
tmcons "github.com/tendermint/tendermint/proto/consensus"
tmcons "github.com/tendermint/tendermint/proto/tendermint/consensus"
tmtime "github.com/tendermint/tendermint/types/time" tmtime "github.com/tendermint/tendermint/types/time"
) )


+ 1
- 1
crypto/encoding/codec.go View File

@ -6,7 +6,7 @@ import (
"github.com/tendermint/tendermint/crypto" "github.com/tendermint/tendermint/crypto"
"github.com/tendermint/tendermint/crypto/ed25519" "github.com/tendermint/tendermint/crypto/ed25519"
pc "github.com/tendermint/tendermint/proto/crypto/keys"
pc "github.com/tendermint/tendermint/proto/tendermint/crypto/keys"
) )
// PubKeyToProto takes crypto.PubKey and transforms it to a protobuf Pubkey // PubKeyToProto takes crypto.PubKey and transforms it to a protobuf Pubkey


+ 1
- 1
crypto/merkle/proof.go View File

@ -6,7 +6,7 @@ import (
"fmt" "fmt"
"github.com/tendermint/tendermint/crypto/tmhash" "github.com/tendermint/tendermint/crypto/tmhash"
tmmerkle "github.com/tendermint/tendermint/proto/crypto/merkle"
tmmerkle "github.com/tendermint/tendermint/proto/tendermint/crypto/merkle"
) )
const ( const (


+ 1
- 1
crypto/merkle/proof_op.go View File

@ -5,7 +5,7 @@ import (
"errors" "errors"
"fmt" "fmt"
tmmerkle "github.com/tendermint/tendermint/proto/crypto/merkle"
tmmerkle "github.com/tendermint/tendermint/proto/tendermint/crypto/merkle"
) )
//---------------------------------------- //----------------------------------------


+ 1
- 1
crypto/merkle/proof_test.go View File

@ -8,7 +8,7 @@ import (
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
tmmerkle "github.com/tendermint/tendermint/proto/crypto/merkle"
tmmerkle "github.com/tendermint/tendermint/proto/tendermint/crypto/merkle"
) )
const ProofOpDomino = "test:domino" const ProofOpDomino = "test:domino"


+ 1
- 1
crypto/merkle/proof_value.go View File

@ -5,7 +5,7 @@ import (
"fmt" "fmt"
"github.com/tendermint/tendermint/crypto/tmhash" "github.com/tendermint/tendermint/crypto/tmhash"
tmmerkle "github.com/tendermint/tendermint/proto/crypto/merkle"
tmmerkle "github.com/tendermint/tendermint/proto/tendermint/crypto/merkle"
) )
const ProofOpValue = "simple:v" const ProofOpValue = "simple:v"


+ 3
- 2
docs/architecture/adr-055-protobuf-design.md View File

@ -3,6 +3,7 @@
## Changelog ## Changelog
- 2020-4-15: Created (@marbar3778) - 2020-4-15: Created (@marbar3778)
- 2020-6-18: Updated (@marbar3778)
## Context ## Context
@ -33,13 +34,13 @@ There are a few options to pick from:
Transition Tendermint to Protobuf because of its performance and tooling. The Ecosystem behind Protobuf is vast and has outstanding [support for many languages](https://developers.google.com/protocol-buffers/docs/tutorials). Transition Tendermint to Protobuf because of its performance and tooling. The Ecosystem behind Protobuf is vast and has outstanding [support for many languages](https://developers.google.com/protocol-buffers/docs/tutorials).
We will be making this possible by keeping the current types in there current form (handwritten) and creating a `/proto` directory in which all the `.proto` files will live. Where encoding is needed, on disk and over the wire, we will call util functions that will transition the types from handwritten go types to protobuf generated types.
We will be making this possible by keeping the current types in there current form (handwritten) and creating a `/proto` directory in which all the `.proto` files will live. Where encoding is needed, on disk and over the wire, we will call util functions that will transition the types from handwritten go types to protobuf generated types. This is inline with the recommended file structure from [buf](https://buf.build). You can find more information on this file structure [here](https://buf.build/docs/lint-checkers#file_layout).
By going with this design we will enable future changes to types and allow for a more modular codebase. By going with this design we will enable future changes to types and allow for a more modular codebase.
## Status ## Status
Proposed
Completed
## Consequences ## Consequences


+ 1
- 1
evidence/pool.go View File

@ -11,7 +11,7 @@ import (
clist "github.com/tendermint/tendermint/libs/clist" clist "github.com/tendermint/tendermint/libs/clist"
"github.com/tendermint/tendermint/libs/log" "github.com/tendermint/tendermint/libs/log"
tmproto "github.com/tendermint/tendermint/proto/types"
tmproto "github.com/tendermint/tendermint/proto/tendermint/types"
sm "github.com/tendermint/tendermint/state" sm "github.com/tendermint/tendermint/state"
"github.com/tendermint/tendermint/store" "github.com/tendermint/tendermint/store"
"github.com/tendermint/tendermint/types" "github.com/tendermint/tendermint/types"


+ 1
- 1
evidence/pool_test.go View File

@ -15,7 +15,7 @@ import (
"github.com/tendermint/tendermint/libs/bytes" "github.com/tendermint/tendermint/libs/bytes"
"github.com/tendermint/tendermint/libs/log" "github.com/tendermint/tendermint/libs/log"
tmrand "github.com/tendermint/tendermint/libs/rand" tmrand "github.com/tendermint/tendermint/libs/rand"
tmproto "github.com/tendermint/tendermint/proto/types"
tmproto "github.com/tendermint/tendermint/proto/tendermint/types"
sm "github.com/tendermint/tendermint/state" sm "github.com/tendermint/tendermint/state"
"github.com/tendermint/tendermint/store" "github.com/tendermint/tendermint/store"
"github.com/tendermint/tendermint/types" "github.com/tendermint/tendermint/types"


+ 2
- 2
evidence/reactor.go View File

@ -8,8 +8,8 @@ import (
clist "github.com/tendermint/tendermint/libs/clist" clist "github.com/tendermint/tendermint/libs/clist"
"github.com/tendermint/tendermint/libs/log" "github.com/tendermint/tendermint/libs/log"
"github.com/tendermint/tendermint/p2p" "github.com/tendermint/tendermint/p2p"
ep "github.com/tendermint/tendermint/proto/evidence"
tmproto "github.com/tendermint/tendermint/proto/types"
ep "github.com/tendermint/tendermint/proto/tendermint/evidence"
tmproto "github.com/tendermint/tendermint/proto/tendermint/types"
"github.com/tendermint/tendermint/types" "github.com/tendermint/tendermint/types"
) )


+ 1
- 1
libs/bits/bit_array.go View File

@ -9,7 +9,7 @@ import (
tmmath "github.com/tendermint/tendermint/libs/math" tmmath "github.com/tendermint/tendermint/libs/math"
tmrand "github.com/tendermint/tendermint/libs/rand" tmrand "github.com/tendermint/tendermint/libs/rand"
tmprotobits "github.com/tendermint/tendermint/proto/libs/bits"
tmprotobits "github.com/tendermint/tendermint/proto/tendermint/libs/bits"
) )
// BitArray is a thread-safe implementation of a bit array. // BitArray is a thread-safe implementation of a bit array.


+ 1
- 1
light/helpers_test.go View File

@ -6,7 +6,7 @@ import (
"github.com/tendermint/tendermint/crypto" "github.com/tendermint/tendermint/crypto"
"github.com/tendermint/tendermint/crypto/ed25519" "github.com/tendermint/tendermint/crypto/ed25519"
"github.com/tendermint/tendermint/crypto/tmhash" "github.com/tendermint/tendermint/crypto/tmhash"
tmproto "github.com/tendermint/tendermint/proto/types"
tmproto "github.com/tendermint/tendermint/proto/tendermint/types"
"github.com/tendermint/tendermint/types" "github.com/tendermint/tendermint/types"
tmtime "github.com/tendermint/tendermint/types/time" tmtime "github.com/tendermint/tendermint/types/time"
) )


+ 1
- 1
light/store/db/db.go View File

@ -11,7 +11,7 @@ import (
dbm "github.com/tendermint/tm-db" dbm "github.com/tendermint/tm-db"
"github.com/tendermint/tendermint/light/store" "github.com/tendermint/tendermint/light/store"
tmproto "github.com/tendermint/tendermint/proto/types"
tmproto "github.com/tendermint/tendermint/proto/tendermint/types"
"github.com/tendermint/tendermint/types" "github.com/tendermint/tendermint/types"
) )


+ 1
- 1
p2p/conn/connection.go View File

@ -21,7 +21,7 @@ import (
"github.com/tendermint/tendermint/libs/protoio" "github.com/tendermint/tendermint/libs/protoio"
"github.com/tendermint/tendermint/libs/service" "github.com/tendermint/tendermint/libs/service"
"github.com/tendermint/tendermint/libs/timer" "github.com/tendermint/tendermint/libs/timer"
tmp2p "github.com/tendermint/tendermint/proto/p2p"
tmp2p "github.com/tendermint/tendermint/proto/tendermint/p2p"
) )
const ( const (


+ 2
- 2
p2p/conn/connection_test.go View File

@ -11,8 +11,8 @@ import (
"github.com/tendermint/tendermint/libs/log" "github.com/tendermint/tendermint/libs/log"
"github.com/tendermint/tendermint/libs/protoio" "github.com/tendermint/tendermint/libs/protoio"
tmp2p "github.com/tendermint/tendermint/proto/p2p"
"github.com/tendermint/tendermint/proto/types"
tmp2p "github.com/tendermint/tendermint/proto/tendermint/p2p"
"github.com/tendermint/tendermint/proto/tendermint/types"
) )
const maxPingPongPacketSize = 1024 // bytes const maxPingPongPacketSize = 1024 // bytes


+ 1
- 1
p2p/conn/evil_secret_connection_test.go View File

@ -15,7 +15,7 @@ import (
"github.com/tendermint/tendermint/crypto/ed25519" "github.com/tendermint/tendermint/crypto/ed25519"
cryptoenc "github.com/tendermint/tendermint/crypto/encoding" cryptoenc "github.com/tendermint/tendermint/crypto/encoding"
"github.com/tendermint/tendermint/libs/protoio" "github.com/tendermint/tendermint/libs/protoio"
tmp2p "github.com/tendermint/tendermint/proto/p2p"
tmp2p "github.com/tendermint/tendermint/proto/tendermint/p2p"
) )
type buffer struct { type buffer struct {


+ 1
- 1
p2p/conn/secret_connection.go View File

@ -27,7 +27,7 @@ import (
cryptoenc "github.com/tendermint/tendermint/crypto/encoding" cryptoenc "github.com/tendermint/tendermint/crypto/encoding"
"github.com/tendermint/tendermint/libs/async" "github.com/tendermint/tendermint/libs/async"
"github.com/tendermint/tendermint/libs/protoio" "github.com/tendermint/tendermint/libs/protoio"
tmp2p "github.com/tendermint/tendermint/proto/p2p"
tmp2p "github.com/tendermint/tendermint/proto/tendermint/p2p"
) )
// 4 + 1024 == 1028 total frame size // 4 + 1024 == 1028 total frame size


+ 1
- 1
p2p/netaddress.go View File

@ -14,7 +14,7 @@ import (
"strings" "strings"
"time" "time"
tmp2p "github.com/tendermint/tendermint/proto/p2p"
tmp2p "github.com/tendermint/tendermint/proto/tendermint/p2p"
) )
// NetAddress defines information about a peer on the network // NetAddress defines information about a peer on the network


+ 1
- 1
p2p/node_info.go View File

@ -7,7 +7,7 @@ import (
"github.com/tendermint/tendermint/libs/bytes" "github.com/tendermint/tendermint/libs/bytes"
tmstrings "github.com/tendermint/tendermint/libs/strings" tmstrings "github.com/tendermint/tendermint/libs/strings"
tmp2p "github.com/tendermint/tendermint/proto/p2p"
tmp2p "github.com/tendermint/tendermint/proto/tendermint/p2p"
"github.com/tendermint/tendermint/version" "github.com/tendermint/tendermint/version"
) )


+ 1
- 1
p2p/pex/pex_reactor.go View File

@ -14,7 +14,7 @@ import (
"github.com/tendermint/tendermint/libs/service" "github.com/tendermint/tendermint/libs/service"
"github.com/tendermint/tendermint/p2p" "github.com/tendermint/tendermint/p2p"
"github.com/tendermint/tendermint/p2p/conn" "github.com/tendermint/tendermint/p2p/conn"
tmp2p "github.com/tendermint/tendermint/proto/p2p"
tmp2p "github.com/tendermint/tendermint/proto/tendermint/p2p"
) )
type Peer = p2p.Peer type Peer = p2p.Peer


+ 1
- 1
p2p/pex/pex_reactor_test.go View File

@ -15,7 +15,7 @@ import (
"github.com/tendermint/tendermint/libs/log" "github.com/tendermint/tendermint/libs/log"
"github.com/tendermint/tendermint/p2p" "github.com/tendermint/tendermint/p2p"
"github.com/tendermint/tendermint/p2p/mock" "github.com/tendermint/tendermint/p2p/mock"
tmp2p "github.com/tendermint/tendermint/proto/p2p"
tmp2p "github.com/tendermint/tendermint/proto/tendermint/p2p"
) )
var ( var (


+ 1
- 1
p2p/transport.go View File

@ -11,7 +11,7 @@ import (
"github.com/tendermint/tendermint/crypto" "github.com/tendermint/tendermint/crypto"
"github.com/tendermint/tendermint/libs/protoio" "github.com/tendermint/tendermint/libs/protoio"
"github.com/tendermint/tendermint/p2p/conn" "github.com/tendermint/tendermint/p2p/conn"
tmp2p "github.com/tendermint/tendermint/proto/p2p"
tmp2p "github.com/tendermint/tendermint/proto/tendermint/p2p"
) )
const ( const (


+ 1
- 1
p2p/transport_test.go View File

@ -13,7 +13,7 @@ import (
"github.com/tendermint/tendermint/crypto/ed25519" "github.com/tendermint/tendermint/crypto/ed25519"
"github.com/tendermint/tendermint/libs/protoio" "github.com/tendermint/tendermint/libs/protoio"
"github.com/tendermint/tendermint/p2p/conn" "github.com/tendermint/tendermint/p2p/conn"
tmp2p "github.com/tendermint/tendermint/proto/p2p"
tmp2p "github.com/tendermint/tendermint/proto/tendermint/p2p"
) )
var defaultNodeName = "host_peer" var defaultNodeName = "host_peer"


+ 1
- 1
privval/file.go View File

@ -16,7 +16,7 @@ import (
tmos "github.com/tendermint/tendermint/libs/os" tmos "github.com/tendermint/tendermint/libs/os"
"github.com/tendermint/tendermint/libs/protoio" "github.com/tendermint/tendermint/libs/protoio"
"github.com/tendermint/tendermint/libs/tempfile" "github.com/tendermint/tendermint/libs/tempfile"
tmproto "github.com/tendermint/tendermint/proto/types"
tmproto "github.com/tendermint/tendermint/proto/tendermint/types"
"github.com/tendermint/tendermint/types" "github.com/tendermint/tendermint/types"
tmtime "github.com/tendermint/tendermint/types/time" tmtime "github.com/tendermint/tendermint/types/time"
) )


+ 1
- 1
privval/file_test.go View File

@ -15,7 +15,7 @@ import (
"github.com/tendermint/tendermint/crypto/tmhash" "github.com/tendermint/tendermint/crypto/tmhash"
tmjson "github.com/tendermint/tendermint/libs/json" tmjson "github.com/tendermint/tendermint/libs/json"
tmrand "github.com/tendermint/tendermint/libs/rand" tmrand "github.com/tendermint/tendermint/libs/rand"
tmproto "github.com/tendermint/tendermint/proto/types"
tmproto "github.com/tendermint/tendermint/proto/tendermint/types"
"github.com/tendermint/tendermint/types" "github.com/tendermint/tendermint/types"
tmtime "github.com/tendermint/tendermint/types/time" tmtime "github.com/tendermint/tendermint/types/time"
) )


+ 1
- 1
privval/messages.go View File

@ -5,7 +5,7 @@ import (
"github.com/gogo/protobuf/proto" "github.com/gogo/protobuf/proto"
privvalproto "github.com/tendermint/tendermint/proto/privval"
privvalproto "github.com/tendermint/tendermint/proto/tendermint/privval"
) )
// TODO: Add ChainIDRequest // TODO: Add ChainIDRequest


+ 1
- 1
privval/retry_signer_client.go View File

@ -5,7 +5,7 @@ import (
"time" "time"
"github.com/tendermint/tendermint/crypto" "github.com/tendermint/tendermint/crypto"
tmproto "github.com/tendermint/tendermint/proto/types"
tmproto "github.com/tendermint/tendermint/proto/tendermint/types"
"github.com/tendermint/tendermint/types" "github.com/tendermint/tendermint/types"
) )


+ 2
- 2
privval/signer_client.go View File

@ -7,8 +7,8 @@ import (
"github.com/tendermint/tendermint/crypto" "github.com/tendermint/tendermint/crypto"
cryptoenc "github.com/tendermint/tendermint/crypto/encoding" cryptoenc "github.com/tendermint/tendermint/crypto/encoding"
privvalproto "github.com/tendermint/tendermint/proto/privval"
tmproto "github.com/tendermint/tendermint/proto/types"
privvalproto "github.com/tendermint/tendermint/proto/tendermint/privval"
tmproto "github.com/tendermint/tendermint/proto/tendermint/types"
"github.com/tendermint/tendermint/types" "github.com/tendermint/tendermint/types"
) )


+ 2
- 2
privval/signer_client_test.go View File

@ -11,8 +11,8 @@ import (
"github.com/tendermint/tendermint/crypto" "github.com/tendermint/tendermint/crypto"
"github.com/tendermint/tendermint/crypto/tmhash" "github.com/tendermint/tendermint/crypto/tmhash"
tmrand "github.com/tendermint/tendermint/libs/rand" tmrand "github.com/tendermint/tendermint/libs/rand"
privvalproto "github.com/tendermint/tendermint/proto/privval"
tmproto "github.com/tendermint/tendermint/proto/types"
privvalproto "github.com/tendermint/tendermint/proto/tendermint/privval"
tmproto "github.com/tendermint/tendermint/proto/tendermint/types"
"github.com/tendermint/tendermint/types" "github.com/tendermint/tendermint/types"
) )


+ 1
- 1
privval/signer_endpoint.go View File

@ -8,7 +8,7 @@ import (
"github.com/tendermint/tendermint/libs/protoio" "github.com/tendermint/tendermint/libs/protoio"
"github.com/tendermint/tendermint/libs/service" "github.com/tendermint/tendermint/libs/service"
privvalproto "github.com/tendermint/tendermint/proto/privval"
privvalproto "github.com/tendermint/tendermint/proto/tendermint/privval"
) )
const ( const (


+ 1
- 1
privval/signer_listener_endpoint.go View File

@ -8,7 +8,7 @@ import (
"github.com/tendermint/tendermint/libs/log" "github.com/tendermint/tendermint/libs/log"
"github.com/tendermint/tendermint/libs/service" "github.com/tendermint/tendermint/libs/service"
privvalproto "github.com/tendermint/tendermint/proto/privval"
privvalproto "github.com/tendermint/tendermint/proto/tendermint/privval"
) )
// SignerValidatorEndpointOption sets an optional parameter on the SocketVal. // SignerValidatorEndpointOption sets an optional parameter on the SocketVal.


+ 1
- 1
privval/signer_requestHandler.go View File

@ -5,7 +5,7 @@ import (
"github.com/tendermint/tendermint/crypto" "github.com/tendermint/tendermint/crypto"
cryptoenc "github.com/tendermint/tendermint/crypto/encoding" cryptoenc "github.com/tendermint/tendermint/crypto/encoding"
privvalproto "github.com/tendermint/tendermint/proto/privval"
privvalproto "github.com/tendermint/tendermint/proto/tendermint/privval"
"github.com/tendermint/tendermint/types" "github.com/tendermint/tendermint/types"
) )


+ 1
- 1
privval/signer_server.go View File

@ -5,7 +5,7 @@ import (
"sync" "sync"
"github.com/tendermint/tendermint/libs/service" "github.com/tendermint/tendermint/libs/service"
privvalproto "github.com/tendermint/tendermint/proto/privval"
privvalproto "github.com/tendermint/tendermint/proto/tendermint/privval"
"github.com/tendermint/tendermint/types" "github.com/tendermint/tendermint/types"
) )


proto/abci/types.proto → proto/tendermint/abci/abci.proto View File


proto/blockchain/msgs.pb.go → proto/tendermint/blockchain/msgs.pb.go View File


proto/blockchain/msgs.proto → proto/tendermint/blockchain/msgs.proto View File


proto/consensus/msgs.pb.go → proto/tendermint/consensus/msgs.pb.go View File


proto/consensus/msgs.proto → proto/tendermint/consensus/msgs.proto View File


proto/consensus/walmsgs.pb.go → proto/tendermint/consensus/walmsgs.pb.go View File


proto/consensus/walmsgs.proto → proto/tendermint/consensus/walmsgs.proto View File


proto/crypto/keys/types.pb.go → proto/tendermint/crypto/keys/types.pb.go View File


proto/crypto/keys/types.proto → proto/tendermint/crypto/keys/types.proto View File


proto/crypto/merkle/types.pb.go → proto/tendermint/crypto/merkle/types.pb.go View File


proto/crypto/merkle/types.proto → proto/tendermint/crypto/merkle/types.proto View File


proto/evidence/msgs.pb.go → proto/tendermint/evidence/msgs.pb.go View File


proto/evidence/msgs.proto → proto/tendermint/evidence/msgs.proto View File


proto/libs/bits/types.pb.go → proto/tendermint/libs/bits/types.pb.go View File


proto/libs/bits/types.proto → proto/tendermint/libs/bits/types.proto View File


proto/p2p/conn_msgs.pb.go → proto/tendermint/p2p/conn_msgs.pb.go View File


proto/p2p/conn_msgs.proto → proto/tendermint/p2p/conn_msgs.proto View File


proto/p2p/pex_msgs.pb.go → proto/tendermint/p2p/pex_msgs.pb.go View File


proto/p2p/pex_msgs.proto → proto/tendermint/p2p/pex_msgs.proto View File


proto/p2p/types.pb.go → proto/tendermint/p2p/types.pb.go View File


proto/p2p/types.proto → proto/tendermint/p2p/types.proto View File


proto/privval/msgs.pb.go → proto/tendermint/privval/msgs.pb.go View File


proto/privval/msgs.proto → proto/tendermint/privval/msgs.proto View File


proto/privval/types.pb.go → proto/tendermint/privval/types.pb.go View File


proto/privval/types.proto → proto/tendermint/privval/types.proto View File


proto/rpc/types.proto → proto/tendermint/rpc/grpc/types.proto View File


proto/state/types.pb.go → proto/tendermint/state/types.pb.go View File


proto/state/types.proto → proto/tendermint/state/types.proto View File


proto/statesync/types.pb.go → proto/tendermint/statesync/types.pb.go View File


proto/statesync/types.proto → proto/tendermint/statesync/types.proto View File


proto/store/types.pb.go → proto/tendermint/store/types.pb.go View File


proto/store/types.proto → proto/tendermint/store/types.proto View File


proto/types/block.pb.go → proto/tendermint/types/block.pb.go View File


proto/types/block.proto → proto/tendermint/types/block.proto View File


proto/types/canonical.pb.go → proto/tendermint/types/canonical.pb.go View File


proto/types/canonical.proto → proto/tendermint/types/canonical.proto View File


proto/types/events.pb.go → proto/tendermint/types/events.pb.go View File


Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save