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() *block.Certificate
- func (li *LastInfo) RestoreLastInfo(committeeSize int) (committee.Committee, error)
- func (li *LastInfo) SetBlockHash(lastBlockHash hash.Hash)
- func (li *LastInfo) SetBlockHeight(lastBlockHeight uint32)
- func (li *LastInfo) SetBlockTime(lastBlockTime time.Time)
- func (li *LastInfo) SetCertificate(lastCertificate *block.Certificate)
- func (li *LastInfo) SetSortitionSeed(lastSortitionSeed sortition.VerifiableSeed)
- func (li *LastInfo) SortitionSeed() sortition.VerifiableSeed
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 (*LastInfo) BlockHeight ¶
func (*LastInfo) Certificate ¶
func (li *LastInfo) Certificate() *block.Certificate
func (*LastInfo) RestoreLastInfo ¶
func (*LastInfo) SetBlockHash ¶
func (*LastInfo) SetBlockHeight ¶
func (*LastInfo) SetBlockTime ¶
func (*LastInfo) SetCertificate ¶
func (li *LastInfo) SetCertificate(lastCertificate *block.Certificate)
func (*LastInfo) SetSortitionSeed ¶
func (li *LastInfo) SetSortitionSeed(lastSortitionSeed sortition.VerifiableSeed)
func (*LastInfo) SortitionSeed ¶
func (li *LastInfo) SortitionSeed() sortition.VerifiableSeed
Click to show internal directories.
Click to hide internal directories.