Bitcoin Forum
June 14, 2024, 07:01:12 AM *
News: Voting for pizza day contest
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Why bitcoin uses irc.lfnet.org?  (Read 1565 times)
talvivaara (OP)
Member
**
Offline Offline

Activity: 104
Merit: 10



View Profile
December 31, 2013, 07:19:21 AM
 #1

So I do realize what irc is used for, but could someone shed some light on the particular network, who is behind it and why is it the one being used?
All I found from google was pretty much that the domain is registered by "s gear" of lilo free network. But even the domain lilofree.net has disappeared.  Undecided

Excuse me, spare a coin for a cyber bum? - BTC: 1KiiToSx5G1ySGrSohvYtTxw5DUjbF7XYc - GET 10% OFF YOUR TRADING FEES FOR A YEAR @ Vircurex (referral link)
gmaxwell
Moderator
Legendary
*
expert
Offline Offline

Activity: 4200
Merit: 8440



View Profile WWW
December 31, 2013, 07:20:31 AM
 #2

Bitcoin doesn't use IRC.
talvivaara (OP)
Member
**
Offline Offline

Activity: 104
Merit: 10



View Profile
December 31, 2013, 07:26:11 AM
 #3

https://en.bitcoin.it/wiki/Network#IRC
So is the wiki obsolete? It says that it's no longer used by default but not that it isn't used at all.
Edit: also checked the channels #bitcoin00 and #bitcoin01 with my irc-client and they are active  Roll Eyes

Excuse me, spare a coin for a cyber bum? - BTC: 1KiiToSx5G1ySGrSohvYtTxw5DUjbF7XYc - GET 10% OFF YOUR TRADING FEES FOR A YEAR @ Vircurex (referral link)
gmaxwell
Moderator
Legendary
*
expert
Offline Offline

Activity: 4200
Merit: 8440



View Profile WWW
December 31, 2013, 12:37:33 PM
 #4

https://en.bitcoin.it/wiki/Network#IRC
So is the wiki obsolete? It says that it's no longer used by default but not that it isn't used at all.
Edit: also checked the channels #bitcoin00 and #bitcoin01 with my irc-client and they are active  Roll Eyes
Antiquated nodes running years old software, a good number of which likely do not work at all at this point.
kjj
Legendary
*
Offline Offline

Activity: 1302
Merit: 1025



View Profile
January 01, 2014, 05:55:00 AM
 #5

IRC was removed completely in 0.8.2.

https://en.bitcoin.it/wiki/Satoshi_Client_Node_Discovery#IRC_Addresses

P.S.  My pre-0.4 node is still running strong.

17Np17BSrpnHCZ2pgtiMNnhjnsWJ2TMqq8
I routinely ignore posters with paid advertising in their sigs.  You should too.
gmaxwell
Moderator
Legendary
*
expert
Offline Offline

Activity: 4200
Merit: 8440



View Profile WWW
January 01, 2014, 08:45:25 AM
 #6

IRC was removed completely in 0.8.2.
The last of code was removed then, but it had been disabled since 0.6.0.

What height is your 0.4 node at?  Straggling 0.7 nodes got stuck again last week.
bitpop
Legendary
*
Offline Offline

Activity: 2912
Merit: 1060



View Profile WWW
January 01, 2014, 12:35:51 PM
 #7

Can someone tell me how exactly our nodes find each other since irc was removed? We don't get added to dns do we?

kjj
Legendary
*
Offline Offline

Activity: 1302
Merit: 1025



View Profile
January 01, 2014, 01:38:48 PM
 #8

IRC was removed completely in 0.8.2.
The last of code was removed then, but it had been disabled since 0.6.0.

What height is your 0.4 node at?  Straggling 0.7 nodes got stuck again last week.

278114 which is current as I'm writing.  Interestingly, this node has never been stuck like that.  About a month after the great forking, I cranked up the locks and objects in DB_CONFIG as a precaution, but I have no idea why it didn't get stuck in the first place.

