1
0
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:
Luke Dashjr 2016-10-05 11:35:37 +00:00
parent 544941d096
commit 0f0dad6b89
2 changed files with 11 additions and 5 deletions

View File

@ -216,6 +216,12 @@ Those proposing changes should consider that ultimately consent may rest with th
| Justus Ranvier
| Informational
| Draft
|-
| [[bip-0049.mediawiki|49]]
| Derivation scheme for P2WPKH-nested-in-P2SH based accounts
| Daniel Weigl
| Informational
| Draft
|- style="background-color: #cfffcf"
| [[bip-0050.mediawiki|50]]
| March 2013 Chain Fork Post-Mortem

View File

@ -1,5 +1,5 @@
<pre>
BIP: <p2sh-accounts>
BIP: 49
Title: Derivation scheme for P2WPKH-nested-in-P2SH based accounts
Author: Daniel Weigl <Daniel.Weigl@mycelium.com>
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.
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.
@ -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
masterseed = <hex...>
// Account 0, root = m/<ThisBipNumber>'/0'/0'
// Account 0, root = m/49'/0'/0'
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>
account0recvPublickKey = <hex>
@ -101,4 +101,4 @@ This BIP is not backwards compatible by design as described under [#consideratio
== Copyright ==
This document is placed in the public domain.
This document is placed in the public domain.