mirror of
https://github.com/tendermint/tendermint.git
synced 2026-09-20 06:54:41 +00:00
re-order fields to match files
This commit is contained in:
@@ -123,16 +123,6 @@ message RequestApplySnapshotChunk {
|
|||||||
string sender = 3;
|
string sender = 3;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Extends a vote with application-side injection
|
|
||||||
message RequestExtendVote {
|
|
||||||
types.Vote vote = 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Verify the vote extension
|
|
||||||
message RequestVerifyVoteExtension {
|
|
||||||
types.Vote vote = 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
message RequestPrepareProposal {
|
message RequestPrepareProposal {
|
||||||
bytes hash = 1;
|
bytes hash = 1;
|
||||||
tendermint.types.Header header = 2 [(gogoproto.nullable) = false];
|
tendermint.types.Header header = 2 [(gogoproto.nullable) = false];
|
||||||
@@ -153,6 +143,16 @@ message RequestProcessProposal {
|
|||||||
repeated Evidence byzantine_validators = 5 [(gogoproto.nullable) = false];
|
repeated Evidence byzantine_validators = 5 [(gogoproto.nullable) = false];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Extends a vote with application-side injection
|
||||||
|
message RequestExtendVote {
|
||||||
|
types.Vote vote = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Verify the vote extension
|
||||||
|
message RequestVerifyVoteExtension {
|
||||||
|
types.Vote vote = 1;
|
||||||
|
}
|
||||||
|
|
||||||
message RequestFinalizeBlock {
|
message RequestFinalizeBlock {
|
||||||
bytes hash = 1;
|
bytes hash = 1;
|
||||||
tendermint.types.Header header = 2 [(gogoproto.nullable) = false];
|
tendermint.types.Header header = 2 [(gogoproto.nullable) = false];
|
||||||
@@ -312,20 +312,6 @@ message ResponseApplySnapshotChunk {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
message ResponseExtendVote {
|
|
||||||
tendermint.types.VoteExtension vote_extension = 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
message ResponseVerifyVoteExtension {
|
|
||||||
VerifyStatus status = 1;
|
|
||||||
|
|
||||||
enum VerifyStatus {
|
|
||||||
UNKNOWN = 0;
|
|
||||||
ACCEPT = 1;
|
|
||||||
REJECT = 2;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
message ResponsePrepareProposal {
|
message ResponsePrepareProposal {
|
||||||
ModifiedTxStatus modified_tx_status = 1;
|
ModifiedTxStatus modified_tx_status = 1;
|
||||||
repeated TxRecord tx_records = 2;
|
repeated TxRecord tx_records = 2;
|
||||||
@@ -355,6 +341,20 @@ message ResponseProcessProposal {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
message ResponseExtendVote {
|
||||||
|
tendermint.types.VoteExtension vote_extension = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message ResponseVerifyVoteExtension {
|
||||||
|
VerifyStatus status = 1;
|
||||||
|
|
||||||
|
enum VerifyStatus {
|
||||||
|
UNKNOWN = 0;
|
||||||
|
ACCEPT = 1;
|
||||||
|
REJECT = 2;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
message ResponseFinalizeBlock {
|
message ResponseFinalizeBlock {
|
||||||
repeated Event events = 1
|
repeated Event events = 1
|
||||||
[(gogoproto.nullable) = false, (gogoproto.jsontag) = "events,omitempty"];
|
[(gogoproto.nullable) = false, (gogoproto.jsontag) = "events,omitempty"];
|
||||||
|
|||||||
Reference in New Issue
Block a user