HomeEnglishA Payjoin fee cap must pass more than a satoshi check

A Payjoin fee cap must pass more than a satoshi check

Cryptofocus bron in google
Bybit - sponsored
Ontvang nu een welkomstbonus bij Bybit, maar liefst 30 USDC!

A Payjoin receiver can add bitcoin inputs to a payment, but the sender’s permission to help pay the extra mining fee has a defined limit. BIP78 ties that permission to one selected sender output and a maximum contribution in satoshis. Checking the total fee alone misses the separate question of how much the receiver deducted from the sender.

What you need to know
BIP78 lets a receiver propose a payment with additional bitcoin inputs.
A sender can identify an output from which an extra mining-fee contribution may be deducted.
The sender also specifies the maximum additional contribution in satoshis.
The sender must check the proposal before signing its own inputs.

In the BIP78 protocol, the sender provides an original partially signed transaction and the receiver returns a proposal. The receiver contributes signed inputs of its own. That changes the transaction the sender is asked to approve, so the original payment amount and the new fee allocation need separate checks.

Read the permission as an amount and a location

The two optional parameters work together. One identifies the sender’s output that may be reduced to cover the extra fee; the other limits that reduction. BIP78 says both must be specified and valid before the receiver can reduce an output belonging to the sender. A valid amount without a valid selected output does not grant a general right to reduce the sender’s other outputs.

For example, suppose a sender permits a contribution of at most 300 satoshis from a particular change output. A proposal that reduces that output by 500 satoshis exceeds that amount even if the transaction’s overall mining fee appears reasonable. These are invented figures illustrating the rule, not a measured wallet quote. The check compares the selected original output with its proposed replacement rather than judging only the final fee.

Lees ook:  Bybit EU gives Dutch MEXC users a regulated landing zone

There are two further ceilings. The sender’s proposal checklist first limits the contribution to the increase in the transaction’s absolute fee. It also applies a formula: the original fee rate multiplied by the virtual size of the sender’s input type and the number of added inputs. The stated maximum therefore is not an allowance that a receiver can necessarily consume in full. All three limits apply to the same contribution.

This distinction matters because a receiver adding inputs increases transaction weight. If the absolute fee stayed unchanged, the fee per unit of weight would fall. BIP78’s fee-output discussion explains why a sender might contribute extra to preserve a chosen fee rate. That purpose does not authorize using the contribution to pay unrelated outputs.

Keep the payment check alongside the fee check

The sender’s checklist also requires the proposal’s absolute fee to be at least the original fee and checks the treatment of sender outputs and receiver inputs. Payment-output substitution has its own rules. An interface showing a plausible total fee cannot establish that these other conditions passed, and a successful signature is not a report about the wallet’s review process.

For someone evaluating a Payjoin wallet, the practical question is which limits the software sets and enforces before it asks for approval: the permitted sender output, the satoshi cap, the original fee rate and the input-size rule. This article compares the BIP78 rules; it does not test an implementation, recommend a current fee rate or certify that a named payment meets them.

Partnerdeal

Bybit - Welkomstbonus 30 USDC!

Ontvang nu een welkomstbonus bij Bybit, maar liefst 30 USDC!.

Lees hier de voorwaarden
Nu naar Bybit
Voorkeur cryptofocus google nieuws
Lotte Herkens
Lotte Herkens
Lotte Herkens schrijft over crypto alsof het om geld gaat dat je morgen echt nodig hebt. Ze volgt bitcoin en altcoins al jaren, maar wordt pas enthousiast als er data, adoptie of beleid achter zit. Haar stukken zijn kort, scherp en praktisch: wat is er gebeurd, waarom boeit het, en wat kan het betekenen voor je portfolio? Ze heeft een zwak voor on-chain trends, macro-cijfers en alles wat schuurt tussen regelgeving en innovatie. Als ze niet schrijft, zit ze vaak met een koffie in de trein, podcasts te luisteren, of maakt ze lange wandelingen om een verhaal “recht” te krijgen. Lotte is nuchter, nieuwsgierig en allergisch voor hype. Ze wil dat lezers snappen wat er speelt — zonder dat het voelt alsof je een whitepaper moet doorploegen.
Lees ook