issue: IRC discovery in version 3.24.60

Post Reply
zamgo
Posts: 32
Joined: Tue Jul 19, 2011 9:09 am

issue: IRC discovery in version 3.24.60

Post by zamgo »

There is an issue with IRC peer discovery in version 3.24.60. Current system randomly sends clients to #namecoin0 to #namecoin99, but there are not enough active users on the network to support so many channels. Thus, many folks are reporting being unable to get any connections at startup.

from https://github.com/vinced/namecoin/blob ... rc/irc.cpp

Code: Select all

string channel = hooks->IrcPrefix();
string channel_number = fTestNet ? "" : strprintf("%02d", GetRandInt(100));
if (fTestNet)
  channel += "TEST";
string cmd = "JOIN #" + channel + channel_number + "\r";
note: quick workaround now is to use -addnode to get your first connection.

twobits
Posts: 26
Joined: Fri Sep 02, 2011 10:10 pm
os: bsd

Re: issue: IRC discovery in version 3.24.60

Post by twobits »

zamgo wrote:There is an issue with IRC peer discovery in version 3.24.60. Current system randomly sends clients to #namecoin0 to #namecoin99, but there are not enough active users on the network to support so many channels. Thus, many folks are reporting being unable to get any connections at startup.

from https://github.com/vinced/namecoin/blob ... rc/irc.cpp

Code: Select all

string channel = hooks->IrcPrefix();
string channel_number = fTestNet ? "" : strprintf("%02d", GetRandInt(100));
if (fTestNet)
  channel += "TEST";
string cmd = "JOIN #" + channel + channel_number + "\r";
note: quick workaround now is to use -addnode to get your first connection.
Might make sense to change it to GetRandInt(10) or similar. Though the dns seeding should still let you find nodes even without the -addnode being used, or is that not set up for namecoins?

nodemaster
Posts: 172
Joined: Wed Jun 15, 2011 12:46 pm
os: linux

Re: issue: IRC discovery in version 3.24.60

Post by nodemaster »

Thank you for raising this issue. I was already wondering why I sometimes wait long time for connections after restart of namecoind. But I guess that explains. As a quick workaraund we should gather the pool IP addresses or other well connected 24/7 namecoin nodes. Users can then add them to their bitcoin.conf.

For MasterPool.eu add:

Code: Select all

addnode=178.63.100.86:8334
If I remember correctly we had a few (two?) nodes hardcoded into the client. Are they still online? Is there a possibility to add some nodes to all IRC channels or just spread enough?
Access .bit domains with Firefox in 4 easy steps: https://masterpool.eu/proxy
MasterPool Namecoin Mining Pool

vinced
Posts: 63
Joined: Wed May 18, 2011 1:16 am

Re: issue: IRC discovery in version 3.24.60

Post by vinced »

zamgo wrote:There is an issue with IRC peer discovery in version 3.24.60. Current system randomly sends clients to #namecoin0 to #namecoin99, but there are not enough active users on the network to support so many channels. Thus, many folks are reporting being unable to get any connections at startup.

from https://github.com/vinced/namecoin/blob ... rc/irc.cpp

Code: Select all

string channel = hooks->IrcPrefix();
string channel_number = fTestNet ? "" : strprintf("%02d", GetRandInt(100));
if (fTestNet)
  channel += "TEST";
string cmd = "JOIN #" + channel + channel_number + "\r";
note: quick workaround now is to use -addnode to get your first connection.
Thank you for the detailed report! A new version pushed: 0.3.24.61

This version uses two IRC channels for now.
!v | Namecoin founder | https://dot-bit.org/

Post Reply