Skip to content

Can we completely drop the BIP21 req- parameter prefix? #1

Closed
@bitjson

Description

@bitjson

The BIP21 req- parameter prefix was rarely (if ever?) even implemented by wallets. I left it in the 0.1.0 draft because I'm not certain if I've thought through the issue enough, but I don't have a vision of any likely future uses for it. Most new use cases are going to either:

  1. Want backwards compatibility, e.g. a p parameter than initiates a P2P connection of some sort, but the URI still has an r for older clients to fall back to, or
  2. Be a completely new concept or protocol, where either a new protocol scheme (e.g. lightning:) or new CashAddress version(s) (e.g. CashTokens) are likely to be allocated.

In either case, prefixing a new parameter with req- will be seen as a waste – you either want a short/one-character parameter name, or you want to avoid a new parameter entirely (the address itself embeds the new information).

I'll probably send a PR to drop the idea completely unless someone can offer reasoning to keep it.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions