mirror of
https://github.com/tendermint/tendermint.git
synced 2026-04-17 14:11:08 +00:00
## Description This PR moves all proto files under one dir (`/proto`). The script to generate adding functionality to copy the files that still need to be in the same place. (abci & rpc) renames every proto package from `tendermint.proto.<pkg_name>` to `tendermint.<pkg_name>` Removes unneeded types in privval proto directory Closes: #XXX
25 lines
698 B
Protocol Buffer
25 lines
698 B
Protocol Buffer
syntax = "proto3";
|
|
package tendermint.version;
|
|
|
|
option go_package = "github.com/tendermint/tendermint/proto/version";
|
|
|
|
import "third_party/proto/gogoproto/gogo.proto";
|
|
|
|
// App includes the protocol and software version for the application.
|
|
// This information is included in ResponseInfo. The App.Protocol can be
|
|
// updated in ResponseEndBlock.
|
|
message App {
|
|
uint64 protocol = 1;
|
|
string software = 2;
|
|
}
|
|
|
|
// Consensus captures the consensus rules for processing a block in the blockchain,
|
|
// including all blockchain data structures and the rules of the application's
|
|
// state transition machine.
|
|
message Consensus {
|
|
option (gogoproto.equal) = true;
|
|
|
|
uint64 block = 1;
|
|
uint64 app = 2;
|
|
}
|