diff --git a/core/tracing/hooks.go b/core/tracing/hooks.go index 684233544be..4d21b998df7 100644 --- a/core/tracing/hooks.go +++ b/core/tracing/hooks.go @@ -110,9 +110,6 @@ type ( - Chain events - */ - // BlockchainInitHook is called when the blockchain is initialized. - BlockchainInitHook = func(chainConfig *chain.Config) - // BlockStartHook is called before executing `block`. // `td` is the total difficulty prior to `block`. BlockStartHook = func(event BlockEvent) @@ -120,11 +117,6 @@ type ( // BlockEndHook is called after executing a block. BlockEndHook = func(err error) - // SkippedBlockHook indicates a block was skipped during processing - // due to it being known previously. This can happen e.g. when recovering - // from a crash. - SkippedBlockHook = func(event BlockEvent) - // GenesisBlockHook is called when the genesis block is being processed. GenesisBlockHook = func(genesis *types.Block, alloc types.GenesisAlloc) @@ -158,11 +150,9 @@ type Hooks struct { OnFault FaultHook OnGasChange GasChangeHook // Chain events - OnBlockchainInit BlockchainInitHook - OnBlockStart BlockStartHook - OnBlockEnd BlockEndHook - OnSkippedBlock SkippedBlockHook - OnGenesisBlock GenesisBlockHook + OnBlockStart BlockStartHook + OnBlockEnd BlockEndHook + OnGenesisBlock GenesisBlockHook // State events OnBalanceChange BalanceChangeHook OnNonceChange NonceChangeHook