From f50ee41c4a84d7006736b1fb2b31d6632b527920 Mon Sep 17 00:00:00 2001 From: Julian Yap Date: Wed, 4 Jul 2018 00:18:06 -1000 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 8267f30456..1e3397aa85 100644 --- a/core/events.go +++ b/core/events.go @@ -26,9 +26,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 @@ -62,19 +59,6 @@ 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 } type GasPriceChanged struct{ Price *big.Int } - -// Mining operation events -type StartMining struct{} -type TopMining struct{}