Documentation ¶
Index ¶
- func Close()
- func GetContractTransaction(txHash string) (*types.LKTransaction, error)
- func GetContractTransactionsByBlock(num *big.Int) ([]*types.LKTransaction, error)
- func GetEthTransaction(edb ethdb.Database, txHash string) (*types.LKTransaction, error)
- func GetEthTransactionGas(txHash string) (*dbWraper.EthTransactionGas, error)
- func GetSuicideTransaction(txHash string) (*types.LKTransaction, error)
- func GetSuicideTransactionByBlock(num *big.Int) ([]*types.LKTransaction, error)
- func Init(file string) error
- func PutEthTransaction(etx *types.EthTransaction) error
- func PutLKTransaction(writer ethdb.Database, tx *types.LKTransaction) error
- func UpdateBlockNum(num *big.Int)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetContractTransaction ¶
func GetContractTransaction(txHash string) (*types.LKTransaction, error)
GetContractTransaction read Contract Transaction
func GetContractTransactionsByBlock ¶
func GetContractTransactionsByBlock(num *big.Int) ([]*types.LKTransaction, error)
GetContractTransactionsByBlock Get Contract Contraction by BlockNum
func GetEthTransaction ¶
GetEthTransaction read Ethereum Transaction
func GetEthTransactionGas ¶
func GetEthTransactionGas(txHash string) (*dbWraper.EthTransactionGas, error)
GetEthTransactionGas query Gas Info of Ethereum Transaction.
func GetSuicideTransaction ¶
func GetSuicideTransaction(txHash string) (*types.LKTransaction, error)
GetSuicideTransaction get Suicide Transaction
func GetSuicideTransactionByBlock ¶
func GetSuicideTransactionByBlock(num *big.Int) ([]*types.LKTransaction, error)
GetSuicideTransactionByBlock get Suicide Transaction by block number
func PutEthTransaction ¶
func PutEthTransaction(etx *types.EthTransaction) error
PutEthTransaction write Ethereum Transaction
func PutLKTransaction ¶
func PutLKTransaction(writer ethdb.Database, tx *types.LKTransaction) error
PutLKTransaction write internal Transaction. @Todo To Be Continued....
func UpdateBlockNum ¶
UpdateBlockNum Update BlockNum for db record after BeginBlock.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.