Documentation
¶
Index ¶
- func DBRowToBlockRecord(row database.RowType) types.BlockRecord
- func DBRowsToBlockRecords(row []database.RowType) []types.BlockRecord
- func GetBlockByHeight(height uint64) (types.BlockRecord, error)
- func GetLatestBlock() (types.BlockRecord, error)
- func GetLatestBlockHeight() (uint64, error)
- func GetTotalBlocks() (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 GetBlockByHeight ¶
func GetBlockByHeight(height uint64) (types.BlockRecord, error)
func GetLatestBlock ¶
func GetLatestBlock() (types.BlockRecord, error)
func GetLatestBlockHeight ¶
func GetTotalBlocks ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.