diff options
author | Péter Szilágyi <peterke@gmail.com> | 2016-03-02 17:24:27 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2016-03-02 17:24:27 +0800 |
commit | 5adc461d58a21f52b3a9e7787732005a46b63e65 (patch) | |
tree | 09d816902506bffd0bdb75b9d8adef1283eb0c49 /core | |
parent | c0bf321ec86118eeec23aab974be55b725f93593 (diff) | |
parent | b534106cc81f4df3d1facb46450c775e2eb617b0 (diff) | |
download | go-tangerine-5adc461d58a21f52b3a9e7787732005a46b63e65.tar go-tangerine-5adc461d58a21f52b3a9e7787732005a46b63e65.tar.gz go-tangerine-5adc461d58a21f52b3a9e7787732005a46b63e65.tar.bz2 go-tangerine-5adc461d58a21f52b3a9e7787732005a46b63e65.tar.lz go-tangerine-5adc461d58a21f52b3a9e7787732005a46b63e65.tar.xz go-tangerine-5adc461d58a21f52b3a9e7787732005a46b63e65.tar.zst go-tangerine-5adc461d58a21f52b3a9e7787732005a46b63e65.zip |
Merge pull request #2267 from karalabe/pending-state-events
core, miner: add PendingStateEvent to track non-log updates.
Diffstat (limited to 'core')
-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 } |