executor

package
v0.0.0-...-0abe6a2 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2019 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CalcValNodeBlockInfoHeightKey

func CalcValNodeBlockInfoHeightKey(height int64) []byte

CalcValNodeBlockInfoHeightKey method

func CalcValNodeUpdateHeightIndexKey

func CalcValNodeUpdateHeightIndexKey(height int64, index int) []byte

CalcValNodeUpdateHeightIndexKey method

func CalcValNodeUpdateHeightKey

func CalcValNodeUpdateHeightKey(height int64) []byte

CalcValNodeUpdateHeightKey method

func GetName

func GetName() string

GetName method

func Init

func Init(name string, sub []byte)

Init method

Types

type ValNode

type ValNode struct {
	drivers.DriverBase
}

ValNode strucyt

func (*ValNode) CheckReceiptExecOk

func (val *ValNode) CheckReceiptExecOk() bool

CheckReceiptExecOk return true to check if receipt ty is ok

func (*ValNode) CheckTx

func (val *ValNode) CheckTx(tx *types.Transaction, index int) error

CheckTx method

func (*ValNode) ExecDelLocal_BlockInfo

func (val *ValNode) ExecDelLocal_BlockInfo(blockInfo *pty.TendermintBlockInfo, tx *types.Transaction, receipt *types.ReceiptData, index int) (*types.LocalDBSet, error)

ExecDelLocal_BlockInfo method

func (*ValNode) ExecDelLocal_Node

func (val *ValNode) ExecDelLocal_Node(node *pty.ValNode, tx *types.Transaction, receipt *types.ReceiptData, index int) (*types.LocalDBSet, error)

ExecDelLocal_Node method

func (*ValNode) ExecLocal_BlockInfo

func (val *ValNode) ExecLocal_BlockInfo(blockInfo *pty.TendermintBlockInfo, tx *types.Transaction, receipt *types.ReceiptData, index int) (*types.LocalDBSet, error)

ExecLocal_BlockInfo method

func (*ValNode) ExecLocal_Node

func (val *ValNode) ExecLocal_Node(node *pty.ValNode, tx *types.Transaction, receipt *types.ReceiptData, index int) (*types.LocalDBSet, error)

ExecLocal_Node method

func (*ValNode) Exec_BlockInfo

func (val *ValNode) Exec_BlockInfo(blockInfo *pty.TendermintBlockInfo, tx *types.Transaction, index int) (*types.Receipt, error)

Exec_BlockInfo method

func (*ValNode) Exec_Node

func (val *ValNode) Exec_Node(node *pty.ValNode, tx *types.Transaction, index int) (*types.Receipt, error)

Exec_Node method

func (*ValNode) GetDriverName

func (val *ValNode) GetDriverName() string

GetDriverName method

func (*ValNode) Query_GetBlockInfoByHeight

func (val *ValNode) Query_GetBlockInfoByHeight(in *pty.ReqBlockInfo) (types.Message, error)

Query_GetBlockInfoByHeight method

func (*ValNode) Query_GetValNodeByHeight

func (val *ValNode) Query_GetValNodeByHeight(in *pty.ReqNodeInfo) (types.Message, error)

Query_GetValNodeByHeight method

Jump to

Keyboard shortcuts

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