-
Notifications
You must be signed in to change notification settings - Fork 3k
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
What are address version values for P2WPKH and P2WSH (BIP-142) for Litecoin? #312
Comments
We are not using BIP142, we're using BIP173 with ltc1 and tltc1 prefixes For normal P2SH addresses, we use M prefix now. |
Can you point me to your implementation of BIP173 in the source code? I don't see any Bech32 library using in this source tree, so I really doubt you are using BIP173 yet. |
I understand if ltc, why 1 is included? |
read bip-173. It is a delimiter of human-readable string and encoded data. |
oh, I see. well then human-redable part is ltc. |
@prusnak We obviously haven't implemented BIP173 in Litecoin Core yet, but it's being implemented already in some LN clients - we with LN devs that Litecoin would use bech32 with ltc1 as the prefix. M and Q addresses for P2SH have been implemented in 0.13.3rc1 and 0.14-dev. |
What are M and Q addresses?
|
When Litecoin was launched, they didnt change the address prefix for P2SH addresses, so still retain the 3 (mainnet) and 2 (testnet) prefixes which has been very confusing and resulted in many people sending BTC to LTC addresses. We have changed this to M for mainnet and Q for testnet (old 3/2 prefixes will continue to work of course). See #279 |
Or does Litecoin only support (non-native) Segwit-in-P2SH?
The text was updated successfully, but these errors were encountered: