--- Log opened Tue Nov 19 00:00:12 2019 00:26 -!- AaronvanW [~AaronvanW@unaffiliated/aaronvanw] has joined #lightning-dev 00:44 -!- belcher [~belcher@unaffiliated/belcher] has joined #lightning-dev 00:44 -!- __gotcha [~Thunderbi@plone/gotcha] has joined #lightning-dev 00:59 -!- marcoagner [~user@2001:8a0:6a55:8f00:81e3:c539:c514:2d18] has joined #lightning-dev 01:00 -!- AaronvanW [~AaronvanW@unaffiliated/aaronvanw] has quit [Ping timeout: 265 seconds] 01:01 -!- AaronvanW [~AaronvanW@unaffiliated/aaronvanw] has joined #lightning-dev 01:25 -!- CCR5-D32 [~CCR5@unaffiliated/ccr5-d32] has joined #lightning-dev 01:27 -!- jonatack [~jon@2a01:e35:8aba:8220:6627:dad:d967:649d] has quit [Ping timeout: 276 seconds] 01:29 -!- __gotcha [~Thunderbi@plone/gotcha] has quit [Read error: Connection reset by peer] 01:30 -!- __gotcha1 [~Thunderbi@plone/gotcha] has joined #lightning-dev 01:32 -!- __gotcha1 is now known as __gotcha 01:39 -!- __gotcha [~Thunderbi@plone/gotcha] has quit [Ping timeout: 246 seconds] 01:40 -!- __gotcha [~Thunderbi@plone/gotcha] has joined #lightning-dev 01:45 -!- diogosergio [~diogoserg@212.36.34.126] has joined #lightning-dev 02:00 -!- __gotcha [~Thunderbi@plone/gotcha] has quit [Ping timeout: 276 seconds] 02:01 -!- diogosergio [~diogoserg@212.36.34.126] has quit [Ping timeout: 250 seconds] 02:02 -!- jonatack [~jon@abayonne-654-1-191-177.w92-134.abo.wanadoo.fr] has joined #lightning-dev 02:04 -!- AaronvanW [~AaronvanW@unaffiliated/aaronvanw] has quit [Ping timeout: 240 seconds] 02:07 -!- __gotcha [~Thunderbi@plone/gotcha] has joined #lightning-dev 02:08 -!- diogosergio [~diogoserg@212.36.34.126] has joined #lightning-dev 02:11 -!- jonatack [~jon@abayonne-654-1-191-177.w92-134.abo.wanadoo.fr] has quit [Ping timeout: 240 seconds] 02:12 -!- __gotcha [~Thunderbi@plone/gotcha] has quit [Ping timeout: 276 seconds] 02:13 -!- jonatack [~jon@109.232.227.138] has joined #lightning-dev 02:16 -!- __gotcha [~Thunderbi@plone/gotcha] has joined #lightning-dev 03:01 -!- riclas [riclas@77.7.37.188.rev.vodafone.pt] has joined #lightning-dev 03:16 -!- ironbutt [~LiberLive@144.49.211.130.bc.googleusercontent.com] has quit [Remote host closed the connection] 03:28 -!- Chris_Stewart_5 [~chris@unaffiliated/chris-stewart-5/x-3612383] has joined #lightning-dev 03:29 -!- laurentmt [~Thunderbi@92.223.89.145] has joined #lightning-dev 03:35 -!- jonatack [~jon@109.232.227.138] has quit [Ping timeout: 250 seconds] 04:01 -!- AaronvanW [~AaronvanW@unaffiliated/aaronvanw] has joined #lightning-dev 04:34 -!- AaronvanW [~AaronvanW@unaffiliated/aaronvanw] has quit [Ping timeout: 265 seconds] 04:45 -!- thomasanderson [~thomasand@108-91-143-73.lightspeed.rlghnc.sbcglobal.net] has joined #lightning-dev 04:54 -!- rh0nj [~rh0nj@88.99.167.175] has quit [Remote host closed the connection] 04:54 -!- _jerry [~jerry@47.55.112.140] has joined #lightning-dev 04:55 -!- rh0nj [~rh0nj@88.99.167.175] has joined #lightning-dev 05:26 -!- slivera__ [slivera@gateway/vpn/privateinternetaccess/slivera] has quit [Quit: Leaving] 05:29 -!- laurentmt [~Thunderbi@92.223.89.145] has quit [Quit: laurentmt] 05:49 -!- thomasanderson [~thomasand@108-91-143-73.lightspeed.rlghnc.sbcglobal.net] has quit [Ping timeout: 265 seconds] 06:23 -!- shesek [~shesek@unaffiliated/shesek] has quit [Read error: Connection reset by peer] 06:24 -!- shesek [~shesek@185.3.145.80] has joined #lightning-dev 06:24 -!- shesek [~shesek@185.3.145.80] has quit [Changing host] 06:24 -!- shesek [~shesek@unaffiliated/shesek] has joined #lightning-dev 06:31 -!- AaronvanW [~AaronvanW@unaffiliated/aaronvanw] has joined #lightning-dev 07:04 -!- AaronvanW [~AaronvanW@unaffiliated/aaronvanw] has quit [Ping timeout: 246 seconds] 07:27 -!- mdunnio [~mdunnio@38.126.31.226] has joined #lightning-dev 07:46 -!- mdunnio [~mdunnio@38.126.31.226] has quit [Remote host closed the connection] 07:48 -!- mdunnio [~mdunnio@38.126.31.226] has joined #lightning-dev 08:17 -!- diogosergio [~diogoserg@212.36.34.126] has quit [Ping timeout: 265 seconds] 08:22 -!- Guest61_ [~textual@91.240.140.128] has joined #lightning-dev 08:25 -!- Guest61 [~textual@91.240.140.128] has quit [Ping timeout: 240 seconds] 08:30 -!- diogosergio [~diogoserg@212.36.34.126] has joined #lightning-dev 08:33 -!- Guest61 [~textual@91.240.140.128] has joined #lightning-dev 08:36 -!- Guest61_ [~textual@91.240.140.128] has quit [Ping timeout: 265 seconds] 09:01 -!- AaronvanW [~AaronvanW@unaffiliated/aaronvanw] has joined #lightning-dev 09:11 -!- CCR5-D32 [~CCR5@unaffiliated/ccr5-d32] has quit [Quit: ZZZzzz...] 09:15 -!- __gotcha [~Thunderbi@plone/gotcha] has quit [Ping timeout: 245 seconds] 09:30 -!- AaronvanW [~AaronvanW@unaffiliated/aaronvanw] has quit [Remote host closed the connection] 09:30 -!- AaronvanW [~AaronvanW@unaffiliated/aaronvanw] has joined #lightning-dev 09:32 -!- openoms [~quassel@185.174.156.219] has joined #lightning-dev 09:34 -!- mdunnio [~mdunnio@38.126.31.226] has quit [Remote host closed the connection] 09:37 -!- diogosergio [~diogoserg@212.36.34.126] has quit [Ping timeout: 276 seconds] 09:40 -!- andrewtoth [~andrewtot@gateway/tor-sasl/andrewtoth] has joined #lightning-dev 09:41 -!- shesek [~shesek@unaffiliated/shesek] has quit [Quit: Leaving] 09:41 -!- shesek [~shesek@185.3.145.80] has joined #lightning-dev 09:41 -!- shesek [~shesek@185.3.145.80] has quit [Changing host] 09:41 -!- shesek [~shesek@unaffiliated/shesek] has joined #lightning-dev 09:46 -!- mdunnio [~mdunnio@38.126.31.226] has joined #lightning-dev 09:49 -!- __gotcha [~Thunderbi@plone/gotcha] has joined #lightning-dev 09:52 -!- mdunnio [~mdunnio@38.126.31.226] has quit [Ping timeout: 276 seconds] 09:52 -!- diogosergio [~diogoserg@212.36.34.126] has joined #lightning-dev 09:59 -!- diogosergio [~diogoserg@212.36.34.126] has quit [Ping timeout: 276 seconds] 10:00 -!- mdunnio [~mdunnio@38.126.31.226] has joined #lightning-dev 10:19 -!- __gotcha [~Thunderbi@plone/gotcha] has quit [Ping timeout: 240 seconds] 11:06 -!- willcl_ark [~quassel@cpc123762-trow7-2-0-cust7.18-1.cable.virginm.net] has quit [Quit: Quit] 11:14 -!- arij [uid225068@gateway/web/irccloud.com/x-vhebmjgfnodpjnrc] has joined #lightning-dev 11:19 -!- willcl_ark [~quassel@cpc123762-trow7-2-0-cust7.18-1.cable.virginm.net] has joined #lightning-dev 11:57 -!- mdunnio [~mdunnio@38.126.31.226] has quit [Remote host closed the connection] 11:59 -!- mdunnio [~mdunnio@38.126.31.226] has joined #lightning-dev 12:00 -!- rusty [~rusty@pdpc/supporter/bronze/rusty] has joined #lightning-dev 12:30 -!- rusty [~rusty@pdpc/supporter/bronze/rusty] has quit [Quit: Leaving.] 12:39 -!- __gotcha [~Thunderbi@plone/gotcha] has joined #lightning-dev 12:40 -!- jtimon [~quassel@22.133.134.37.dynamic.jazztel.es] has joined #lightning-dev 12:50 -!- mdunnio [~mdunnio@38.126.31.226] has quit [Remote host closed the connection] 12:50 -!- Chris_Stewart_5 [~chris@unaffiliated/chris-stewart-5/x-3612383] has quit [Ping timeout: 240 seconds] 12:52 -!- mdunnio [~mdunnio@38.126.31.226] has joined #lightning-dev 13:04 -!- nirved [~nirved@2a02:8071:b58a:3c00:3ca6:9fb9:2e23:4e12] has joined #lightning-dev 13:04 < jtimon> what is the max length for a bolt11? 13:07 -!- nirved_ [~nirved@2a02:8071:b58a:3c00:d018:5fa9:166d:3adb] has quit [Ping timeout: 276 seconds] 14:05 -!- cryptosoap [~cryptosoa@gateway/tor-sasl/cryptosoap] has quit [Remote host closed the connection] 14:06 -!- cryptosoap [~cryptosoa@gateway/tor-sasl/cryptosoap] has joined #lightning-dev 14:24 -!- slivera [slivera@gateway/vpn/privateinternetaccess/slivera] has joined #lightning-dev 14:43 -!- __gotcha [~Thunderbi@plone/gotcha] has quit [Ping timeout: 276 seconds] 15:13 -!- mdunnio [~mdunnio@38.126.31.226] has quit [Remote host closed the connection] 15:22 -!- rusty [~rusty@pdpc/supporter/bronze/rusty] has joined #lightning-dev 15:25 -!- AaronvanW [~AaronvanW@unaffiliated/aaronvanw] has quit [] 15:36 < jtimon> is 2048 a good approximate number for bolt11 max size? 15:48 < ysangkok> why not just use a number from one of the existing implementations? 16:00 -!- diogosergio [~diogoserg@176.24.23.243] has joined #lightning-dev 16:02 -!- slivera [slivera@gateway/vpn/privateinternetaccess/slivera] has quit [Remote host closed the connection] 16:05 -!- diogosergio [~diogoserg@176.24.23.243] has quit [Ping timeout: 240 seconds] 16:20 < rusty> jtimon: hmm, in theory each field can be 1023 bytes long. But it depends how approximate you want it to be? 16:24 < jtimon> I just want an absolute maximum I can validate before I put it in a database. 16:24 < jtimon> In other words, I just want to remove this TODO I have in a project: 16:24 < jtimon> # TODO check the actual limit for bolt11 16:24 < jtimon> src_bolt11 = db.Column(db.String(2048)) 16:25 < jtimon> if there's not such a thing, I don't care reserving more bytes than I will need, is 2048 too much? I hope so 16:27 < rusty> There is no absolute limit, no. There are practical limits, based on QR code sizes, and I don't expect them to exceed 2048 in current form. 16:53 -!- lndbot1 [~lndbot@138.197.213.35] has quit [Remote host closed the connection] 16:53 -!- lndbot [~lndbot@138.197.213.35] has joined #lightning-dev 16:54 < jtimon> rusty: ok, that's useful, thanks, I'll keep 2048 and remove the TODO 16:59 -!- fox2p_ [~fox2p@cpe-66-108-40-154.nyc.res.rr.com] has quit [Ping timeout: 240 seconds] 17:02 -!- andrewtoth [~andrewtot@gateway/tor-sasl/andrewtoth] has quit [Remote host closed the connection] 17:02 -!- andrewtoth [~andrewtot@gateway/tor-sasl/andrewtoth] has joined #lightning-dev 17:02 -!- fox2p [~fox2p@cpe-66-108-32-173.nyc.res.rr.com] has joined #lightning-dev 17:17 -!- vindard [~vindard@190.83.165.233] has quit [Ping timeout: 245 seconds] 17:53 -!- vindard [~vindard@190.83.165.233] has joined #lightning-dev 18:19 < ghost43> re QR code sizes, do most apps handle uppercase bolt11? that would substantially help qr codes (alphanumeric vs binary mode) 18:20 < ghost43> btw re 2048 bytes above; max qr code size is ~2953 bytes 18:28 -!- riclas [riclas@77.7.37.188.rev.vodafone.pt] has quit [Ping timeout: 276 seconds] 18:56 < bitconner> jtimon: lnd accepts invoices up to 7089 bytes https://github.com/lightningnetwork/lnd/blob/master/zpay32/invoice.go#L79 18:56 < jtimon> bitconner: cool, that's useful too 18:57 < ghost43> "the maximum number of bytes that can fit into a single QR code" 18:57 < ghost43> that's incorrect though 18:57 < bitconner> but yeah 2953 is the maximum number of bytes that can be encoded in a QR actually 18:59 < bitconner> ghost43: yeah i think the comment is incorrect 19:26 -!- reallll [~belcher@unaffiliated/belcher] has joined #lightning-dev 19:29 -!- belcher [~belcher@unaffiliated/belcher] has quit [Ping timeout: 240 seconds] 19:45 < rusty> ghost43: indeed, it's part of bech32. 20:14 -!- rusty [~rusty@pdpc/supporter/bronze/rusty] has quit [Quit: Leaving.] 20:27 -!- tryphe_ [~tryphe@unaffiliated/tryphe] has joined #lightning-dev 20:29 -!- tryphe [~tryphe@unaffiliated/tryphe] has quit [Ping timeout: 265 seconds] 21:33 -!- diogosergio [~diogoserg@176.24.23.243] has joined #lightning-dev 21:37 -!- diogosergio [~diogoserg@176.24.23.243] has quit [Ping timeout: 252 seconds] 21:50 -!- _jerry [~jerry@47.55.112.140] has quit [Ping timeout: 240 seconds] 21:50 -!- jtimon [~quassel@22.133.134.37.dynamic.jazztel.es] has quit [Ping timeout: 245 seconds] 22:44 -!- kabaum [~kabaum@2001:9b1:efd:9b00::281] has quit [Ping timeout: 250 seconds] 23:06 -!- Emcy_ [~Emcy@unaffiliated/emcy] has joined #lightning-dev 23:08 -!- Emcy [~Emcy@unaffiliated/emcy] has quit [Ping timeout: 240 seconds] 23:37 -!- openoms [~quassel@185.174.156.219] has quit [Ping timeout: 265 seconds] 23:42 -!- Amperture [~amp@65.79.129.113] has quit [Ping timeout: 240 seconds] --- Log closed Wed Nov 20 00:00:14 2019