diff options
author | Felix Lange <fjl@twurst.com> | 2015-03-08 08:52:49 +0800 |
---|---|---|
committer | Felix Lange <fjl@twurst.com> | 2015-03-08 08:58:35 +0800 |
commit | fb53a9362e1238d8edb466d77427dc3cbb13eb20 (patch) | |
tree | 8ed3fbda85d4a62fe8225190493b14014e7b947f /eth | |
parent | 3750ec7b7de04d8482b798e73f04637ea9e1ca89 (diff) | |
download | go-tangerine-fb53a9362e1238d8edb466d77427dc3cbb13eb20.tar go-tangerine-fb53a9362e1238d8edb466d77427dc3cbb13eb20.tar.gz go-tangerine-fb53a9362e1238d8edb466d77427dc3cbb13eb20.tar.bz2 go-tangerine-fb53a9362e1238d8edb466d77427dc3cbb13eb20.tar.lz go-tangerine-fb53a9362e1238d8edb466d77427dc3cbb13eb20.tar.xz go-tangerine-fb53a9362e1238d8edb466d77427dc3cbb13eb20.tar.zst go-tangerine-fb53a9362e1238d8edb466d77427dc3cbb13eb20.zip |
accounts: AccountManager -> Manager
Diffstat (limited to 'eth')
-rw-r--r-- | eth/backend.go | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/eth/backend.go b/eth/backend.go index cc5284dfa..680cc175a 100644 --- a/eth/backend.go +++ b/eth/backend.go @@ -59,7 +59,7 @@ type Config struct { Dial bool MinerThreads int - AccountManager *accounts.AccountManager + AccountManager *accounts.Manager } func (cfg *Config) parseBootNodes() []*discover.Node { @@ -115,7 +115,7 @@ type Ethereum struct { txPool *core.TxPool chainManager *core.ChainManager blockPool *blockpool.BlockPool - accountManager *accounts.AccountManager + accountManager *accounts.Manager whisper *whisper.Whisper net *p2p.Server @@ -204,21 +204,21 @@ func New(config *Config) (*Ethereum, error) { return eth, nil } -func (s *Ethereum) Logger() logger.LogSystem { return s.logger } -func (s *Ethereum) Name() string { return s.net.Name } -func (s *Ethereum) AccountManager() *accounts.AccountManager { return s.accountManager } -func (s *Ethereum) ChainManager() *core.ChainManager { return s.chainManager } -func (s *Ethereum) BlockProcessor() *core.BlockProcessor { return s.blockProcessor } -func (s *Ethereum) TxPool() *core.TxPool { return s.txPool } -func (s *Ethereum) BlockPool() *blockpool.BlockPool { return s.blockPool } -func (s *Ethereum) Whisper() *whisper.Whisper { return s.whisper } -func (s *Ethereum) EventMux() *event.TypeMux { return s.eventMux } -func (s *Ethereum) Db() ethutil.Database { return s.db } -func (s *Ethereum) Miner() *miner.Miner { return s.miner } -func (s *Ethereum) IsListening() bool { return true } // Always listening -func (s *Ethereum) PeerCount() int { return s.net.PeerCount() } -func (s *Ethereum) Peers() []*p2p.Peer { return s.net.Peers() } -func (s *Ethereum) MaxPeers() int { return s.net.MaxPeers } +func (s *Ethereum) Logger() logger.LogSystem { return s.logger } +func (s *Ethereum) Name() string { return s.net.Name } +func (s *Ethereum) AccountManager() *accounts.Manager { return s.accountManager } +func (s *Ethereum) ChainManager() *core.ChainManager { return s.chainManager } +func (s *Ethereum) BlockProcessor() *core.BlockProcessor { return s.blockProcessor } +func (s *Ethereum) TxPool() *core.TxPool { return s.txPool } +func (s *Ethereum) BlockPool() *blockpool.BlockPool { return s.blockPool } +func (s *Ethereum) Whisper() *whisper.Whisper { return s.whisper } +func (s *Ethereum) EventMux() *event.TypeMux { return s.eventMux } +func (s *Ethereum) Db() ethutil.Database { return s.db } +func (s *Ethereum) Miner() *miner.Miner { return s.miner } +func (s *Ethereum) IsListening() bool { return true } // Always listening +func (s *Ethereum) PeerCount() int { return s.net.PeerCount() } +func (s *Ethereum) Peers() []*p2p.Peer { return s.net.Peers() } +func (s *Ethereum) MaxPeers() int { return s.net.MaxPeers } // Start the ethereum func (s *Ethereum) Start() error { |