Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHeaderResolver ¶
func NewHeaderResolver(arg ArgHeaderResolver) (*headerResolver, error)
NewHeaderResolver creates a new storage header resolver
func NewSliceResolver ¶
func NewSliceResolver(arg ArgSliceResolver) (*sliceResolver, error)
NewSliceResolver is a wrapper over Resolver that is specialized in resolving single and multiple requests
func NewTrieNodeResolver ¶
func NewTrieNodeResolver(arg ArgTrieResolver) (*trieNodeResolver, error)
NewTrieNodeResolver returns a new trie node resolver instance. It uses trie snapshots in order to get older data
Types ¶
type ArgHeaderResolver ¶
type ArgHeaderResolver struct { Messenger dataRetriever.MessageHandler ResponseTopicName string NonceConverter typeConverters.Uint64ByteSliceConverter HdrStorage storage.Storer HeadersNoncesStorage storage.Storer ManualEpochStartNotifier dataRetriever.ManualEpochStartNotifier ChanGracefullyClose chan endProcess.ArgEndProcess DelayBeforeGracefulClose time.Duration }
ArgHeaderResolver is the argument structure used to create new HeaderResolver instance
type ArgSliceResolver ¶
type ArgSliceResolver struct { Messenger dataRetriever.MessageHandler ResponseTopicName string Storage storage.Storer DataPacker dataRetriever.DataPacker Marshalizer marshal.Marshalizer ManualEpochStartNotifier dataRetriever.ManualEpochStartNotifier ChanGracefullyClose chan endProcess.ArgEndProcess DelayBeforeGracefulClose time.Duration }
ArgSliceResolver is the argument structure used to create a new sliceResolver instance
type ArgTrieResolver ¶
type ArgTrieResolver struct { Messenger dataRetriever.MessageHandler ResponseTopicName string Marshalizer marshal.Marshalizer TrieDataGetter dataRetriever.TrieDataGetter TrieStorageManager common.StorageManager ManualEpochStartNotifier dataRetriever.ManualEpochStartNotifier ChanGracefullyClose chan endProcess.ArgEndProcess DelayBeforeGracefulClose time.Duration }
ArgTrieResolver is the argument structure used to create new TrieResolver instance
Click to show internal directories.
Click to hide internal directories.