Documentation ¶
Index ¶
- type LastInfo
- func (li *LastInfo) BlockHash() hash.Hash
- func (li *LastInfo) BlockHeight() uint32
- func (li *LastInfo) BlockTime() time.Time
- func (li *LastInfo) Certificate() *certificate.BlockCertificate
- func (li *LastInfo) RestoreLastInfo(str store.Store, committeeSize int) (committee.Committee, error)
- func (li *LastInfo) SortitionSeed() sortition.VerifiableSeed
- func (li *LastInfo) UpdateBlockHash(lastBlockHash hash.Hash)
- func (li *LastInfo) UpdateBlockTime(lastBlockTime time.Time)
- func (li *LastInfo) UpdateCertificate(lastCertificate *certificate.BlockCertificate)
- func (li *LastInfo) UpdateSortitionSeed(lastSortitionSeed sortition.VerifiableSeed)
- func (li *LastInfo) UpdateValidators(vals []*validator.Validator)
- func (li *LastInfo) Validators() []*validator.Validator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LastInfo ¶
type LastInfo struct {
// contains filtered or unexported fields
}
func NewLastInfo ¶
func NewLastInfo() *LastInfo
func (*LastInfo) BlockHeight ¶
func (*LastInfo) Certificate ¶
func (li *LastInfo) Certificate() *certificate.BlockCertificate
func (*LastInfo) RestoreLastInfo ¶
func (*LastInfo) SortitionSeed ¶
func (li *LastInfo) SortitionSeed() sortition.VerifiableSeed
func (*LastInfo) UpdateBlockHash ¶ added in v0.15.0
func (*LastInfo) UpdateBlockTime ¶ added in v0.15.0
func (*LastInfo) UpdateCertificate ¶ added in v0.15.0
func (li *LastInfo) UpdateCertificate(lastCertificate *certificate.BlockCertificate)
func (*LastInfo) UpdateSortitionSeed ¶ added in v0.15.0
func (li *LastInfo) UpdateSortitionSeed(lastSortitionSeed sortition.VerifiableSeed)
func (*LastInfo) UpdateValidators ¶ added in v0.15.0
func (*LastInfo) Validators ¶ added in v0.15.0
Click to show internal directories.
Click to hide internal directories.