diff options
author | Péter Szilágyi <peterke@gmail.com> | 2016-02-27 00:48:39 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2016-02-29 17:24:58 +0800 |
commit | b534106cc81f4df3d1facb46450c775e2eb617b0 (patch) | |
tree | adcdb56904fc1b864b3d0fe37c7e20311b1aa60f /core/events.go | |
parent | 85865a51b63cdbeaabb76a3729f9b8361a2616d7 (diff) | |
download | go-tangerine-b534106cc81f4df3d1facb46450c775e2eb617b0.tar.gz go-tangerine-b534106cc81f4df3d1facb46450c775e2eb617b0.tar.zst go-tangerine-b534106cc81f4df3d1facb46450c775e2eb617b0.zip |
core, miner: add PendingStateEvent to track non-log updates
Diffstat (limited to 'core/events.go')
-rw-r--r-- | core/events.go | 3 |
1 files changed, 3 insertions, 0 deletions
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 } |