From 8d9be18b296afb8302249dcc96651aabb0975e26 Mon Sep 17 00:00:00 2001 From: obscuren Date: Fri, 6 Mar 2015 15:50:44 +0100 Subject: Queued approach to delivering chain events --- core/events.go | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'core/events.go') 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{} -- cgit v1.2.3