Parcourir la source

add NewMinedBlockEvent

zelig il y a 11 ans
Parent
commit
5022a31889
1 fichiers modifiés avec 3 ajouts et 0 suppressions
  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 }