Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddressRepository ¶ added in v0.0.10
type CheckedHeadersRepository ¶ added in v0.0.10
type CheckedLogsRepository ¶ added in v0.0.10
type EventLogRepository ¶ added in v0.1.0
type HeaderRepository ¶
type HeaderRepository interface {
CreateOrUpdateHeader(header core.Header) (int64, error)
CreateTransactions(headerID int64, transactions []core.TransactionModel) error
CreateTransactionInTx(tx *sqlx.Tx, headerID int64, transaction core.TransactionModel) (int64, error)
GetHeaderByBlockNumber(blockNumber int64) (core.Header, error)
GetHeaderByID(id int64) (core.Header, error)
GetHeadersInRange(startingBlock, endingBlock int64) ([]core.Header, error)
MissingBlockNumbers(startingBlockNumber, endingBlockNumber int64) ([]int64, error)
GetMostRecentHeaderBlockNumber() (int64, error)
}
Click to show internal directories.
Click to hide internal directories.