diff options
author | obscuren <geffobscura@gmail.com> | 2014-12-10 23:48:39 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-12-10 23:48:39 +0800 |
commit | af6afbaa56efa15abe6a03665c6674b0e2f591c8 (patch) | |
tree | be1f789206f1bec733a1ef0e5f074eb7d686012e /core | |
parent | 1b98cbbfa4f587107fa15fccde7d22102ea4b1c0 (diff) | |
download | go-tangerine-af6afbaa56efa15abe6a03665c6674b0e2f591c8.tar.gz go-tangerine-af6afbaa56efa15abe6a03665c6674b0e2f591c8.tar.zst go-tangerine-af6afbaa56efa15abe6a03665c6674b0e2f591c8.zip |
Removed start/stop methods
Diffstat (limited to 'core')
-rw-r--r-- | core/block_manager.go | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/core/block_manager.go b/core/block_manager.go index 6f952f9f8..80b2542b5 100644 --- a/core/block_manager.go +++ b/core/block_manager.go @@ -90,14 +90,6 @@ func NewBlockManager(ethereum EthManager) *BlockManager { return sm } -func (self *BlockManager) Start() { - statelogger.Debugln("Starting block manager") -} - -func (self *BlockManager) Stop() { - statelogger.Debugln("Stopping state manager") -} - func (sm *BlockManager) CurrentState() *state.StateDB { return sm.eth.ChainManager().CurrentBlock.State() } @@ -106,20 +98,6 @@ func (sm *BlockManager) TransState() *state.StateDB { return sm.transState } -func (sm *BlockManager) MiningState() *state.StateDB { - return sm.miningState -} - -func (sm *BlockManager) NewMiningState() *state.StateDB { - sm.miningState = sm.eth.ChainManager().CurrentBlock.State().Copy() - - return sm.miningState -} - -func (sm *BlockManager) ChainManager() *ChainManager { - return sm.bc -} - func (sm *BlockManager) TransitionState(statedb *state.StateDB, parent, block *types.Block) (receipts types.Receipts, err error) { coinbase := statedb.GetOrNewStateObject(block.Coinbase) coinbase.SetGasPool(block.CalcGasLimit(parent)) |