Merge pull request #2267 from karalabe/pending-state-events

core, miner: add PendingStateEvent to track non-log updates.
This commit is contained in:
Péter Szilágyi
2016-03-02 11:24:27 +02:00
2 changed files with 12 additions and 2 deletions

View File

@ -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 }