Skip to content

req-pj behavior is described in the spec but not enforced in the code #433

@nothingmuch

Description

@nothingmuch

BIP 77 mentions using the BIP 21 req- prefix to compel the sender to use payjoin.

It looks like bip21/bitcoin_uri supports this handling of this, but the implied semantics in BIP 77 are that the sender should not fall back in case the receiver compelled payjoin usage, but this distinction is not exposed by the bip 21 parsing or PayjoinExtras struct, so the sender state machine doesn't know if pj or req-pj was used.

Secondly, on the theoretical/spec side of things, how should expiry be interpreted in the event req-pj was specified?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    No status

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions