Bitcoin peer discovery is the process by which a newly started Bitcoin node finds other nodes to contact. It is a bootstrapping mechanism, not a Bitcoin consensus rule. A node needs an initial reachable peer, but the service that supplies a candidate address does not thereby gain authority over valid blocks or transactions.
Bitcoin's early client used Internet Relay Chat (IRC) for this purpose. Fixed seed addresses and DNS seeds later reduced dependence on IRC, which was first disabled by default and then removed. The distinction between those last two events has sometimes been lost in retrospective timelines.
2009: IRC as an address directory
In the source tagged v0.1.5, irc.cpp takes a peer's IPv4 address and port, packs them into a six-byte structure, encodes them with Base58Check and prefixes the result with u. A routable node could advertise this encoded address as its IRC nickname; a node without a routable address used a random nickname prefixed with x. Bitcoin v0.1.5 IRC source
The client contacted chat.freenode.net on port 6667, joined #bitcoin and issued WHO #bitcoin. It decoded suitable nicknames into candidate Bitcoin node addresses. The same file includes a fallback numeric address for reaching the IRC server. That is not a hard-coded address of Satoshi's Bitcoin node or a trusted chain server. Direct source
Once connected to a Bitcoin peer, a client could exchange addresses using addr and getaddr messages. IRC helped with introduction; Bitcoin networking continued without routing its transaction history through that channel. Direct networking source
The source proves how the mechanism was programmed. It does not identify every peer that actually occupied the channel or independently prove that their advertised listening ports were reachable.
2010: fallback seeds and LFnet
The v0.2.12 networking code includes a fixed pnSeed array of IP addresses, introduced in a comment as fallback nodes if IRC was not working. These were candidates for contacting the network, not permanently trusted validators. Bitcoin v0.2.12 source
The change of IRC network was discussed before the software switched. In a thread opened on 15 March 2010, soultcer described a conversation with a Freenode staff member who had noticed Bitcoin's automated channel because it resembled a botnet command channel. The opening post was last edited on 15 April 2013; its surviving wording cannot all be authenticated as the exact 2010 text. Satoshi's dated 16 March reply nevertheless thanks soultcer for speaking to the staff member and explains why IRC was temporary: early nodes had changing IP addresses, while Bitcoin's addr mechanism could exchange peer lists after first contact. Laszlo Hanyecz offered irc.lfnet.org, a network he helped operate, on 14 June. On 18 June, Satoshi reported that the SVN version now tried IRC first and fell back to hard-coded seed nodes. These are contemporary participant explanations and implementation-status reports, not direct measurements of network availability. Participant discussion and visible edit date
On 25 June, Xunie posted IRC log excerpts showing Freenode K-line disconnections of Bitcoin nicknames. The Madhatter later reported rapid connections from experimental nodes and suspected that his testing had contributed, without demonstrating the full scope of the incident. Satoshi explained that a new installation of Bitcoin 0.2 still required IRC for initial discovery, while 0.3 could bootstrap without it. On 26 June Satoshi announced 0.3.0.RC2 using LFnet and said Freenode's visibility among other users and moderators made Laszlo's network a better fit. The tagged v0.3.0 IRC source corroborates the change of hostname. The posts establish the participants' stated reasoning; they do not prove that the entire Bitcoin network became inoperable. Contemporary incident and release discussion · Bitcoin v0.3.0 source
IRC offered relatively fresh peer candidates because connected clients remained visible in the channel, but that visibility had a cost. On 8 June, lachesis noted that IRC observers could track when Bitcoin clients came and went, raising privacy concerns; Satoshi's 14 June account contrasted IRC's online-presence advantage with the more resilient but potentially stale addr lists. During the June disconnections, Xunie relayed a Freenode user's unease about an application making undisclosed background IRC connections. On 30 June, Bitcoiner likewise said they had not realised Bitcoin connected to IRC automatically. These are attributed contemporary concerns, not a measured survey of user attitudes. Bootstrapping design discussion · Incident and user reactions
2011: DNS and multiple IRC channels
Version v0.3.21 contained a DNSAddressSeed() implementation with two DNS seed hostnames. Startup invoked it only when the -dnsseed option was present. This was opt-in, not yet the normal bootstrap path. DNS seed implementation · Startup condition
For mainnet, the IRC code in v0.3.22 randomly selected one of the numbered channels #bitcoin00 through #bitcoin99; testnet instead used #bitcoinTEST. These channel names served address discovery; their presence does not establish one hundred separate human communities. Direct source
The same IRC implementation did more than collect addresses. It sent USERHOST to ask the IRC server which IP address it observed for the node's connection. If the returned address was routable and the node was not using a proxy, the client updated its local advertised IP and changed its encoded nickname before joining a channel. The seeding thread also exited for -connect mode or a node not accepting inbound connections. This code discovers and advertises an externally observed address; it does not test whether the advertised Bitcoin listening port is reachable. Bitcoin v0.3.22 IRC implementation
By v0.3.24, DNSAddressSeed() was called by default unless -nodnsseed was supplied. The default route for obtaining candidate peers had changed without changing Bitcoin's chain-validation rules. Startup code
2012–2013: off by default, then removed
The v0.6.0 help text states -irc has default: 0, while -dnsseed has default: 1. IRC support remained available as an option; startup code separately enabled it for testnet unless overridden. v0.6.0 option defaults
At v0.8.1, src/irc.cpp was still present and explicitly checked for the opt-in -irc setting. At v0.8.2, the file was gone, its option was absent from startup help and the release notes explicitly recorded the removal of IRC seeding support. A 2023 answer by Bitcoin developer Pieter Wuille dates removal to 0.9.0; the earlier versioned code and release note provide the firmer boundary. Later expert account · v0.8.1 source · v0.8.2 startup code · v0.8.2 release notes
2017–2018: pruned peers as candidates
BIP 159, assigned 11 May 2017, introduced NODE_NETWORK_LIMITED for nodes that can serve recent blocks but not complete block history. It separates '''discovering a peer's address** from advertising which requests that peer can satisfy. Bitcoin Core 0.16.0 (February 2018) shipped service-bit signaling; 0.17.0 (October 2018) shipped logic for accepting limited-service addresses and connecting to such peers after initial synchronization. The bit promises at least 288 recent blocks, not arbitrary historical data. BIP 159 · 0.16.0 release notes · 0.17.0 release notes
2019–2021: peer-address gossip expands beyond legacy IP formats
The BIP 155 proposal, assigned on **27 February 2019''', addressed another discovery limitation: the legacy addr message used a fixed 16-byte address field, which could not encode a Tor v3 onion service's 32-byte public-key component. BIP 155 specified addrv2 entries with an explicit network ID and variable-length address, making room for Tor v3 and I2P and other network families. Unlike IRC or DNS seeding, addrv2 is chiefly a way to exchange candidates after peers have connected; it does not replace the initial bootstrap question. Original 2019 draft · Maintained BIP
The compatibility negotiation changed during specification work. A dedicated sendaddrv2 signal was added in 2020; a 7 December 2020 revision required the signal to be sent after receiving the peer's version but before sending verack. A peer that does not request addrv2 continues to receive the older addr form, with unsupported network addresses omitted. This is version-aware introduction, not evidence that every recipient can contact every address. Handshake revision · BIP 155
Bitcoin Core 0.21.0, announced 14 January 2021, shipped Tor v3 support and BIP 155 address gossip. It also changed the peers.dat format and introduced anchors.dat to attempt reconnection to the previous two outbound block-relay-only peers after restart. The first is durable address storage; the second is a separate peer-continuity mechanism. Core 22.0, released 13 September 2021, added I2P connectivity and removed Tor v2 address support. Those implementation dates should not be conflated with BIP assignment or with universal network adoption. 0.21.0 announcement · 0.21.0 release notes · 22.0 announcement · 22.0 release notes
The overlay-network entries illustrate how these steps can diverge. Cjdns was already an addrv2 network ID in the original numbered 2019 BIP, but full Cjdns support, including address relay and automatic peer selection, reached Bitcoin Core only with 23.0 in April 2022. Yggdrasil was added to the BIP's network-ID table in November 2021, after Core's original addrv2 release; its proposed Core implementation closed without merging in September 2022. The source record therefore distinguishes encodable in a standard, understood by particular software, and available as a reachable network route. Original BIP · Yggdrasil addition · Core 23.0 · Unmerged Yggdrasil PR · BIP 155
The reachability side remained contested. In August 2026, Core developers discussed whether Cjdns's small observed peer population justified continued built-in support. Participants' node and seeder measurements are bounded first-party observations, not a global survey. '''Core 32.1's release notes (27 October 2026) describe possible removal as under consideration**; they do not announce that the feature has been removed. This is a maintenance and network-resilience question, not a change to Bitcoin consensus. Developer discussion · Official 32.1 release record · BIP 155
2023–2024: encrypting an established peer connection
A different networking problem was addressed by BIP 324, the v2 encrypted transport. Whereas BIP 155 changes which peer addresses can be exchanged, BIP 324 changes how two nodes communicate after a connection attempt: its ElligatorSwift-based handshake and encrypted message transport make passive packet inspection and identification of Bitcoin traffic more difficult. It does **not''' authenticate the peer's identity, prevent every active interception, solve initial bootstrap or change Bitcoin consensus rules. Maintained BIP — first-party specification
Bitcoin Core 26.0, released 6 December 2023, shipped v2 transport as an optional experimental feature, initially off by default. Core 27.0, released 16 April 2024, enabled it by default, still allowing v1 connections and fallback. Thus implemented, available, enabled by default and used by a particular connection are four different claims. The getpeerinfo RPC exposes transport_protocol_type so an operator can inspect the transport of an actual peer connection. 26.0 release notes · 27.0 release notes · BIP 324
A separate relay question: BIP 330 and Erlay
BIP 330 addresses an adjacent cost of being connected to many peers. The Bitcoin node's ordinary inv relay may announce the same unconfirmed transaction identifier redundantly over many connections. BIP 330 proposes compact set reconciliation, so peers can work out which transactions one knows and the other lacks without exchanging every known identifier. This is transaction announcement traffic, not a method for discovering the peers' IP addresses and not a change to transaction validity. BIP 330 specification
The five-author Erlay research paper was published in 2019; the maintained two-author BIP carries a 25 September 2019 assigned date. Bitcoin Core merged the Minisketch reconciliation library in November 2021 and the sendtxrcncl support signal in October 2022. Those components did not complete the proposed relay protocol. In 2026, developers were still debating its benefits and complexity, and a new unmerged experimental design kept ordinary full-relay connections while adding low-bandwidth reconciliation-only links as a possible backup against censorship or partitioning. The archive records this as ongoing proposal work, not a deployed replacement for flooding. Original research · Minisketch merge · Signaling merge · 2026 discussion · New experimental PR
Not the BitDNS IRC record
BitDNS documents a November 2010 forum discussion whose author says the idea began in an IRC conversation. That statement does not by itself identify the same IRC channel, purpose or set of participants. The machine-readable peer directory and the human design discussion should not be merged into a single episode. Contemporary forum thread
The surviving IRC record
A surviving index of #bitcoin-dev chat includes a transcript dated 22 September 2010 with timestamped developer and community discussion. It is a later-hosted copy of a human discussion channel, not an observed list of automated Bitcoin nicknames in the 2009 #bitcoin peer-discovery channel. The earliest date in this index is not proof that logging began that day, nor does it establish that all messages survived.
A forum post dated 8 June 2010 by Cdecker now displays a link to BitcoinStats bitcoin-dev logs in its account signature, below the message. Since forum signatures can change independently of older messages, and no contemporary capture of this signature was verified, the link is not evidence that BitcoinStats was already publishing those logs in June 2010. It is a useful lead, not a securely dated primary record.
In a research note published 15 September 2016, Paul Ellenbogen reported discrepancies between then-current BitcoinStats #bitcoin-dev logs and archived copies. He suggested a backend bug as a possible explanation, without proving intentional changes. The comparison demonstrates a preservation risk, not what happened on the separate 2009 peer-discovery channel.
Interpretation and open evidence
The movement from IRC to fixed addresses and DNS shows that peer introduction can evolve without redesigning Bitcoin consensus. It also shows why repository archaeology needs careful verbs: implemented, enabled by default, optionally available and removed are not interchangeable.
Recover independently dated 2009-era
#bitcoin peer-discovery logs showing advertised node nicknames. Later #bitcoin-dev conversations and forum signatures do not establish seed-channel occupancy or listening-port reachability.