mirror of
https://github.com/bitcoin/bips.git
synced 2025-05-12 12:03:29 +00:00
Assign BIP 49: Derivation scheme for P2WPKH-nested-in-P2SH based accounts
This commit is contained in:
parent
544941d096
commit
0f0dad6b89
@ -216,6 +216,12 @@ Those proposing changes should consider that ultimately consent may rest with th
|
|||||||
| Justus Ranvier
|
| Justus Ranvier
|
||||||
| Informational
|
| Informational
|
||||||
| Draft
|
| Draft
|
||||||
|
|-
|
||||||
|
| [[bip-0049.mediawiki|49]]
|
||||||
|
| Derivation scheme for P2WPKH-nested-in-P2SH based accounts
|
||||||
|
| Daniel Weigl
|
||||||
|
| Informational
|
||||||
|
| Draft
|
||||||
|- style="background-color: #cfffcf"
|
|- style="background-color: #cfffcf"
|
||||||
| [[bip-0050.mediawiki|50]]
|
| [[bip-0050.mediawiki|50]]
|
||||||
| March 2013 Chain Fork Post-Mortem
|
| March 2013 Chain Fork Post-Mortem
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<pre>
|
<pre>
|
||||||
BIP: <p2sh-accounts>
|
BIP: 49
|
||||||
Title: Derivation scheme for P2WPKH-nested-in-P2SH based accounts
|
Title: Derivation scheme for P2WPKH-nested-in-P2SH based accounts
|
||||||
Author: Daniel Weigl <Daniel.Weigl@mycelium.com>
|
Author: Daniel Weigl <Daniel.Weigl@mycelium.com>
|
||||||
Status: Draft
|
Status: Draft
|
||||||
@ -30,7 +30,7 @@ Two generally different approaches are possible for current BIP44 capable wallet
|
|||||||
|
|
||||||
2) Create dedicated accounts only used for segregated witness addresses.
|
2) Create dedicated accounts only used for segregated witness addresses.
|
||||||
|
|
||||||
The solutions from point 1 have a common disadvantage: if a user imports/recovers a BIP<ThisBipNumber>-compatible wallet masterseed into/in a non-BIP{ThisBipNumber}-compatible wallet, the account might show up but also it might miss some UTXOs.
|
The solutions from point 1 have a common disadvantage: if a user imports/recovers a BIP49-compatible wallet masterseed into/in a non-BIP{ThisBipNumber}-compatible wallet, the account might show up but also it might miss some UTXOs.
|
||||||
|
|
||||||
Therefore this BIP uses solution 2, which fails in a more visible way. Either the account shows up or not at all. The user does not have to check his balance after using the same seed in different wallets.
|
Therefore this BIP uses solution 2, which fails in a more visible way. Either the account shows up or not at all. The user does not have to check his balance after using the same seed in different wallets.
|
||||||
|
|
||||||
@ -74,10 +74,10 @@ This BIP is not backwards compatible by design as described under [#consideratio
|
|||||||
masterseedWords = abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon about
|
masterseedWords = abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon about
|
||||||
masterseed = <hex...>
|
masterseed = <hex...>
|
||||||
|
|
||||||
// Account 0, root = m/<ThisBipNumber>'/0'/0'
|
// Account 0, root = m/49'/0'/0'
|
||||||
account0Xpriv = <hex>
|
account0Xpriv = <hex>
|
||||||
|
|
||||||
// Account 0, first receiving private key = m/<ThisBipNumber>'/0'/0'/0/0
|
// Account 0, first receiving private key = m/49'/0'/0'/0/0
|
||||||
account0recvPrivateKey = <hex>
|
account0recvPrivateKey = <hex>
|
||||||
account0recvPublickKey = <hex>
|
account0recvPublickKey = <hex>
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user