Documentation ¶
Index ¶
- type Epoch
- func (u *Epoch) Cluster(uint) (protocol.Cluster, error)
- func (u *Epoch) Clustering() (flow.ClusterList, error)
- func (u *Epoch) Counter() (uint64, error)
- func (u *Epoch) DKG() (protocol.DKG, error)
- func (u *Epoch) FinalView() (uint64, error)
- func (u *Epoch) FirstView() (uint64, error)
- func (u *Epoch) InitialIdentities() (flow.IdentityList, error)
- func (u *Epoch) RandomSource() ([]byte, error)
- func (u *Epoch) Seed(...uint32) ([]byte, error)
- type Epochs
- type Snapshot
- func (u *Snapshot) Commit() (flow.StateCommitment, error)
- func (u *Snapshot) Descendants() ([]flow.Identifier, error)
- func (u *Snapshot) Epochs() protocol.EpochQuery
- func (u *Snapshot) Head() (*flow.Header, error)
- func (u *Snapshot) Identities(_ flow.IdentityFilter) (flow.IdentityList, error)
- func (u *Snapshot) Identity(_ flow.Identifier) (*flow.Identity, error)
- func (u *Snapshot) Phase() (flow.EpochPhase, error)
- func (u *Snapshot) QuorumCertificate() (*flow.QuorumCertificate, error)
- func (u *Snapshot) SealedResult() (*flow.ExecutionResult, *flow.Seal, error)
- func (u *Snapshot) SealingSegment() ([]*flow.Block, error)
- func (u *Snapshot) Seed(_ ...uint32) ([]byte, error)
- func (u *Snapshot) ValidDescendants() ([]flow.Identifier, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Epoch ¶
type Epoch struct {
// contains filtered or unexported fields
}
Epoch represents an epoch that does not exist or could not be retrieved.
func (*Epoch) Clustering ¶
func (u *Epoch) Clustering() (flow.ClusterList, error)
func (*Epoch) InitialIdentities ¶
func (u *Epoch) InitialIdentities() (flow.IdentityList, error)
func (*Epoch) RandomSource ¶
type Epochs ¶
type Epochs struct {
// contains filtered or unexported fields
}
Epochs is an epoch query for an invalid snapshot.
type Snapshot ¶
type Snapshot struct {
// contains filtered or unexported fields
}
Snapshot represents a snapshot referencing an invalid block, or for which an error occurred while resolving the reference block.
func NewSnapshot ¶
func (*Snapshot) Descendants ¶ added in v0.17.6
func (u *Snapshot) Descendants() ([]flow.Identifier, error)
func (*Snapshot) Epochs ¶
func (u *Snapshot) Epochs() protocol.EpochQuery
func (*Snapshot) Identities ¶
func (u *Snapshot) Identities(_ flow.IdentityFilter) (flow.IdentityList, error)
func (*Snapshot) QuorumCertificate ¶
func (u *Snapshot) QuorumCertificate() (*flow.QuorumCertificate, error)
func (*Snapshot) SealedResult ¶
func (*Snapshot) ValidDescendants ¶ added in v0.17.6
func (u *Snapshot) ValidDescendants() ([]flow.Identifier, error)
Click to show internal directories.
Click to hide internal directories.