I also have a 0.7.1 node that got stuck for the first time last week.  Fortunately, it exists for the sole purpose of maintaining a set of old school 2GB block and index files for distribution, so it was easy enough to back it out to the last snapshot.  I have vague plans to replace that node with a script to repack blocks from the new small block files (I don't have much use for the old indexes any more), but unless it starts crashing on a regular basis, I probably won't get around to it any time soon.

Can someone tell me how exactly our nodes find each other since irc was removed? We don't get added to dns do we?

Read the link I posted.

17Np17BSrpnHCZ2pgtiMNnhjnsWJ2TMqq8
I routinely ignore posters with paid advertising in their sigs.  You should too.
gmaxwell
Moderator
Legendary
*
expert
Offline Offline

Activity: 4200
Merit: 8440



View Profile WWW
January 02, 2014, 05:39:59 PM
 #9

but I have no idea why it didn't get stuck in the first place.
The failure was non-deterministic, it depends on where records are laid out relative to BDB pages. I would have been surprised if you hadn't at least failed by now, but the increased locks explains it. Smiley
piotr_n
Legendary
*
Offline Offline

Activity: 2053
Merit: 1354


aka tonikt


View Profile WWW
January 02, 2014, 05:49:01 PM
 #10

Can someone tell me how exactly our nodes find each other since irc was removed? We don't get added to dns do we?
There are seed nodes that are built into the client and when you connect to any of them, you will receive addr messages pointing to other nodes.
You can also ask a peer for its list of known peers, using getaddr message.

Unfortunately there is no protection from receiving a fake addresses via the addr message, but it doesn't seem to be a big issue.
Except maybe for the fact that it is supposedly the reason why the official client isn't willing to connect to ports other than 8332.

Check out gocoin - my original project of full bitcoin node & cold wallet written in Go.
PGP fingerprint: AB9E A551 E262 A87A 13BB  9059 1BE7 B545 CDF3 FD0E
talvivaara (OP)
Member
**
Offline Offline

Activity: 104
Merit: 10



View Profile
January 03, 2014, 01:05:24 AM
 #11

Okay, that's cleared. But what still bugs me is whose irc servers were used and on what basis. Such centralization must have had clear reasons and audits? So if anyone versatile in bitcoin dev-history can clear that I'd be even more wiser. And kind thanks to all who replied above. Smiley

Excuse me, spare a coin for a cyber bum? - BTC: 1KiiToSx5G1ySGrSohvYtTxw5DUjbF7XYc - GET 10% OFF YOUR TRADING FEES FOR A YEAR @ Vircurex (referral link)
gmaxwell
Moderator
Legendary
*
expert
Offline Offline

Activity: 4200
Merit: 8440



View Profile WWW
January 03, 2014, 01:25:37 AM
 #12

Okay, that's cleared. But what still bugs me is whose irc servers were used and on what basis. Such centralization must have had clear reasons and audits? So if anyone versatile in bitcoin dev-history can clear that I'd be even more wiser. And kind thanks to all who replied above. Smiley
Bitcoin originally used freenode, the #bitcoin channel actually, it got kicked off. I don't know the story of how lfnet was picked, but a lot of other networks wouldn't have welcomed the traffic.

The IRC was only used for node introductions, and nodes still had the static seednode list. Bitcoin is ~generally~ designed to be secure against network attackers, so people didn't consider it as critical as you might be. Obviously it wasn't great (esp if you consider privacy) and worked pretty poorly too, which is why its not used anymore.
theymos
Administrator
Legendary
*
Offline Offline

Activity: 5236
Merit: 13087


View Profile
January 03, 2014, 06:20:00 AM
 #13

When Bitcoin was kicked off of Freenode, laszlo allowed us to use LFnet, which is run by him and his associates. It was actually good that Freenode kicked us off: it turns out that IRC is not very good for bootstrapping, and changes to the LFnet server were necessary to prevent nodes from being overwhelmed.

1NXYoJ5xU91Jp83XfVMHwwTUyZFK64BoAD
gmaxwell
Moderator
Legendary
*
expert
Offline Offline

Activity: 4200
Merit: 8440



View Profile WWW
January 03, 2014, 06:31:31 AM
 #14

When Bitcoin was kicked off of Freenode, laszlo allowed us to use LFnet, which is run by him and his associates. It was actually good that Freenode kicked us off: it turns out that IRC is not very good for bootstrapping, and changes to the LFnet server were necessary to prevent nodes from being overwhelmed.
The changes eventually had some deleterious effects too. They limited it so that /who would only return 100 nodes (or something like that), but it was just a constant 100 based on their IRCD's hashtable (or something like that) the end result is eventually the those slots all ended up unresponsive either because they were non-listening/natted nodes or because they were overloaded.  This didn't completely break it since nodes still learned from join messages, but those came in far slower.

talvivaara (OP)
Member
**
Offline Offline

Activity: 104
Merit: 10



View Profile
January 05, 2014, 09:37:43 PM
 #15

Thanks! This clears it. Smiley

Excuse me, spare a coin for a cyber bum? - BTC: 1KiiToSx5G1ySGrSohvYtTxw5DUjbF7XYc - GET 10% OFF YOUR TRADING FEES FOR A YEAR @ Vircurex (referral link)
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!