From 889a0b628fec80cc709bf1d3f13e80d5215e91fa Mon Sep 17 00:00:00 2001 From: josibake Date: Thu, 15 Jun 2023 11:36:50 +0200 Subject: [PATCH] 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. --- bip-0000.mediawiki | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bip-0000.mediawiki b/bip-0000.mediawiki index 8d99817159..cb363b3089 100644 --- a/bip-0000.mediawiki +++ b/bip-0000.mediawiki @@ -168,6 +168,8 @@ A silent payment address is constructed in the following manner: *** The character "q", to represent a silent payment address of version 0 *** The 64 byte concatenation of the receiver's public keys, ''Bscan || Bm'' +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. + === Outpoints hash === The sender and receiver MUST calculate an outpoints hash for the transaction in the following manner: