feat!: Comet v0.38 Integration (#15519)
Co-authored-by: marbar3778 <marbar3778@yahoo.com> Co-authored-by: cool-developer <51834436+cool-develope@users.noreply.github.com> Co-authored-by: Aaron Craelius <aaron@regen.network> Co-authored-by: Matt Kocubinski <mkocubinski@gmail.com> Co-authored-by: Julien Robert <julien@rbrt.fr>
This commit is contained in:
co-authored by
marbar3778
cool-developer
Aaron Craelius
Matt Kocubinski
Julien Robert
parent
166be3766b
commit
6cee22df52
+14
-1
@@ -61,8 +61,21 @@ type VoteInfos interface {
|
||||
Get(int) VoteInfo
|
||||
}
|
||||
|
||||
// BlockIdFlag indicates which BlockID the signature is for
|
||||
type BlockIDFlag int32
|
||||
|
||||
const (
|
||||
BlockIDFlagUnknown BlockIDFlag = 0
|
||||
// BlockIDFlagAbsent - no vote was received from a validator.
|
||||
BlockIDFlagAbsent BlockIDFlag = 1
|
||||
// BlockIDFlagCommit - voted for the Commit.BlockID.
|
||||
BlockIDFlagCommit BlockIDFlag = 2
|
||||
// BlockIDFlagNil - voted for nil.
|
||||
BlockIDFlagNil BlockIDFlag = 3
|
||||
)
|
||||
|
||||
// VoteInfo is the vote information of ABCI
|
||||
type VoteInfo interface {
|
||||
Validator() Validator
|
||||
SignedLastBlock() bool
|
||||
GetBlockIDFlag() BlockIDFlag
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user