Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMetaResolverRequestHandler ¶
func NewMetaResolverRequestHandler( finder dataRetriever.ResolversFinder, requestedItemsHandler dataRetriever.RequestedItemsHandler, shardHdrRequestTopic string, metaHdrRequestTopic string, txRequestTopic string, scrRequestTopic string, mbRequestTopic string, maxTxsToRequest int, ) (*resolverRequestHandler, error)
NewMetaResolverRequestHandler creates a requestHandler interface implementation with request functions
func NewShardResolverRequestHandler ¶
func NewShardResolverRequestHandler( finder dataRetriever.ResolversFinder, requestedItemsHandler dataRetriever.RequestedItemsHandler, txRequestTopic string, scrRequestTopic string, rewardTxRequestTopic string, mbRequestTopic string, shardHdrRequestTopic string, metaHdrRequestTopic string, maxTxsToRequest int, ) (*resolverRequestHandler, error)
NewShardResolverRequestHandler creates a requestHandler interface implementation with request functions
Types ¶
type HashSliceResolver ¶
type HashSliceResolver interface { RequestDataFromHashArray(hashes [][]byte) error IsInterfaceNil() bool }
HashSliceResolver can request multiple hashes at once
Click to show internal directories.
Click to hide internal directories.