good morning!!!!

Skip to content
Snippets Groups Projects
Commit 16871ae2 authored by Jeffrey Wilcke's avatar Jeffrey Wilcke
Browse files

New Peer server

parent 9ed5b4d9
Branches
Tags
No related merge requests found
...@@ -25,7 +25,7 @@ import ( ...@@ -25,7 +25,7 @@ import (
const ( const (
seedTextFileUri string = "http://www.ethereum.org/servers.poc3.txt" seedTextFileUri string = "http://www.ethereum.org/servers.poc3.txt"
seedNodeAddress = "54.76.56.74:30303" seedNodeAddress = "poc-6.ethdev.com:30303"
) )
var ethlogger = ethlog.NewLogger("SERV") var ethlogger = ethlog.NewLogger("SERV")
...@@ -208,6 +208,7 @@ func (s *Ethereum) ProcessPeerList(addrs []string) { ...@@ -208,6 +208,7 @@ func (s *Ethereum) ProcessPeerList(addrs []string) {
} }
func (s *Ethereum) ConnectToPeer(addr string) error { func (s *Ethereum) ConnectToPeer(addr string) error {
fmt.Println("ConnectToPeer", addr)
if s.peers.Len() < s.MaxPeers { if s.peers.Len() < s.MaxPeers {
var alreadyConnected bool var alreadyConnected bool
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment