mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-12 21:01:21 +00:00
Add full vote to BeginBlock
This commit is contained in:
@ -265,8 +265,7 @@ ResponseCommit requestCommit(RequestCommit requestCommit) {
|
||||
### BeginBlock
|
||||
|
||||
The BeginBlock request can be used to run some code at the beginning of
|
||||
every block. It also allows Tendermint to send the current block hash
|
||||
and header to the application, before it sends any of the transactions.
|
||||
every block. It also allows Tendermint to send the current block hash, header and commit of the last block to the application, before it sends any of the transactions.
|
||||
|
||||
The app should remember the latest height and header (ie. from which it
|
||||
has run a successful Commit) so that it can tell Tendermint where to
|
||||
|
@ -449,6 +449,7 @@ Commit are included in the header of the next block.
|
||||
- `Validator (Validator)`: A validator
|
||||
- `SignedLastBlock (bool)`: Indicates whether or not the validator signed
|
||||
the last block
|
||||
- `FullVote (Vote)`: Validator's vote
|
||||
- **Usage**:
|
||||
- Indicates whether a validator signed the last block, allowing for rewards
|
||||
based on validator availability
|
||||
@ -482,7 +483,7 @@ Commit are included in the header of the next block.
|
||||
- **Fields**:
|
||||
- `Round (int32)`: Commit round.
|
||||
- `Votes ([]VoteInfo)`: List of validators addresses in the last validator set
|
||||
with their voting power and whether or not they signed a vote.
|
||||
with their voting power, votes and whether or not they signed a vote.
|
||||
|
||||
### ConsensusParams
|
||||
|
||||
|
Reference in New Issue
Block a user