diff options
author | obscuren <geffobscura@gmail.com> | 2015-03-06 22:50:44 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-03-06 22:50:44 +0800 |
commit | 8d9be18b296afb8302249dcc96651aabb0975e26 (patch) | |
tree | 70b8e2ac38edcb8968b946bcfc0772f188d668d7 /core/events.go | |
parent | b72ca57775c7baa6d83cf00093496c9836039d47 (diff) | |
download | dexon-8d9be18b296afb8302249dcc96651aabb0975e26.tar dexon-8d9be18b296afb8302249dcc96651aabb0975e26.tar.gz dexon-8d9be18b296afb8302249dcc96651aabb0975e26.tar.bz2 dexon-8d9be18b296afb8302249dcc96651aabb0975e26.tar.lz dexon-8d9be18b296afb8302249dcc96651aabb0975e26.tar.xz dexon-8d9be18b296afb8302249dcc96651aabb0975e26.tar.zst dexon-8d9be18b296afb8302249dcc96651aabb0975e26.zip |
Queued approach to delivering chain events
Diffstat (limited to 'core/events.go')
-rw-r--r-- | core/events.go | 10 |
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{} |