1
0
mirror of https://github.com/bitcoin/bips.git synced 2024-11-19 01:40:05 +01:00
This commit is contained in:
Fonta1n3 2020-12-16 22:35:09 +08:00
parent 23d57cb9ad
commit 42b9148cea
No known key found for this signature in database
GPG Key ID: 025E9AD2D3AC0FCA

View File

@ -83,18 +83,16 @@ an external source. Such an algorithm is described in "Account discovery" chapte
===Script===
This level splits the key space into three separate <code>script_type</code>(s). To provide
optimum backward compatibility.
backward and forward compatibility.
The following represent mainnet, account 0:
The recommended default is pay to witness script hash <code>m/48'/0'/0'/2'</code>.
The following represent mainnet, account 0.
<code>1'</code>: Nested Segwit (p2sh-p2wsh) <code>m/48'/0'/0'/1'</code></br>
<code>2'</code>: Native Segwit (p2wsh) <code>m/48'/0'/0'/2'</code></br>
<code>3'</code>: Legacy (p2sh) <code>m/48'/0'/0'/3'</code></br>
Easily expanded to account for new script types.
===Change===
Constant 0 is used for external chain and constant 1 for internal chain (also