Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: TierNolan on June 29, 2011, 08:30:35 PM



Title: IRC server - alternative port option
Post by: TierNolan on June 29, 2011, 08:30:35 PM
The standard client connects to irc.lfnet.org for discovery.  Some ISPs disable IRC on the default port, it would be helpful to be able to set a different port in bitcoin.conf.

Is lfnet controlled by the dev team?  If so, could more than 1 port be made available for connecting.




Title: Re: IRC server - alternative port option
Post by: WakiMiko on June 29, 2011, 10:10:15 PM
irc.lfnet.org listens on ports 6667 to 6669 and 7777, SSL on 6697

it should be trivial to change the port in the source code


Title: Re: IRC server - alternative port option
Post by: gmaxwell on June 30, 2011, 06:09:29 AM
The standard client connects to irc.lfnet.org for discovery.  Some ISPs disable IRC on the default port, it would be helpful to be able to set a different port in bitcoin.conf.
Is lfnet controlled by the dev team?  If so, could more than 1 port be made available for connecting.

Don't bother with the IRC bootstrapping.  Add -dnsseed to your startup arguments.

IRC bootstrapping is going to go away in future versions of bitcoin, so getting more people testing with dnsseed now would be good.


Title: Re: IRC server - alternative port option
Post by: TierNolan on June 30, 2011, 10:45:25 AM
Don't bother with the IRC bootstrapping.  Add -dnsseed to your startup arguments.

IRC bootstrapping is going to go away in future versions of bitcoin, so getting more people testing with dnsseed now would be good.

Do I need to specify an IP address for -dnsseed, or is it hard coded?


Title: Re: IRC server - alternative port option
Post by: gmaxwell on June 30, 2011, 01:55:55 PM
Don't bother with the IRC bootstrapping.  Add -dnsseed to your startup arguments.

IRC bootstrapping is going to go away in future versions of bitcoin, so getting more people testing with dnsseed now would be good.

Do I need to specify an IP address for -dnsseed, or is it hard coded?

No arguments required. (There are some hardcoded dnsseeds in the software)


Title: Re: IRC server - alternative port option
Post by: TierNolan on June 30, 2011, 09:22:50 PM
I submittted a pull, maybe a waste if they are switching to DNS seeding.

However, DNS seeding seems pretty slow at the moment.


Title: Re: IRC server - alternative port option
Post by: gmaxwell on July 01, 2011, 01:46:46 AM
I submittted a pull, maybe a waste if they are switching to DNS seeding.
However, DNS seeding seems pretty slow at the moment.

? It's reliably much faster than IRC in my testing. It pretty much always gets connections within a second of starting.


Title: Re: IRC server - alternative port option
Post by: TierNolan on July 01, 2011, 09:26:22 AM
? It's reliably much faster than IRC in my testing. It pretty much always gets connections within a second of starting.

Hmm, maybe I hadn't ports opened or something.