signatures

package
v0.8.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 12, 2020 License: MIT Imports: 3 Imported by: 0

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) BlockIDS

func (a *BlockIDs) BlockIDS() []proto.BlockID

func (*BlockIDs) Exists

func (a *BlockIDs) Exists(sig proto.BlockID) bool

func (*BlockIDs) Len

func (a *BlockIDs) Len() int

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL