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 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 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.
Click to show internal directories.
Click to hide internal directories.