Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AtxFetcher ¶
type AtxFetcher interface { GetAtxs(context.Context, []types.ATXID) error FetchAtx(context.Context, types.ATXID) error }
AtxFetcher defines an interface for fetching ATXs from remote peers.
type BallotFetcher ¶
BallotFetcher defines an interface for fetching Ballot from remote peers.
type BeaconCollector ¶
type BeaconCollector interface {
ReportBeaconFromBallot(types.EpochID, types.BallotID, types.Beacon, uint64)
}
BeaconCollector defines the interface that collect beacon values from Ballots.
type BeaconGetter ¶
BeaconGetter gets a beacon value.
type BlockFetcher ¶
BlockFetcher defines an interface for fetching blocks from remote peers.
type Fetcher ¶
type Fetcher interface { AtxFetcher BlockFetcher PoetProofFetcher BallotFetcher ProposalFetcher TxFetcher }
Fetcher is a general interface that defines a component capable of fetching data from remote peers.
type PoetProofFetcher ¶
PoetProofFetcher defines an interface for fetching PoET proofs from remote peers.
type ProposalFetcher ¶
type ProposalFetcher interface {
GetProposals(context.Context, []types.ProposalID) error
}
ProposalFetcher defines an interface for fetching Proposal from remote peers.
type SyncStateProvider ¶
SyncStateProvider defines the interface that provides the node's sync state.