Jonathan Underwood [ARCHIVE] on Nostr: 📅 Original date posted:2017-12-12 📝 Original message: Haha, Rusty sent me a ...
📅 Original date posted:2017-12-12
📝 Original message:
Haha, Rusty sent me a google translate of “cup of nonsense” (joining my
nonsense comment with the cup of coffee meme, since “cup of nonsense” seems
like a reasonable way to call something nonsense)
I fixed it to a more “looks like it would be on a receipt” format instead
of the direct translation which sounds more like the cup is made out of
nonsense instead of being filled with it.
Heh
Also, I don’t disagree with your assessment of the purpose commit hash, but
If the user is shown a description on a website and it says “please paste
this description into your wallet to verify the description with the
payment request”... I am pretty sure most users won’t bother, or will copy
paste incorrectly and get a big red error message.
I like to think of my mom trying to use it... and my mom accidentally
ordered a vacuum cleaner on Amazon once. (?????)
So yeah, I think if the wallet could somehow fetch it that would be best.
But for now, a simple description is fine imo.
Thanks,
Jon
2017年12月12日(火) 22:46 Johan Torås Halseth <johanth at gmail.com>:
> Just a few quick comments, as any improvements to BOLT#11 are very much
> appreciated :)
>
> * I think we should set a reasonable max length for invoices, that MUST be
> met. This would simplify internal database logic (since you don’t have to
> plan for invoices infinitely big), and could make sure the error detection
> is fair for all supported lengths. Not sure if 1023 is enough, considering
> possibly multiple `r` tags and a juicy description.
> * Agree with UTF-8 support, and up to 640 bytes length ( this can be made
> explicit in the Bolt, as now it is limited by the 5 bit length field) :)
> * Why must the description hash URL be part of the invoice? I always imagined
> this would be used between clients that already had agreed on payment for
> some kind of data, and that this hash would just ensure you were paying the
> correct one.
>
> - Johan
> (please explain the Japanese lightning meme plz)
> On Tue, Dec 12, 2017 at 6:15, Jonathan Underwood <
> junderwood at bitcoinbank.co.jp> wrote:
>
> I made a payment request using UTF-8 description here:
>
> lntb1pdz7e9epp5qqqsyqcyq5rqwzqfqqqsyqcyq5rqwzqfqqqsyqcyq5rqwzqfqypqdpquwpc4curk03c9wlrswe78q4eyqc7d8d0e5l2jffz6amujxz82mtagde82dv8jku2jac79k0yxnjmr0l3f4y5x0jxt46vmcrc0ukzh7l99vdmkezsettfwr4gqnhs2ndx8wdqgfsp82rnvp
>
> using this code: (I just separated encode from sign)
>
> ln.sign(ln.encode({
> tags:[
> {
> tagName:'payment_hash',
> data:'0001020304050607080900010203040506070809000102030405060708090102'
> },
> {
> tagName:'description',
> data:'ナンセンス 1杯'
> }
> ]
> }, false),
> Buffer.from('e126f68f7eafcc8b74f54d269fe206be715000f94dac067d1c04a8ca3b2db734',
> 'hex')).paymentRequest
>
>
> Full results:
>
> {
> "coinType": "testnet",
> "payeeNodeKey":
> "03e7156ae33b0a208d0744199163177e909e80176e55d97a2f221ede0f934dd9ad",
> "paymentRequest":
> "lntb1pdz7e9epp5qqqsyqcyq5rqwzqfqqqsyqcyq5rqwzqfqqqsyqcyq5rqwzqfqypqdpquwpc4curk03c9wlrswe78q4eyqc7d8d0e5l2jffz6amujxz82mtagde82dv8jku2jac79k0yxnjmr0l3f4y5x0jxt46vmcrc0ukzh7l99vdmkezsettfwr4gqnhs2ndx8wdqgfsp82rnvp",
> "recoveryFlag": 1,
> "satoshis": null,
> "signature":
> "cd3ea92522d777c9184756d7d437275358795b8a9771e2d9e434e5b1bff14d49433e465d74cde0787f2c2bfbe52b1bbb6450cad6970ea804ef054da63b9a0426",
> "tags": [
> {
> "tagName": "payment_hash",
> "data": "0001020304050607080900010203040506070809000102030405060708090102"
> },
> {
> "tagName": "description",
> "data": "ナンセンス 1杯"
> }
> ],
> "timestamp": 1513055417,
> "timestampString": "2017-12-12T05:10:17.000Z"
> }
>
>
> _______________________________________________ Lightning-dev mailing list
> Lightning-dev at lists.linuxfoundation.org
> https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev
>
> --
-----------------
Jonathan Underwood
ビットバンク社 チーフビットコインオフィサー
-----------------
暗号化したメッセージをお送りの方は下記の公開鍵をご利用下さい。
指紋: 0xCE5EA9476DE7D3E45EBC3FDAD998682F3590FEA3
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfoundation.org/pipermail/lightning-dev/attachments/20171212/64cea8d1/attachment-0001.html>
📝 Original message:
Haha, Rusty sent me a google translate of “cup of nonsense” (joining my
nonsense comment with the cup of coffee meme, since “cup of nonsense” seems
like a reasonable way to call something nonsense)
I fixed it to a more “looks like it would be on a receipt” format instead
of the direct translation which sounds more like the cup is made out of
nonsense instead of being filled with it.
Heh
Also, I don’t disagree with your assessment of the purpose commit hash, but
If the user is shown a description on a website and it says “please paste
this description into your wallet to verify the description with the
payment request”... I am pretty sure most users won’t bother, or will copy
paste incorrectly and get a big red error message.
I like to think of my mom trying to use it... and my mom accidentally
ordered a vacuum cleaner on Amazon once. (?????)
So yeah, I think if the wallet could somehow fetch it that would be best.
But for now, a simple description is fine imo.
Thanks,
Jon
2017年12月12日(火) 22:46 Johan Torås Halseth <johanth at gmail.com>:
> Just a few quick comments, as any improvements to BOLT#11 are very much
> appreciated :)
>
> * I think we should set a reasonable max length for invoices, that MUST be
> met. This would simplify internal database logic (since you don’t have to
> plan for invoices infinitely big), and could make sure the error detection
> is fair for all supported lengths. Not sure if 1023 is enough, considering
> possibly multiple `r` tags and a juicy description.
> * Agree with UTF-8 support, and up to 640 bytes length ( this can be made
> explicit in the Bolt, as now it is limited by the 5 bit length field) :)
> * Why must the description hash URL be part of the invoice? I always imagined
> this would be used between clients that already had agreed on payment for
> some kind of data, and that this hash would just ensure you were paying the
> correct one.
>
> - Johan
> (please explain the Japanese lightning meme plz)
> On Tue, Dec 12, 2017 at 6:15, Jonathan Underwood <
> junderwood at bitcoinbank.co.jp> wrote:
>
> I made a payment request using UTF-8 description here:
>
> lntb1pdz7e9epp5qqqsyqcyq5rqwzqfqqqsyqcyq5rqwzqfqqqsyqcyq5rqwzqfqypqdpquwpc4curk03c9wlrswe78q4eyqc7d8d0e5l2jffz6amujxz82mtagde82dv8jku2jac79k0yxnjmr0l3f4y5x0jxt46vmcrc0ukzh7l99vdmkezsettfwr4gqnhs2ndx8wdqgfsp82rnvp
>
> using this code: (I just separated encode from sign)
>
> ln.sign(ln.encode({
> tags:[
> {
> tagName:'payment_hash',
> data:'0001020304050607080900010203040506070809000102030405060708090102'
> },
> {
> tagName:'description',
> data:'ナンセンス 1杯'
> }
> ]
> }, false),
> Buffer.from('e126f68f7eafcc8b74f54d269fe206be715000f94dac067d1c04a8ca3b2db734',
> 'hex')).paymentRequest
>
>
> Full results:
>
> {
> "coinType": "testnet",
> "payeeNodeKey":
> "03e7156ae33b0a208d0744199163177e909e80176e55d97a2f221ede0f934dd9ad",
> "paymentRequest":
> "lntb1pdz7e9epp5qqqsyqcyq5rqwzqfqqqsyqcyq5rqwzqfqqqsyqcyq5rqwzqfqypqdpquwpc4curk03c9wlrswe78q4eyqc7d8d0e5l2jffz6amujxz82mtagde82dv8jku2jac79k0yxnjmr0l3f4y5x0jxt46vmcrc0ukzh7l99vdmkezsettfwr4gqnhs2ndx8wdqgfsp82rnvp",
> "recoveryFlag": 1,
> "satoshis": null,
> "signature":
> "cd3ea92522d777c9184756d7d437275358795b8a9771e2d9e434e5b1bff14d49433e465d74cde0787f2c2bfbe52b1bbb6450cad6970ea804ef054da63b9a0426",
> "tags": [
> {
> "tagName": "payment_hash",
> "data": "0001020304050607080900010203040506070809000102030405060708090102"
> },
> {
> "tagName": "description",
> "data": "ナンセンス 1杯"
> }
> ],
> "timestamp": 1513055417,
> "timestampString": "2017-12-12T05:10:17.000Z"
> }
>
>
> _______________________________________________ Lightning-dev mailing list
> Lightning-dev at lists.linuxfoundation.org
> https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev
>
> --
-----------------
Jonathan Underwood
ビットバンク社 チーフビットコインオフィサー
-----------------
暗号化したメッセージをお送りの方は下記の公開鍵をご利用下さい。
指紋: 0xCE5EA9476DE7D3E45EBC3FDAD998682F3590FEA3
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfoundation.org/pipermail/lightning-dev/attachments/20171212/64cea8d1/attachment-0001.html>