Documentation
¶
Index ¶
- func DBRowToBlockRecord(row database.RowType) types.BlockRecord
- func DBRowsToBlockRecords(row []database.RowType) []types.BlockRecord
- func FindMissingBlocks(start, end uint64) ([]uint64, error)
- func GetBlockByHeight(height uint64) (types.BlockRecord, error)
- func GetLatestBlock() (types.BlockRecord, error)
- func GetLatestBlockHeight() (uint64, error)
- func GetTotalBlocks() (uint64, error)
- func GetTotalBlocksByRange(start, end uint64) (uint64, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DBRowToBlockRecord ¶
func DBRowToBlockRecord(row database.RowType) types.BlockRecord
func DBRowsToBlockRecords ¶
func DBRowsToBlockRecords(row []database.RowType) []types.BlockRecord
func FindMissingBlocks ¶
func GetBlockByHeight ¶
func GetBlockByHeight(height uint64) (types.BlockRecord, error)
func GetLatestBlock ¶
func GetLatestBlock() (types.BlockRecord, error)
func GetLatestBlockHeight ¶
func GetTotalBlocks ¶
func GetTotalBlocksByRange ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.