Skip to content

Commit

Permalink
chore: improve docs
Browse files Browse the repository at this point in the history
  • Loading branch information
lklimek committed Dec 12, 2023
1 parent d26b1c8 commit 6083720
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
4 changes: 3 additions & 1 deletion proto/tendermint/abci/types.proto
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,9 @@ message RequestVerifyVoteExtension {
repeated ExtendVoteExtension vote_extensions = 5;
// Sign ID that will be used to sign the vote extensions.
// If not set, Tenderdash will generate it based on height and round.
// It should be unique per voting round.

// If set, it SHOULD be unique per voting round, and it MUST start with `dpbvote` string.
//
// Use with caution - it can have severe security consequences.
optional bytes sign_id = 6;
}
Expand Down
8 changes: 6 additions & 2 deletions spec/abci++/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -773,8 +773,12 @@ from this condition, but not sure), and _p_ receives a Precommit message for rou
| validator_pro_tx_hash | [bytes](#bytes) | | ProTxHash of the validator that signed the extensions. |
| height | [int64](#int64) | | Height of the block (for sanity check). |
| round | [int32](#int32) | | Round number for the block. |
| vote_extensions | [ExtendVoteExtension](#tendermint-abci-ExtendVoteExtension) | repeated | Application-specific information signed by Tenderdash. Can have 0 length. |
| sign_id | [bytes](#bytes) | optional | Sign ID that will be used to sign the vote extensions. If not set, Tenderdash will generate it based on height and round. It should be unique per voting round. Use with caution - it can have severe security consequences. |
| vote_extensions | [ExtendVoteExtension](#tendermint-abci-ExtendVoteExtension) | repeated | Application-specific information signed by Tenderdash. Can have 0 length.

Sign ID that will be used to sign the vote extensions. If not set, Tenderdash will generate it based on height and round. |
| sign_id | [bytes](#bytes) | optional | If set, it SHOULD be unique per voting round, and it MUST start with `dpbvote` string.

Use with caution - it can have severe security consequences. |



Expand Down

0 comments on commit 6083720

Please sign in to comment.