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) DKGPhase1FinalView() (uint64, error)
- func (u *Epoch) DKGPhase2FinalView() (uint64, error)
- func (u *Epoch) DKGPhase3FinalView() (uint64, 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 Params
- 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) Params() protocol.GlobalParams
- 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.SealingSegment, 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) DKGPhase1FinalView ¶ added in v0.20.0
func (*Epoch) DKGPhase2FinalView ¶ added in v0.20.0
func (*Epoch) DKGPhase3FinalView ¶ added in v0.20.0
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 Params ¶ added in v0.23.2
type Params struct {
// contains filtered or unexported fields
}
Params represents parameters for an invalid state snapshot query.
func (*Params) ProtocolVersion ¶ added in v0.23.2
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) Params ¶ added in v0.23.2
func (u *Snapshot) Params() protocol.GlobalParams
func (*Snapshot) QuorumCertificate ¶
func (u *Snapshot) QuorumCertificate() (*flow.QuorumCertificate, error)
func (*Snapshot) SealedResult ¶
func (*Snapshot) SealingSegment ¶
func (u *Snapshot) SealingSegment() (*flow.SealingSegment, error)
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.