Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHeaderRepository ¶
Types ¶
type HeaderRepository ¶
type HeaderRepository interface { AddCheckColumn(id string) error AddCheckColumns(ids []string) error MarkHeaderChecked(headerID int64, eventID string) error MarkHeaderCheckedForAll(headerID int64, ids []string) error MarkHeadersCheckedForAll(headers []core.Header, ids []string) error MissingHeaders(startingBlockNumber int64, endingBlockNumber int64, eventID string) ([]core.Header, error) MissingMethodsCheckedEventsIntersection(startingBlockNumber, endingBlockNumber int64, methodIds, eventIds []string) ([]core.Header, error) MissingHeadersForAll(startingBlockNumber, endingBlockNumber int64, ids []string) ([]core.Header, error) CheckCache(key string) (interface{}, bool) }
Click to show internal directories.
Click to hide internal directories.