Documentation ¶
Index ¶
- func CalcValNodeBlockInfoHeightKey(height int64) []byte
- func CalcValNodeUpdateHeightIndexKey(height int64, index int) []byte
- func CalcValNodeUpdateHeightKey(height int64) []byte
- func GetName() string
- func Init(name string, sub []byte)
- type ValNode
- func (val *ValNode) CheckReceiptExecOk() bool
- func (val *ValNode) CheckTx(tx *types.Transaction, index int) error
- func (val *ValNode) ExecDelLocal_BlockInfo(blockInfo *pty.TendermintBlockInfo, tx *types.Transaction, ...) (*types.LocalDBSet, error)
- func (val *ValNode) ExecDelLocal_Node(node *pty.ValNode, tx *types.Transaction, receipt *types.ReceiptData, ...) (*types.LocalDBSet, error)
- func (val *ValNode) ExecLocal_BlockInfo(blockInfo *pty.TendermintBlockInfo, tx *types.Transaction, ...) (*types.LocalDBSet, error)
- func (val *ValNode) ExecLocal_Node(node *pty.ValNode, tx *types.Transaction, receipt *types.ReceiptData, ...) (*types.LocalDBSet, error)
- func (val *ValNode) Exec_BlockInfo(blockInfo *pty.TendermintBlockInfo, tx *types.Transaction, index int) (*types.Receipt, error)
- func (val *ValNode) Exec_Node(node *pty.ValNode, tx *types.Transaction, index int) (*types.Receipt, error)
- func (val *ValNode) GetDriverName() string
- func (val *ValNode) Query_GetBlockInfoByHeight(in *pty.ReqBlockInfo) (types.Message, error)
- func (val *ValNode) Query_GetValNodeByHeight(in *pty.ReqNodeInfo) (types.Message, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CalcValNodeBlockInfoHeightKey ¶
CalcValNodeBlockInfoHeightKey method
func CalcValNodeUpdateHeightIndexKey ¶
CalcValNodeUpdateHeightIndexKey method
func CalcValNodeUpdateHeightKey ¶
CalcValNodeUpdateHeightKey method
Types ¶
type ValNode ¶
type ValNode struct {
drivers.DriverBase
}
ValNode strucyt
func (*ValNode) CheckReceiptExecOk ¶
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) Query_GetBlockInfoByHeight ¶
Query_GetBlockInfoByHeight method
func (*ValNode) Query_GetValNodeByHeight ¶
Query_GetValNodeByHeight method
Click to show internal directories.
Click to hide internal directories.