From beb708e6d76d83748c59dd92b2cb6d12194b7900 Mon Sep 17 00:00:00 2001 From: "mark.lin" Date: Fri, 23 Jun 2017 10:39:38 +0800 Subject: [PATCH] core: remove unused events --- core/events.go | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/core/events.go b/core/events.go index bc7c9ddcb3..6f404f612b 100644 --- a/core/events.go +++ b/core/events.go @@ -24,9 +24,6 @@ import ( // TxPreEvent is posted when a transaction enters the transaction pool. type TxPreEvent struct{ Tx *types.Transaction } -// TxPostEvent is posted when a transaction has been processed. -type TxPostEvent struct{ Tx *types.Transaction } - // PendingLogsEvent is posted pre mining and notifies of pending logs. type PendingLogsEvent struct { Logs []*types.Log @@ -54,17 +51,4 @@ type ChainSideEvent struct { Block *types.Block } -type PendingBlockEvent struct { - Block *types.Block - Logs []*types.Log -} - -type ChainUncleEvent struct { - Block *types.Block -} - type ChainHeadEvent struct{ Block *types.Block } - -// Mining operation events -type StartMining struct{} -type TopMining struct{}