浏览代码

add NewMinedBlockEvent

zelig 11 年之前
父节点
当前提交
5022a31889
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      core/events.go

+ 3 - 0
core/events.go

@@ -10,3 +10,6 @@ type TxPostEvent struct{ Tx *types.Transaction }
 
 // NewBlockEvent is posted when a block has been imported.
 type NewBlockEvent struct{ Block *types.Block }
+
+// NewMinedBlockEvent is posted when a block has been imported.
+type NewMinedBlockEvent struct{ Block *types.Block }