Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BIP47: Define address types explicitly #1259

Closed
wants to merge 1 commit into from
Closed

BIP47: Define address types explicitly #1259

wants to merge 1 commit into from

Conversation

ghost
Copy link

@ghost ghost commented Dec 25, 2021

It caught my attention that the specification supports only P2PKH addresses. Meanwhile, it appears that some implementers of the standard make it possible to derive other address types (native segwit primarily) and that that information is communicated through out-of-band channels.

For instance, the biggest payment code directory (https://paynym.is) communicates that information by verbally stating "Derives native segwit addresses (p2wpkh) as well as legacy addresses".

The proposed change to the BIP would address the issue by allocating several bits to communicating the exact address type that the recipient is deriving. This removes potential confusion, funds being sent to incorrect addresses, and makes the standard more self contained. The BIP is still in a draft state so modifying this bit would benefit everyone using the standard.

Backward compatibility with the earlier iteration of the standard is locked in with the provision stating that it is acceptable to send to other address types, as long as that information is communicated elsewhere (as is currently the case with the Paynym directory).

Tagging @SamouraiDev and @justusranvier.

This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant