Varunram Ganesh <[email protected]> writes: > Now, I am no expert on error encoding formats, but I think that bech32 is > under optimised for invoices (whose lengths are greater than 71). Related to > this, is there a reason why we use hex encoded pubkeys in lightning? Unless > I'm missing something, I think bech32 is better to use in this context. > Please correct me if I'm wrong.
No, you're right. It was chosen because it's an existing encoding which already exists in the bitcoin ecosystem. The signature on an invoice provides a far stronger guarantee than the 6-char checksum anyway. Cheers, Rusty. _______________________________________________ Lightning-dev mailing list [email protected] https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev
