Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewResolverRequestHandler ¶ added in v1.0.102
func NewResolverRequestHandler( finder dataRetriever.ResolversFinder, requestedItemsHandler dataRetriever.RequestedItemsHandler, whiteList dataRetriever.WhiteListHandler, maxTxsToRequest int, shardID uint32, requestInterval time.Duration, ) (*resolverRequestHandler, error)
NewResolverRequestHandler creates a requestHandler interface implementation with request functions
Types ¶
type ChunkResolver ¶ added in v1.2.4
type ChunkResolver interface {
RequestDataFromReferenceAndChunk(reference []byte, chunkIndex uint32) error
}
ChunkResolver can request a chunk of a large data
Click to show internal directories.
Click to hide internal directories.