summaryrefslogtreecommitdiff
path: root/bip-0047.mediawiki
diff options
context:
space:
mode:
authorJustus Ranvier <justusranvier@riseup.net>2015-12-18 10:47:44 -0600
committerJustus Ranvier <justusranvier@riseup.net>2015-12-18 10:47:44 -0600
commit07ab320513843bf75b55def318d60ced47434548 (patch)
tree3d2427f40651d34586a517b3e8007a79799ff9c4 /bip-0047.mediawiki
parent876af7fa87945870eaf4ec5bf4b4ec5a01f1f715 (diff)
clarify the various types of child keys derived from an identity
Diffstat (limited to 'bip-0047.mediawiki')
-rw-r--r--bip-0047.mediawiki24
1 files changed, 22 insertions, 2 deletions
diff --git a/bip-0047.mediawiki b/bip-0047.mediawiki
index 3119040..650c095 100644
--- a/bip-0047.mediawiki
+++ b/bip-0047.mediawiki
@@ -31,9 +31,29 @@ Payment codes add identity information to transactions which is useful in a merc
We define the following 3 levels in BIP32 path:
-<pre>
+<code>
m / purpose' / coin_type' / identity'
-</pre>
+</code>
+
+The child keys derived from an identity are used in different ways:
+
+<code>
+m / purpose' / coin_type' / identity' / 0
+</code>
+
+The 0th (non-hardened) child is the notification key.
+
+<code>
+m / purpose' / coin_type' / identity' / 0 through 2147483647
+</code>
+
+These (non-hardened) keypairs are used for ECDH to generate deposit addresses.
+
+<code>
+m / purpose' / coin_type' / identity' / 0' through 2147483647'
+</code>
+
+These (hardened) keypairs are ephemeral payment codes.
Apostrophe in the path indicates that BIP32 hardened derivation is used.