aboutsummaryrefslogtreecommitdiffstats
path: root/core/events.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-03-06 22:50:44 +0800
committerobscuren <geffobscura@gmail.com>2015-03-06 22:50:44 +0800
commit8d9be18b296afb8302249dcc96651aabb0975e26 (patch)
tree70b8e2ac38edcb8968b946bcfc0772f188d668d7 /core/events.go
parentb72ca57775c7baa6d83cf00093496c9836039d47 (diff)
downloadgo-tangerine-8d9be18b296afb8302249dcc96651aabb0975e26.tar
go-tangerine-8d9be18b296afb8302249dcc96651aabb0975e26.tar.gz
go-tangerine-8d9be18b296afb8302249dcc96651aabb0975e26.tar.bz2
go-tangerine-8d9be18b296afb8302249dcc96651aabb0975e26.tar.lz
go-tangerine-8d9be18b296afb8302249dcc96651aabb0975e26.tar.xz
go-tangerine-8d9be18b296afb8302249dcc96651aabb0975e26.tar.zst
go-tangerine-8d9be18b296afb8302249dcc96651aabb0975e26.zip
Queued approach to delivering chain events
Diffstat (limited to 'core/events.go')
-rw-r--r--core/events.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/core/events.go b/core/events.go
index 4cbbc609c..23678ef60 100644
--- a/core/events.go
+++ b/core/events.go
@@ -16,3 +16,13 @@ type NewMinedBlockEvent struct{ Block *types.Block }
// ChainSplit is posted when a new head is detected
type ChainSplitEvent struct{ Block *types.Block }
+
+type ChainEvent struct{ Block *types.Block }
+
+type ChainSideEvent struct{ Block *types.Block }
+
+type ChainHeadEvent struct{ Block *types.Block }
+
+// Mining operation events
+type StartMining struct{}
+type TopMining struct{}