From b534106cc81f4df3d1facb46450c775e2eb617b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A9ter=20Szil=C3=A1gyi?= Date: Fri, 26 Feb 2016 18:48:39 +0200 Subject: core, miner: add PendingStateEvent to track non-log updates --- core/events.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'core') diff --git a/core/events.go b/core/events.go index c23206cad..bed8c7b90 100644 --- a/core/events.go +++ b/core/events.go @@ -35,6 +35,9 @@ type PendingLogsEvent struct { Logs vm.Logs } +// PendingStateEvent is posted pre mining and notifies of pending state changes. +type PendingStateEvent struct{} + // NewBlockEvent is posted when a block has been imported. type NewBlockEvent struct{ Block *types.Block } -- cgit v1.2.3