aboutsummaryrefslogtreecommitdiffstats
path: root/ethereum.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-10-20 17:53:11 +0800
committerobscuren <geffobscura@gmail.com>2014-10-20 17:53:11 +0800
commit097ba56df59293f9225a8ecdc9e1c43a5ad891bb (patch)
tree2aba3bb53afd2ff8738c2e71526454917707b7ed /ethereum.go
parent33ca8d7b8f3d4db4b01890e39fa806766fbe8f84 (diff)
downloaddexon-097ba56df59293f9225a8ecdc9e1c43a5ad891bb.tar
dexon-097ba56df59293f9225a8ecdc9e1c43a5ad891bb.tar.gz
dexon-097ba56df59293f9225a8ecdc9e1c43a5ad891bb.tar.bz2
dexon-097ba56df59293f9225a8ecdc9e1c43a5ad891bb.tar.lz
dexon-097ba56df59293f9225a8ecdc9e1c43a5ad891bb.tar.xz
dexon-097ba56df59293f9225a8ecdc9e1c43a5ad891bb.tar.zst
dexon-097ba56df59293f9225a8ecdc9e1c43a5ad891bb.zip
Renamed block_chain to chain_manager
Diffstat (limited to 'ethereum.go')
-rw-r--r--ethereum.go6
1 files changed, 3 insertions, 3 deletions
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
}