BOMBARCHIVE
Explore

A living reference collection. Written in the wiki, preserved in Git.

The archiveBitcoin

BIP 79

BIP 79, Bustapay: a practical coinjoin protocol, is Ryan Havar's proposal for an ordinary Bitcoin payment in which the recipient contributes transaction inputs. It carries an assigned date of 5 October 2018, with a numbered BIP file entered into canonical Git on 19 October 2018. The document was marked Replaced by BIP 78 on 5 August 2020 and now has the administrative status Closed. Neither status denotes a change to Bitcoin consensus. Maintained BIP 79 — primary · Numbered file — direct record · Replacement status

What Bustapay proposed

The original motivation was both privacy and UTXO management. Observers often cluster transaction inputs under a common owner. By combining a customer input with merchant inputs, the resulting payment can make that heuristic incorrect. The recipient can also avoid accumulating another UTXO, or consolidate coins, during a payment. The maintained proposal asserts that these payments leave no distinctive structure, but the archive has not independently measured whether specific implementations leave statistical fingerprints in real transactions. Motivation and overview

The sender first constructs a fully valid, signed, broadcastable SegWit transaction paying the receiver. An ordinary BIP 21 URI can advertise a Bustapay server using the bpu= key. The sender POSTs the raw binary template transaction to that endpoint. The receiver checks it, adds and signs at least one of its own SegWit inputs, optionally increases the amount paid to itself, and returns a partially signed transaction. The sender verifies that every original input remains with its original sequence and no original output amount decreases, signs its own inputs again, then broadcasts. Specification

The original template was not disposable. If the negotiated transaction does not appear, the recipient may broadcast the already-valid original payment. The proposal uses that fallback to discourage costless probing. It also requires the receiver to reuse the same contributed UTXOs when an original set of inputs appears repeatedly, limiting what can be learned by asking for many proposals. These are design defenses, not proof of complete protection against a malicious participant. Contributed input choice and transaction publishing

The sender must sign only its initial inputs; otherwise a malicious receiver might add a UTXO owned by the sender in the hope it will be signed blindly. The proposal explicitly warns about that case. Signing correctness, ownership privacy and payment completion are distinct properties. Sender validation and final transaction

What Payjoin kept and what it changed

BIP 78, assigned in 2019 and receiving its numbered BIP file in June 2020, retained the idea of a broadcastable fallback transaction and receiver-contributed inputs, but switched to Partially Signed Bitcoin Transactions instead of raw binary templates. The UTXO data in PSBT helps participants verify fees; BIP 78 also introduced structured errors, version signaling, and carefully controlled receiver output substitution for new script forms and transaction cut-through. Bustapay's do not decrease any original output rule was more restrictive. BIP 78 — Relation to BIP 79 and PSBT protocol · BIP 79 — Sender validation

The URI keys must not be silently conflated: BIP 79 advertised bpu=; BIP 78 used pj= and subsequently pjos=0 to prevent output substitution. Shared purpose does not automatically imply compatibility between client software or endpoint request formats. Bustapay URI parameter · BIP 78 addition of pjos=0

The April 2020 merchant record

An unusually useful contemporary source survives. On 16 April 2020, BTCPay Server announced Payjoin support for both incoming merchant invoices and payments from its internal wallet in release 1.0.4.0. The announcement explicitly characterized its implementation as a modified and expanded BIP 79 Bustapay. BTCPay Server 1.0.4.0 — first-party release

That first-party statement precedes the 16 June 2020 numbered-file commit of BIP 78. BTCPay Server's subsequent 26 June 2020 release described improving its Payjoin functionality in connection with the developing standard. Then, on 5 August 2020, BIP 79 was officially marked Replaced. The history is therefore a transition through practice and specification, not a single instant at which one protocol appeared and the other vanished. The April release note does not establish precisely which later BIP 78 rules the tagged BTCPay code implemented. Numbered BIP 78 · BTCPay Server 1.0.5.0 — first-party · Status update

Record of changes

5 October 2018
BIP 79's assigned date, as recorded in its maintained header. BIP header
19 October 2018
A canonical Git edit assigned BIP 79 and renamed the earlier Bustapay draft. Direct diff
29 October 2018
A correction required Access-Control-Allow-Origin: * on HTTP responses, including errors, to assist browser wallets. Direct diff
16 April 2020
BTCPay Server announced a modified Bustapay-derived Payjoin implementation. First-party release
5 August 2020
Git status changed to Replaced and pointed to BIP 78. Direct record
12 January 2026
Repository-wide process vocabulary changed the old Replaced header to Closed, with a Proposed-Replacement entry. This was not a new Bitcoin network event. Current header and version history

Open research

Open question
Recover tagged original rhavar/bustapay sender and receiver code and compare it to the maintained BIP 79 text; current repository reachability is not proof of live deployment.
Open question
Examine BTCPay Server 1.0.4.0's tagged code and traces, comparing raw-transaction and PSBT paths against the subsequent BIP 78 drafts.
Open question
Recover the dated 2018 design discussion and earlier Pay-to-Endpoint precursor rather than inferring implementation or author continuity from similar names.

Evidence status

BIP documents and Git diffs are direct primary records. BTCPay's dated release note is a contemporary first-party implementation statement, not a reproducible transaction test. Chain-analysis effectiveness and complete wallet compatibility remain unverified. The link from Bustapay to BIP 78 is explicit in BIP 78's own explanation.

BIP 78 · BIP 77 · BIP 21 · BIP 321 · BIP 174 · CoinJoin · Bitcoin