diff options
author | obscuren <geffobscura@gmail.com> | 2014-03-06 20:06:54 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-03-06 20:06:54 +0800 |
commit | e7770b2332067ab0492fe46374713dbdf4ea1ac0 (patch) | |
tree | e1c65cbbf24d1e1460dd2f90d1130b11922e996b /ethchain | |
parent | be543a6d178063a60d404a373ced296ed6d4744c (diff) | |
download | go-tangerine-e7770b2332067ab0492fe46374713dbdf4ea1ac0.tar go-tangerine-e7770b2332067ab0492fe46374713dbdf4ea1ac0.tar.gz go-tangerine-e7770b2332067ab0492fe46374713dbdf4ea1ac0.tar.bz2 go-tangerine-e7770b2332067ab0492fe46374713dbdf4ea1ac0.tar.lz go-tangerine-e7770b2332067ab0492fe46374713dbdf4ea1ac0.tar.xz go-tangerine-e7770b2332067ab0492fe46374713dbdf4ea1ac0.tar.zst go-tangerine-e7770b2332067ab0492fe46374713dbdf4ea1ac0.zip |
Added miner state
Diffstat (limited to 'ethchain')
-rw-r--r-- | ethchain/state_manager.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ethchain/state_manager.go b/ethchain/state_manager.go index 7085146df..0923b017e 100644 --- a/ethchain/state_manager.go +++ b/ethchain/state_manager.go @@ -21,7 +21,6 @@ type EthManager interface { Broadcast(msgType ethwire.MsgType, data []interface{}) } -// TODO rename to state manager type StateManager struct { // Mutex for locking the block processor. Blocks can only be handled one at a time mutex sync.Mutex @@ -50,6 +49,8 @@ type StateManager struct { // Comparative state it used for comparing and validating end // results compState *State + + miningState *State } func NewStateManager(ethereum EthManager) *StateManager { |