aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorgary rong <garyrong0905@gmail.com>2018-08-16 19:14:33 +0800
committerPéter Szilágyi <peterke@gmail.com>2018-08-16 19:14:33 +0800
commit54216811a05a78c6aef4d9f5d401eeb0ebac6a84 (patch)
treec6e13e48b88cd4baffc60ee752b2715c68720a34 /core
parent5952d962dc6852fe62f0d363317dae2f224063bd (diff)
downloaddexon-54216811a05a78c6aef4d9f5d401eeb0ebac6a84.tar
dexon-54216811a05a78c6aef4d9f5d401eeb0ebac6a84.tar.gz
dexon-54216811a05a78c6aef4d9f5d401eeb0ebac6a84.tar.bz2
dexon-54216811a05a78c6aef4d9f5d401eeb0ebac6a84.tar.lz
dexon-54216811a05a78c6aef4d9f5d401eeb0ebac6a84.tar.xz
dexon-54216811a05a78c6aef4d9f5d401eeb0ebac6a84.tar.zst
dexon-54216811a05a78c6aef4d9f5d401eeb0ebac6a84.zip
miner: regenerate mining work every 3 seconds (#17413)
* miner: regenerate mining work every 3 seconds * miner: polish
Diffstat (limited to 'core')
-rw-r--r--core/events.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/core/events.go b/core/events.go
index 8d200f2a2..710bdb589 100644
--- a/core/events.go
+++ b/core/events.go
@@ -29,9 +29,6 @@ type PendingLogsEvent struct {
Logs []*types.Log
}
-// PendingStateEvent is posted pre mining and notifies of pending state changes.
-type PendingStateEvent struct{}
-
// NewMinedBlockEvent is posted when a block has been imported.
type NewMinedBlockEvent struct{ Block *types.Block }