encapdb

package
v0.0.0-...-7ede18c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 11, 2019 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetBlockByHeight

func GetBlockByHeight(chainId, height int64) *blockchain.Block

func GetHeaderByHash

func GetHeaderByHash(hash types.HexBytes) *blockchain.Header

func GetHeaderByHeight

func GetHeaderByHeight(chainId, height int64) *blockchain.Header

func GetLastHeader

func GetLastHeader(chainId int64) *blockchain.Header

func GetReceiptByTxHash

func GetReceiptByTxHash(chainId int64, txHash string) *userevent.ReceiptDetail

func GetVoteResults

func GetVoteResults(chainId int64, hash string) blockchain.Votes

func SaveReceiptByTxHash

func SaveReceiptByTxHash(chainId int64, txHash string, detail userevent.ReceiptDetail)

func SetBlockByHeight

func SetBlockByHeight(chainId, height int64, block blockchain.Block)

func SetHeaderByHeight

func SetHeaderByHeight(chainId, height int64, header blockchain.Header) error

func SetLastHeader

func SetLastHeader(chainId int64, header blockchain.Header) error

func SetVoteResults

func SetVoteResults(chainId int64, hash string, votes blockchain.Votes)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL