Documentation ¶
Index ¶
- func CalcQbftNodeBlockInfoHeightKey(height int64) []byte
- func CalcQbftNodeUpdateHeightIndexKey(height int64, index int) []byte
- func CalcQbftNodeUpdateHeightKey(height int64) []byte
- func GetName() string
- func Init(name string, cfg *types.Chain33Config, sub []byte)
- func InitExecType()
- type QbftNode
- func (qbft *QbftNode) CheckReceiptExecOk() bool
- func (qbft *QbftNode) CheckTx(tx *types.Transaction, index int) error
- func (val *QbftNode) ExecDelLocal_BlockInfo(blockInfo *pty.QbftBlockInfo, tx *types.Transaction, ...) (*types.LocalDBSet, error)
- func (val *QbftNode) ExecDelLocal_Node(node *pty.QbftNode, tx *types.Transaction, receipt *types.ReceiptData, ...) (*types.LocalDBSet, error)
- func (val *QbftNode) ExecLocal_BlockInfo(blockInfo *pty.QbftBlockInfo, tx *types.Transaction, ...) (*types.LocalDBSet, error)
- func (val *QbftNode) ExecLocal_Node(node *pty.QbftNode, tx *types.Transaction, receipt *types.ReceiptData, ...) (*types.LocalDBSet, error)
- func (val *QbftNode) Exec_BlockInfo(blockInfo *pty.QbftBlockInfo, tx *types.Transaction, index int) (*types.Receipt, error)
- func (val *QbftNode) Exec_Node(node *pty.QbftNode, tx *types.Transaction, index int) (*types.Receipt, error)
- func (qbft *QbftNode) GetDriverName() string
- func (val *QbftNode) Query_GetBlockInfoByHeight(in *pty.ReqQbftBlockInfo) (types.Message, error)
- func (val *QbftNode) Query_GetCurrentState(in *types.ReqNil) (types.Message, error)
- func (val *QbftNode) Query_GetPerfStat(in *pty.ReqQbftPerfStat) (types.Message, error)
- func (val *QbftNode) Query_GetQbftNodeByHeight(in *pty.ReqQbftNodes) (types.Message, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CalcQbftNodeBlockInfoHeightKey ¶
CalcQbftNodeBlockInfoHeightKey method
func CalcQbftNodeUpdateHeightIndexKey ¶
CalcQbftNodeUpdateHeightIndexKey method
func CalcQbftNodeUpdateHeightKey ¶
CalcQbftNodeUpdateHeightKey method
Types ¶
type QbftNode ¶
type QbftNode struct {
drivers.DriverBase
}
QbftNode strucyt
func (*QbftNode) CheckReceiptExecOk ¶
CheckReceiptExecOk return true to check if receipt ty is ok
func (*QbftNode) CheckTx ¶
func (qbft *QbftNode) CheckTx(tx *types.Transaction, index int) error
CheckTx method
func (*QbftNode) ExecDelLocal_BlockInfo ¶
func (val *QbftNode) ExecDelLocal_BlockInfo(blockInfo *pty.QbftBlockInfo, tx *types.Transaction, receipt *types.ReceiptData, index int) (*types.LocalDBSet, error)
ExecDelLocal_BlockInfo method
func (*QbftNode) ExecDelLocal_Node ¶
func (val *QbftNode) ExecDelLocal_Node(node *pty.QbftNode, tx *types.Transaction, receipt *types.ReceiptData, index int) (*types.LocalDBSet, error)
ExecDelLocal_Node method
func (*QbftNode) ExecLocal_BlockInfo ¶
func (val *QbftNode) ExecLocal_BlockInfo(blockInfo *pty.QbftBlockInfo, tx *types.Transaction, receipt *types.ReceiptData, index int) (*types.LocalDBSet, error)
ExecLocal_BlockInfo method
func (*QbftNode) ExecLocal_Node ¶
func (val *QbftNode) ExecLocal_Node(node *pty.QbftNode, tx *types.Transaction, receipt *types.ReceiptData, index int) (*types.LocalDBSet, error)
ExecLocal_Node method
func (*QbftNode) Exec_BlockInfo ¶
func (val *QbftNode) Exec_BlockInfo(blockInfo *pty.QbftBlockInfo, tx *types.Transaction, index int) (*types.Receipt, error)
Exec_BlockInfo method
func (*QbftNode) Exec_Node ¶
func (val *QbftNode) Exec_Node(node *pty.QbftNode, tx *types.Transaction, index int) (*types.Receipt, error)
Exec_Node method
func (*QbftNode) Query_GetBlockInfoByHeight ¶
Query_GetBlockInfoByHeight method
func (*QbftNode) Query_GetCurrentState ¶
Query_GetCurrentState method
func (*QbftNode) Query_GetPerfStat ¶
Query_GetPerfState method
func (*QbftNode) Query_GetQbftNodeByHeight ¶
Query_GetQbftNodeByHeight method
Click to show internal directories.
Click to hide internal directories.