Documentation ¶
Overview ¶
Package eventtype
@author: xwc1125
Index ¶
- type BlockBroadcastEvent
- type BlockReadyEvent
- type ChainEvent
- type ChainHeadEvent
- type ChainSideEvent
- type CommitBlockEvent
- type CommitCompleteEvent
- type ErrOccurEvent
- type ExecBlockEvent
- type ExecFinishEvent
- type ExecPendingTxEvent
- type NewTxEvent
- type NewTxsEvent
- type ProposeBlockEvent
- type RollbackEvent
- type TxBroadcastEvent
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlockReadyEvent ¶
BlockReadyEvent 区块池收到后进行入库处理
type CommitBlockEvent ¶
CommitBlockEvent 提交区块的事件
type CommitCompleteEvent ¶
CommitCompleteEvent 提交完成的事件
type ExecFinishEvent ¶
type ExecFinishEvent struct {
Res bool // 如果执行成功,返回true
}
ExecFinishEvent 执行结束事件
type ExecPendingTxEvent ¶
type ExecPendingTxEvent struct {
Txs models.Transactions
}
ExecPendingTxEvent 执行pending交易事件
type ProposeBlockEvent ¶
ProposeBlockEvent 提议区块事件
Click to show internal directories.
Click to hide internal directories.