Documentation
¶
Index ¶
- type VoteSet
- func (vs *VoteSet) AddVote(v *vote.Vote) error
- func (vs *VoteSet) AllVotes() []*vote.Vote
- func (vs *VoteSet) BlockHashHasOneThirdOfTotalPower(hash hash.Hash) bool
- func (vs *VoteSet) Fingerprint() string
- func (vs *VoteSet) Len() int
- func (vs *VoteSet) QuorumHash() *hash.Hash
- func (vs *VoteSet) Round() int16
- func (vs *VoteSet) ToCertificate() *block.Certificate
- func (vs *VoteSet) Type() vote.Type
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VoteSet ¶
type VoteSet struct {
// contains filtered or unexported fields
}
func NewVoteSet ¶
func (*VoteSet) BlockHashHasOneThirdOfTotalPower ¶
func (*VoteSet) Fingerprint ¶
func (*VoteSet) QuorumHash ¶
func (*VoteSet) ToCertificate ¶
func (vs *VoteSet) ToCertificate() *block.Certificate
Click to show internal directories.
Click to hide internal directories.