Skip to content

v2 reciever should be able to opt out of v1 senders #677

@nothingmuch

Description

@nothingmuch

Since v1 senders will reveal the payment transaction and the use of pj v1 to the directory. Even if the receiver opts out of proposing a payjoin PSBT, and just broadcasts the fallback transaction, this still leaks metadata about use of payjoin and specific versions to the directory.

In order to allow payjoin v2 receivers to require the use of BIP 77 end to end encryption, we should introduce a pjv2 (also available in req-pjv2 variant) parameter, that v1 senders will not recognize. This should have the same exact format as the pj parameter, except fragment parameters are mandatory.

  • implementation
    • pjv2 parameter
    • req-pjv2 parameter, requires refactoring of bitcoin_uri
  • BIP specification

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions