From 097ba56df59293f9225a8ecdc9e1c43a5ad891bb Mon Sep 17 00:00:00 2001 From: obscuren Date: Mon, 20 Oct 2014 11:53:11 +0200 Subject: Renamed block_chain to chain_manager --- ethereum.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ethereum.go') diff --git a/ethereum.go b/ethereum.go index e5f73d507..bb8d6db73 100644 --- a/ethereum.go +++ b/ethereum.go @@ -55,7 +55,7 @@ type Ethereum struct { // for later including in the blocks txPool *ethchain.TxPool // The canonical chain - blockChain *ethchain.BlockChain + blockChain *ethchain.ChainManager // The block pool blockPool *BlockPool // Eventer @@ -129,7 +129,7 @@ func New(db ethutil.Database, clientIdentity ethwire.ClientIdentity, keyManager ethereum.blockPool = NewBlockPool(ethereum) ethereum.txPool = ethchain.NewTxPool(ethereum) - ethereum.blockChain = ethchain.NewBlockChain(ethereum) + ethereum.blockChain = ethchain.NewChainManager(ethereum) ethereum.stateManager = ethchain.NewStateManager(ethereum) // Start the tx pool @@ -146,7 +146,7 @@ func (s *Ethereum) ClientIdentity() ethwire.ClientIdentity { return s.clientIdentity } -func (s *Ethereum) BlockChain() *ethchain.BlockChain { +func (s *Ethereum) ChainManager() *ethchain.ChainManager { return s.blockChain } -- cgit