aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzelig <viktor.tron@gmail.com>2014-12-15 02:18:24 +0800
committerzelig <viktor.tron@gmail.com>2014-12-15 04:27:06 +0800
commit5022a31889f87b95dd664cac2b049d5081e4af61 (patch)
tree84e59f03667fde523c01dc920ca5c819feb8b831
parentc2af10d256f9fb29f86fc0c33abafeb62ebbe570 (diff)
downloaddexon-5022a31889f87b95dd664cac2b049d5081e4af61.tar
dexon-5022a31889f87b95dd664cac2b049d5081e4af61.tar.gz
dexon-5022a31889f87b95dd664cac2b049d5081e4af61.tar.bz2
dexon-5022a31889f87b95dd664cac2b049d5081e4af61.tar.lz
dexon-5022a31889f87b95dd664cac2b049d5081e4af61.tar.xz
dexon-5022a31889f87b95dd664cac2b049d5081e4af61.tar.zst
dexon-5022a31889f87b95dd664cac2b049d5081e4af61.zip
add NewMinedBlockEvent
-rw-r--r--core/events.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/events.go b/core/events.go
index deeba3e98..fe106da49 100644
--- a/core/events.go
+++ b/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 }