Skip to content

Commit 889a0b6

Browse files
committed
Mention bech32m character limit
BIP173 defines a 90 char limit, but we need 115. Most implementations already remove this limit as lightning encodings are longer than 90 char and use bech32, but still should be mentioned for wallet implementors.
1 parent 51754d1 commit 889a0b6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

bip-0000.mediawiki

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,8 @@ A silent payment address is constructed in the following manner:
168168
*** The character "q", to represent a silent payment address of version 0
169169
*** The 64 byte concatenation of the receiver's public keys, ''B<sub>scan</sub> || B<sub>m</sub>''
170170
171+
Note: [https://github.com/bitcoin/bips/blob/master/bip-0173.mediawiki] imposes a 90 character for bech32 strings, whereas a silent payment address requires 115 characters.
172+
171173
=== Outpoints hash ===
172174
173175
The sender and receiver MUST calculate an outpoints hash for the transaction in the following manner:

0 commit comments

Comments
 (0)