aboutsummaryrefslogtreecommitdiffstats
path: root/core/events.go
diff options
context:
space:
mode:
Diffstat (limited to 'core/events.go')
-rw-r--r--core/events.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/core/events.go b/core/events.go
index deeba3e98..4cbbc609c 100644
--- a/core/events.go
+++ b/core/events.go
@@ -10,3 +10,9 @@ 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 }
+
+// ChainSplit is posted when a new head is detected
+type ChainSplitEvent struct{ Block *types.Block }