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 Proposal and 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 ¶
type BlockFetcher interface { GetBlocks(context.Context, []types.BlockID) error FetchBlock(context.Context, types.BlockID) error }
BlockFetcher defines an interface for fetching blocks from remote peers.
type Fetcher ¶
type Fetcher interface { AtxFetcher BlockFetcher PoetProofFetcher BallotFetcher 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 SyncStateProvider ¶
SyncStateProvider defines the interface that provides the node's sync state.
Click to show internal directories.
Click to hide internal directories.