aboutsummaryrefslogtreecommitdiffstats
path: root/core/events.go
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 /core/events.go
parentc2af10d256f9fb29f86fc0c33abafeb62ebbe570 (diff)
downloadgo-tangerine-5022a31889f87b95dd664cac2b049d5081e4af61.tar
go-tangerine-5022a31889f87b95dd664cac2b049d5081e4af61.tar.gz
go-tangerine-5022a31889f87b95dd664cac2b049d5081e4af61.tar.bz2
go-tangerine-5022a31889f87b95dd664cac2b049d5081e4af61.tar.lz
go-tangerine-5022a31889f87b95dd664cac2b049d5081e4af61.tar.xz
go-tangerine-5022a31889f87b95dd664cac2b049d5081e4af61.tar.zst
go-tangerine-5022a31889f87b95dd664cac2b049d5081e4af61.zip
add NewMinedBlockEvent
Diffstat (limited to 'core/events.go')
-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 }