Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlockIDs ¶
type BlockIDs struct {
// contains filtered or unexported fields
}
func (*BlockIDs) Revert ¶
func (a *BlockIDs) Revert() *ReverseOrdering
type LastSignatures ¶
type LastSignatures interface {
LastBlockIDs(state storage.State) (*ReverseOrdering, error)
}
type LastSignaturesImpl ¶
type LastSignaturesImpl struct { }
func (LastSignaturesImpl) LastBlockIDs ¶
func (LastSignaturesImpl) LastBlockIDs(state storage.State) (*ReverseOrdering, error)
type NaturalOrdering ¶
type NaturalOrdering = BlockIDs
from small to big by height
func NewSignatures ¶
func NewSignatures(signatures ...proto.BlockID) *NaturalOrdering
type ReverseOrdering ¶
type ReverseOrdering = BlockIDs
Click to show internal directories.
Click to hide internal directories.