diff options
author | obscuren <geffobscura@gmail.com> | 2014-12-15 20:00:09 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-12-15 20:00:29 +0800 |
commit | 56dac74f71d4d1fffa3e240c7d3cee803dec788d (patch) | |
tree | 50ad3adbb32c6cea0e74a69a313d39dc54b4188b /eth/backend.go | |
parent | c7bc684909ab3d135d25a718d5ff2c725816e0fc (diff) | |
download | dexon-56dac74f71d4d1fffa3e240c7d3cee803dec788d.tar dexon-56dac74f71d4d1fffa3e240c7d3cee803dec788d.tar.gz dexon-56dac74f71d4d1fffa3e240c7d3cee803dec788d.tar.bz2 dexon-56dac74f71d4d1fffa3e240c7d3cee803dec788d.tar.lz dexon-56dac74f71d4d1fffa3e240c7d3cee803dec788d.tar.xz dexon-56dac74f71d4d1fffa3e240c7d3cee803dec788d.tar.zst dexon-56dac74f71d4d1fffa3e240c7d3cee803dec788d.zip |
made mist in a compilable, workable state using the new refactored packages
Diffstat (limited to 'eth/backend.go')
-rw-r--r-- | eth/backend.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/eth/backend.go b/eth/backend.go index 1d991b9ef..e275238bd 100644 --- a/eth/backend.go +++ b/eth/backend.go @@ -147,6 +147,10 @@ func (s *Ethereum) Peers() []*p2p.Peer { return s.server.Peers() } +func (s *Ethereum) MaxPeers() int { + return s.server.MaxPeers +} + // Start the ethereum func (s *Ethereum) Start(seed bool) error { err := s.server.Start() |