executor

package
Version: v1.65.3 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2021 License: BSD-3-Clause Imports: 8 Imported by: 3

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, cfg *types.Chain33Config, sub []byte)

Init method

func InitExecType

func InitExecType()

InitExecType ...

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_GetPerfState added in v1.65.2

func (val *ValNode) Query_GetPerfState(in *pty.ReqPerfStat) (types.Message, error)

Query_GetPerfState method

func (*ValNode) Query_GetValNodeByHeight

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

Query_GetValNodeByHeight method

Jump to

Keyboard shortcuts

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