BIP 324, Version 2 P2P Encrypted Transport Protocol, defines an encrypted transport for communications between Bitcoin nodes. Its purpose is to make passive inspection and casual interference with node traffic more difficult without requiring Bitcoin peers to have known cryptographic identities. The maintained BIP credits Dhruv Mehta, Tim Ruffing, Jonas Schnelli and Pieter Wuille; it carries an assigned date of 8 March 2019. Maintained BIP — first-party specification
The abandoned predecessor
BIP 151, authored by Jonas Schnelli, was the earlier proposal for encrypting Bitcoin peer messages. Its BIP number was assigned in March 2016, it entered the maintained BIPs repository in May, and its design changed during review. A renewed Bitcoin Core implementation attempt, PR #14032, opened in August 2018 with an optional -netencryption setting, but never merged. BIP 151 was marked Withdrawn on 29 March 2019. The BIPs repository explicitly linked it as replaced by BIP 324 when the successor's file was added in January 2023. Original BIP 151 file · Unmerged Core implementation proposal · Withdrawal · Replacement record
The older specification and the revised 2018 proposal should not be treated as a deployed transport. One architectural difference is particularly consequential: BIP 324's ElligatorSwift handshake occurs before ordinary Bitcoin messages, making its opening bytes less easily recognizable. Both designs sought to encrypt peer communication without automatically establishing the other peer's identity, but BIP 324 did not simply ship the earlier wire format. See BIP 151 for the proposal's distinct chronology and limitations. Earlier specification · Later specification
What happened to the earlier identity proposal?
The old BIP 151 encryption scheme was paired with BIP 150, a separate draft for authenticating known peers whose identity keys had been shared out of band. BIP 150 required a BIP 151 encrypted session before exchanging signed challenges; the identity check was optional, and different from transport packet authentication. The proposal was Deferred on 17 July 2024, years after BIP 151's 2019 withdrawal. In January 2026 its status became Closed as part of a repository-wide terminology change. Neither event deployed or withdrew BIP 324. BIP 150 specification · Deferral · Status relabelling
The successor deliberately left room for optional authenticated relationships but did not define the earlier five-message BIP 150 handshake. Developers had already been discussing more private alternatives in April 2018; a 2022 developer talk later described the decision to encrypt ordinary connections without assigning global node identities. These are contemporary design discussion and later first-party explanation respectively, not evidence that the BIP 150 mechanism was secretly incorporated. Meeting record · Developer transcript
Three different networking questions
Bitcoin's older v1 transport carries recognisable Bitcoin message framing in plaintext. An observer can inspect the exchanged messages and recognise the protocol from its opening bytes. BIP 324 replaces that wire transport, when both endpoints use it, with a pseudorandom-looking encrypted stream. It aims to raise the costs of passive surveillance, on-path modification and traffic identification; it does not promise to conceal all network metadata or guarantee anonymity. Specification, motivation and goals
That is different from Bitcoin peer discovery, which asks how a node first finds other nodes, and from BIP 155, which extends the addrv2 message so established peers can advertise Tor v3 and other addresses. A node may learn a contact through addrv2, attempt a v2 transport connection, and still have to validate every block and transaction independently. Address gossip, encrypted communication and consensus verification are separate layers.
What is encrypted, and what is not
The specified handshake uses fresh secp256k1 key material and exchanges 64-byte ElligatorSwift-encoded public keys. ElligatorSwift makes it possible to encode public keys as bytes that resemble random traffic, even before an encryption key has been established. Both peers then derive the session's secrets and a session ID from the key exchange. Encrypted packets use authenticated encryption and periodic rekeying, with optional decoy packets providing a way to shape traffic. The specification also allows variable amounts of initial arbitrary-looking data. Specification, transport layer · ElligatorSwift integration PR — direct implementation record
The word authenticated needs care here. An authenticated-encryption algorithm can detect a modified packet from someone without the session key; '''that does not authenticate the remote node's identity'''. An active man-in-the-middle could establish independent sessions with each side. Out-of-band comparison of the two endpoints' session IDs can make such interference detectable for deliberately arranged connections, but BIP 324 does not itself provide an identity registry or automatic peer authentication. Motivation, session IDs and authentication rationale
Encryption also does not hide everything an observer can see. IP endpoints, connection timing, duration and traffic patterns may remain observable; v1 fallback may be induced by an active attacker. The BIP does not claim that every encrypted connection is censorship-proof or that all traffic analysis becomes impossible. These are limitations the authors discuss, not findings of a separate network-wide audit. Goals and rationale
Signaling and backwards compatibility
Peers advertise potential v2 support through the NODE_P2P_V2 service bit (1 << 11) in address relay. A listening v2-capable peer distinguishes the existing v1 message prefix from a v2 handshake, allowing both protocol versions to coexist. Outbound implementations may retry a failed v2 attempt using v1. Such compatibility keeps older nodes reachable but means that support for v2 does not prove any particular connection actually uses it. Signaling and handshake specification · Core's default-enablement PR
The v2 message representation is also a transport format, not a new set of Bitcoin consensus messages. The specification includes compact identifiers for common P2P message types and compatibility rules for their longer command encodings. Newer changes to that table belong to the maintained BIP history rather than automatically to the 2019 proposal. Application layer and changelog
Proposal, implementation and deployment are different dates
bip-0324.mediawiki in the current bitcoin/bips file history adds a detailed **Draft** bearing the earlier 2019 date. A date inside a preserved document and its Git-file addition date answer different archival questions; the Git record alone does not establish the draft's first public circulation. First preserved file-history commit-v2transport. Its getpeerinfo RPC gained transport_protocol_type and session_id fields. The first is a direct inspection route for a connection's transport version; the second applies to a v2 session. Release announcement · First-party release notes-v2transport=0 and v1 fallback. The enabling PR had merged on **31 January 2024**; merge and public release are separate events. Release announcement · Release notes · Enabling PRWhat the records establish
The BIP and its revision history are first-party specification evidence. Bitcoin Core pull requests establish implementation milestones, while dated release announcements and release notes establish software availability and defaults. None of these sources alone tells us the proportion of live Bitcoin connections actually encrypted, whether every implementation interoperated, or how much real-world surveillance BIP 324 prevented.
It would also be misleading to describe the protocol simply as Bitcoin encryption without specifying its scope. Public Bitcoin blocks and transactions remain public. BIP 324 protects the transport of messages between two peers against a particular set of threats; it does not encrypt the blockchain, change proof-of-work, authenticate unknown peers or replace independent validation.
Open research
Recover independently dated measurements of v1 and v2 connection use, with methodology and sampling limitations, rather than treating Bitcoin Core's default setting as a network-wide deployment count.
Find and compare the pre-October 2022 proposal record with the first file preserved in the current
bitcoin/bips repository. The 2019 assigned date and the 2022 Git-file introduction should not be collapsed into an invented publication event.Trace v2 support outside Bitcoin Core and identify independent interoperability-test records. Core's release notes cannot establish which other implementations adopted the transport or when.