Documentation ¶
Index ¶
Constants ¶
View Source
const ( ErrEventStorageKeyCreation = libErr.Error("event storage key creation") ErrEventStorageRetrieval = libErr.Error("event storage retrieval") )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventProvider ¶
type EventProvider interface {
GetStorageEvents(meta *types.Metadata, blockHash types.Hash) (*types.StorageDataRaw, error)
}
EventProvider is the interface used for retrieving event data from the storage.
func NewEventProvider ¶
func NewEventProvider(stateRPC state.State) EventProvider
NewEventProvider creates a new EventProvider.
Click to show internal directories.
Click to hide internal directories.