--- Day changed Mon Oct 05 2015 00:07 -!- trippysalmon [~Rob@ip4da81ded.direct-adsl.nl] has quit [Read error: Connection reset by peer] 00:27 -!- pepesza [~pepesza@bjj43.neoplus.adsl.tpnet.pl] has joined #lightning-dev 00:43 -!- AaronvanW [~ewout@unaffiliated/aaronvanw] has joined #lightning-dev 01:51 -!- CodeShark_ [~androirc@cpe-76-167-237-202.san.res.rr.com] has quit [Read error: Connection reset by peer] 02:07 -!- AaronvanW [~ewout@unaffiliated/aaronvanw] has quit [Ping timeout: 246 seconds] 02:25 -!- AaronvanW [~ewout@x55b28796.dyn.telefonica.de] has joined #lightning-dev 02:25 -!- AaronvanW [~ewout@x55b28796.dyn.telefonica.de] has quit [Changing host] 02:25 -!- AaronvanW [~ewout@unaffiliated/aaronvanw] has joined #lightning-dev 03:33 -!- bedeho [~bedeho@50-202-37-133-static.hfc.comcastbusiness.net] has quit [Ping timeout: 260 seconds] 04:04 -!- pepesza [~pepesza@bjj43.neoplus.adsl.tpnet.pl] has quit [Quit: WeeChat 1.1.1] 05:25 -!- akrmn [~akrmn@55-215-250-178.ftth.cust.kwaoo.net] has quit [Ping timeout: 246 seconds] 05:30 -!- matsjj [~matsjj@p20030089EA564347880295CACE6FC334.dip0.t-ipconnect.de] has quit [Remote host closed the connection] 05:34 -!- mjerr [~mjerr@p5B209E34.dip0.t-ipconnect.de] has quit [Ping timeout: 250 seconds] 06:10 -!- esneider [~esneider@181.29.97.100] has joined #lightning-dev 06:14 -!- esneider [~esneider@181.29.97.100] has quit [Remote host closed the connection] 06:15 -!- esneider [~esneider@181.29.97.100] has joined #lightning-dev 06:28 -!- mtrythall [~mtrythall@pool-108-36-102-29.phlapa.fios.verizon.net] has joined #lightning-dev 06:30 -!- matsjj [~matsjj@p5B209E34.dip0.t-ipconnect.de] has joined #lightning-dev 06:35 -!- matsjj [~matsjj@p5B209E34.dip0.t-ipconnect.de] has quit [Ping timeout: 268 seconds] 06:39 < mtrythall> hello folks - i'm with BotBot.me, following up on an old request to log this channel 06:39 < mtrythall> any OPs around? 06:43 < aj> mtrythall: rusty'll be around in 7 or 8 hours probably 06:43 < mtrythall> Darn. Looks like a major timezone issue between us. 06:44 -!- AaronvanW [~ewout@unaffiliated/aaronvanw] has quit [Read error: Connection reset by peer] 06:59 -!- AaronvanW [~ewout@unaffiliated/aaronvanw] has joined #lightning-dev 06:59 -!- esneider [~esneider@181.29.97.100] has quit [Remote host closed the connection] 06:59 -!- esneider [~esneider@181.29.97.100] has joined #lightning-dev 06:59 -!- esneider [~esneider@181.29.97.100] has quit [Remote host closed the connection] 07:07 -!- droark [~droark@caraway.whatbox.ca] has quit [Quit: Later.] 07:10 -!- esneider [~esneider@181.29.97.100] has joined #lightning-dev 07:48 -!- CodeShark_ [~androirc@cpe-76-167-237-202.san.res.rr.com] has joined #lightning-dev 07:53 -!- CodeShark [CodeShark@cpe-76-167-237-202.san.res.rr.com] has quit [] 07:53 -!- CodeShark_ is now known as CodeShark 08:34 -!- bedeho [~bedeho@50-202-37-133-static.hfc.comcastbusiness.net] has joined #lightning-dev 08:40 -!- esneider [~esneider@181.29.97.100] has quit [Remote host closed the connection] 08:40 -!- esneider [~esneider@181.29.97.100] has joined #lightning-dev 08:40 -!- esneider [~esneider@181.29.97.100] has quit [Remote host closed the connection] 08:43 -!- fkhan [weechat@gateway/vpn/mullvad/x-gprnhghujoehtoec] has quit [Ping timeout: 260 seconds] 08:56 -!- fkhan [weechat@gateway/vpn/mullvad/x-cfznpurriqqzmrdj] has joined #lightning-dev 09:01 -!- bedeho [~bedeho@50-202-37-133-static.hfc.comcastbusiness.net] has quit [Ping timeout: 256 seconds] 09:05 -!- akrmn [~akrmn@55-215-250-178.ftth.cust.kwaoo.net] has joined #lightning-dev 09:29 -!- akrmn [~akrmn@55-215-250-178.ftth.cust.kwaoo.net] has quit [Ping timeout: 244 seconds] 09:31 -!- matsjj [~matsjj@p20030089EA564347880295CACE6FC334.dip0.t-ipconnect.de] has joined #lightning-dev 09:34 -!- esneider [~esneider@181.29.97.100] has joined #lightning-dev 09:35 -!- matsjj [~matsjj@p20030089EA564347880295CACE6FC334.dip0.t-ipconnect.de] has quit [Ping timeout: 240 seconds] 09:36 -!- mtrythall [~mtrythall@pool-108-36-102-29.phlapa.fios.verizon.net] has quit [Quit: Textual IRC Client: http://www.textualapp.com/] 09:38 -!- AaronvanW [~ewout@unaffiliated/aaronvanw] has quit [Ping timeout: 246 seconds] 09:39 -!- esneider [~esneider@181.29.97.100] has quit [Ping timeout: 256 seconds] 09:56 -!- matsjj [~matsjj@p5B209E34.dip0.t-ipconnect.de] has joined #lightning-dev 09:57 -!- mjerr [~mjerr@p5B209E34.dip0.t-ipconnect.de] has joined #lightning-dev 10:41 -!- esneider [~esneider@181.29.97.100] has joined #lightning-dev 10:55 -!- bedeho [~bedeho@50-202-37-133-static.hfc.comcastbusiness.net] has joined #lightning-dev 10:56 -!- AaronvanW [~ewout@unaffiliated/aaronvanw] has joined #lightning-dev 11:14 -!- Yoghur114 [~jorn@g227014.upc-g.chello.nl] has joined #lightning-dev 11:17 -!- bedeho [~bedeho@50-202-37-133-static.hfc.comcastbusiness.net] has quit [Ping timeout: 264 seconds] 11:34 -!- AaronvanW [~ewout@unaffiliated/aaronvanw] has quit [Ping timeout: 246 seconds] 11:40 -!- bedeho [~bedeho@50-202-37-133-static.hfc.comcastbusiness.net] has joined #lightning-dev 12:12 -!- AaronvanW [~ewout@unaffiliated/aaronvanw] has joined #lightning-dev 12:17 -!- AaronvanW [~ewout@unaffiliated/aaronvanw] has quit [Ping timeout: 246 seconds] 12:28 -!- esneider [~esneider@181.29.97.100] has quit [Remote host closed the connection] 12:46 -!- matsjj [~matsjj@p5B209E34.dip0.t-ipconnect.de] has quit [Remote host closed the connection] 12:49 -!- mjerr [~mjerr@p5B209E34.dip0.t-ipconnect.de] has quit [Ping timeout: 256 seconds] 12:59 -!- rusty [~rusty@pdpc/supporter/bronze/rusty] has joined #lightning-dev 13:16 < rusty> gwillen: Hmm, looks like botbot.me woke up. If you see mtrythall around, (he said he'd be on #lightning-dev) please ask to connect logging. 13:23 -!- esneider [~esneider@181.29.97.100] has joined #lightning-dev 13:27 -!- esneider [~esneider@181.29.97.100] has quit [Ping timeout: 246 seconds] 13:28 < gwillen> rusty: will do 13:47 -!- matsjj [~matsjj@p20030089EA564304E15491AFE3361603.dip0.t-ipconnect.de] has joined #lightning-dev 13:51 -!- matsjj [~matsjj@p20030089EA564304E15491AFE3361603.dip0.t-ipconnect.de] has quit [Ping timeout: 246 seconds] 14:16 -!- esneider [~esneider@181.29.97.100] has joined #lightning-dev 14:17 -!- bedeho [~bedeho@50-202-37-133-static.hfc.comcastbusiness.net] has quit [Read error: Connection reset by peer] 14:23 -!- rusty [~rusty@pdpc/supporter/bronze/rusty] has quit [Ping timeout: 246 seconds] 14:29 -!- ftlio [~ftlio@ftlio.com] has joined #lightning-dev 15:33 -!- Yoghur114 [~jorn@g227014.upc-g.chello.nl] has quit [Remote host closed the connection] 16:01 -!- rusty [~rusty@pdpc/supporter/bronze/rusty] has joined #lightning-dev 16:06 -!- esneider [~esneider@181.29.97.100] has quit [Remote host closed the connection] 16:07 -!- rusty [~rusty@pdpc/supporter/bronze/rusty] has quit [Ping timeout: 252 seconds] 16:11 -!- AaronvanW [~ewout@x55b29070.dyn.telefonica.de] has joined #lightning-dev 16:11 -!- AaronvanW [~ewout@x55b29070.dyn.telefonica.de] has quit [Changing host] 16:11 -!- AaronvanW [~ewout@unaffiliated/aaronvanw] has joined #lightning-dev 16:28 -!- rusty [~rusty@pdpc/supporter/bronze/rusty] has joined #lightning-dev 16:35 < rusty> aj: will enhance C test onion to take "--generate ..." or "--decode ". If you want to do the same on the python side I'll sew in some automated tests. 16:39 < rusty> Make that --decode 17:14 -!- Ylbam [uid99779@gateway/web/irccloud.com/x-dfmjfxoomdutbdff] has quit [Quit: Connection closed for inactivity] 17:15 -!- esneider [~esneider@181.94.16.90] has joined #lightning-dev 17:44 -!- CodeShark [~androirc@cpe-76-167-237-202.san.res.rr.com] has quit [Quit: AndroIRC - Android IRC Client ( http://www.androirc.com )] 17:44 -!- CodeShark [CodeShark@cpe-76-167-237-202.san.res.rr.com] has joined #lightning-dev 17:45 -!- CodeShark_ [~androirc@cpe-76-167-237-202.san.res.rr.com] has joined #lightning-dev 18:34 < rusty> aj: pushed... 18:58 -!- esneider [~esneider@181.94.16.90] has quit [Remote host closed the connection] 19:01 -!- rusty [~rusty@pdpc/supporter/bronze/rusty] has left #lightning-dev [] 19:06 -!- mtrythall [~mtrythall@pool-108-36-102-29.phlapa.fios.verizon.net] has joined #lightning-dev 19:16 -!- esneider [~esneider@181.94.16.90] has joined #lightning-dev 19:17 < mtrythall> hey gwillen - you around? 19:22 -!- richardkiss [~richardki@ip68-227-33-165.lv.lv.cox.net] has joined #lightning-dev 19:23 -!- [b__b] [~b__b]@ec2-54-85-45-223.compute-1.amazonaws.com] has joined #lightning-dev 19:23 < mtrythall> [b__b] ping 19:23 < [b__b]> Are you in need of my services, mtrythall? 19:23 < mtrythall> [b__b] help 19:23 < [b__b]> Available plugins: bangmotivate, help, last_seen, ping, logger (https://botbot.me/freenode/lightning-dev/help/) 19:26 -!- mtrythall [~mtrythall@pool-108-36-102-29.phlapa.fios.verizon.net] has left #lightning-dev ["Textual IRC Client: http://www.textualapp.com/"] 20:18 -!- richardkiss [~richardki@ip68-227-33-165.lv.lv.cox.net] has quit [Remote host closed the connection] 20:58 -!- AaronvanW [~ewout@unaffiliated/aaronvanw] has quit [Ping timeout: 246 seconds] 21:24 < gwillen> [b__b]: hello there 21:24 < gwillen> [b__b]: help 21:24 < [b__b]> Available plugins: bangmotivate, help, last_seen, ping, logger (https://botbot.me/freenode/lightning-dev/help/) 21:26 < gwillen> [b__b]: well, mtrythall is gone, but for the record since this is being logged: I am an op and I approve this logging. :-) 21:34 -!- esneider [~esneider@181.94.16.90] has quit [Remote host closed the connection] 21:36 -!- esneider [~esneider@181.94.16.90] has joined #lightning-dev 21:45 -!- rusty [~rusty@pdpc/supporter/bronze/rusty] has joined #lightning-dev 21:48 -!- matsjj [~matsjj@p20030089EA564304E15491AFE3361603.dip0.t-ipconnect.de] has joined #lightning-dev 21:52 -!- matsjj [~matsjj@p20030089EA564304E15491AFE3361603.dip0.t-ipconnect.de] has quit [Ping timeout: 240 seconds] 21:52 -!- esneider [~esneider@181.94.16.90] has quit [Remote host closed the connection] 22:03 -!- roasbeef [~root@104.131.26.124] has quit [Ping timeout: 246 seconds] 22:03 -!- fkhan [weechat@gateway/vpn/mullvad/x-cfznpurriqqzmrdj] has quit [Ping timeout: 244 seconds] 22:04 -!- Luke-Jr [~luke-jr@unaffiliated/luke-jr] has quit [Ping timeout: 265 seconds] 22:05 -!- roasbeef [~root@104.131.26.124] has joined #lightning-dev 22:06 -!- Luke-Jr [~luke-jr@unaffiliated/luke-jr] has joined #lightning-dev 22:16 -!- fkhan [weechat@gateway/vpn/mullvad/x-ndcobfptkpdhblbm] has joined #lightning-dev 22:19 -!- maaku_ [~quassel@2601:646:8080:59:d250:99ff:fe27:3cff] has quit [Remote host closed the connection] 22:19 -!- mjerr [~mjerr@p5B209E34.dip0.t-ipconnect.de] has joined #lightning-dev 22:20 -!- matsjj [~matsjj@p5B209E34.dip0.t-ipconnect.de] has joined #lightning-dev 22:22 < aj> rusty: hey, onion-key is using flip_key unnecessarily afaics? 22:37 < matsjj> aj, can you explain to me why we do the 0-padding? 22:38 -!- maaku_ [~quassel@c-50-156-64-222.hsd1.ca.comcast.net] has joined #lightning-dev 22:39 < aj> matsjj: padding is to keep the message length constant so it doesn't leak information about how many hops there are still to go 22:39 < aj> matsjj: padding is encrypted 0's, which is hopefully good enough to mean you can't tell whether it's padding or not 22:39 < matsjj> ahhh... so we don't use random blob anymore, right? 22:40 < matsjj> hmm 22:40 < matsjj> thinking about it - I might like it. it's a lot of data to carry around though 22:40 < aj> matsjj: random padding would be unpredictable, so the hmac's wouldn't be able to be verified 22:40 < aj> matsjj: the current demo is <4096 bytes for 20 hops -- ie fits in a packet 22:40 < matsjj> that's the next thing you can explain to me =) 22:41 < matsjj> as far as I can tell they serve for signature reasons? 22:41 < matsjj> hm yea thats very reasonable 22:41 < aj> matsjj: yeah, hmac is a keyed checksum 22:42 < matsjj> and why do we use it instead of a normal signature? 22:44 < matsjj> aj, we do send our pubkey (temporary or not) with it anyways, don't we? theres so much crypto stuff I have to read my way into I guess.. 22:45 < aj> matsjj: we send a hop-specific temporary pubkey (ie, one tht can't actually be traced back to our real identity) 22:46 < aj> matsjj: aes+hmac is a "normal" way of doing symmetric crypto with a signature 22:46 < matsjj> aj, yea exactly - can't we just send a signature then? 22:46 < aj> matsjj: it's cheaper/faster than an ecdsa signature i think 22:46 < matsjj> I see 22:47 < aj> matsjj: (i haven't looked into how an ecdsa sig actually works, so i'm guessing a bit here) 22:47 < matsjj> so no major obstactles ... just the way things seems to work 22:47 < aj> matsjj: oh, hmac means that only the intended recipient can verify the signature 22:48 < aj> matsjj: (don't know if that's actually a win, but it'd a difference compared to doing an ecdsa sig instead) 22:49 < matsjj> aj, another thing - have we thought about normal messages so far? as far as I can see we also need a way to send and receive normal messages before doing a htlc-payment 22:49 < matsjj> aj, ah interesting+ 22:50 < matsjj> aj, so without the receiver the sender can always deny to have created that message 22:50 < aj> matsjj: normal messages as in just between the two parties on a channel? onion stuff is just for routed messages where there isn't a direct connection 22:51 < matsjj> yes, but using onion just for the payments would be pointless if they still have to figure out the payment details over normal communications. 22:51 < matsjj> that implies that the payment request code(address) does not contain any information about the payment like the hash 22:56 < aj> matsjj: you have to have some way of starting a txn before you can use onion routing, either so the consumer can get the merchant's lightning address/route, or so the merchant can get the consumer's 22:56 < matsjj> I'm thinking that we need a communication channel over the network before each payment, where one can transmit stuff like the htlc-hash, a signature for a pay-to-contract, some routing options.. this way the scannable qr code only needs to consists of a way to start that communication 22:56 < aj> matsjj: i figure it'll look like "to buy this, pay $5 to with #R=<#r>" 22:57 < matsjj> but then we have one-time addresses again :/ 22:57 < aj> matsjj: you can't establish a communication channel (ugh, channel overload...) without knowing who you want to talk to 22:58 < aj> matsjj: i'm thinking of "lightning address" as being multi-use and probably long term 22:59 < matsjj> the receiver can select a few hops away from him a node and onion-encrypt the way to him in the qr-code. the user scans it and can send a message to that node with the onion-routing included 22:59 < matsjj> so we can make use of the established network 23:00 < matsjj> aj, yea me too, but including the #R does defeat that point. it also means that anyone else trying this qrcode can lose money to a node in between 23:01 < aj> matsjj: sure, i'm assuming a qr code containing R is like a pricetag; so it's unique to the product (either stuck to it physically, or generated for each digital good) 23:06 -!- Ylbam [uid99779@gateway/web/irccloud.com/x-xopfwkosonrxyhra] has joined #lightning-dev 23:44 < matsjj> aj, I'm still not completely convinced with every node padding.. is there any downside of having the sender added another 100-400bytes of 0s in the core of the onion? that way no one can tell how many nodes there are to come and the receiver also can't tell how far the sender is 23:45 < matsjj> and as you described in the mailing list, there are some problems when rerouting (although I find the concept difficult - how do we deal with fees in case of a rerouting? the receiver just have to pay them?) 23:50 < aj> matsjj: you can estimate how much padding was added originally, and subtract that from the length you've got to get an estimate of how many hops still to go 23:50 < aj> matsjj: the rerouter has to pay the fees, presumably out of whatever fees he was originally going to be paid 23:51 < matsjj> estimate? it will be completely random, whether the sender added 40 or 400 bytes 23:53 < aj> so if you receive something that's 168 bytes you know with 100% certainty you're the last hop; if you receive something with 296-423 bytes you're 50/50 on being the last hop or 2nd last hop, etc 23:55 < matsjj> hm indeed ... doing it correctly would not even save any bytes compared to the padding