--- Day changed Tue Jan 26 2016 00:02 -!- zzyzx [~chatzilla@97-90-24-187.dhcp.mtpk.ca.charter.com] has quit [Quit: ChatZilla 0.9.92 [SeaMonkey 2.39/20151103191810]] 00:36 -!- PaulCapestany [~PaulCapes@204.28.124.82] has quit [Read error: Connection reset by peer] 00:37 -!- PaulCapestany [~PaulCapes@204.28.124.82] has joined #lightning-dev 00:59 -!- AaronVW [~ewout@f055179095.adsl.alicedsl.de] has joined #lightning-dev 02:17 -!- drnet [~drnett@77.119.130.150.wireless.dyn.drei.com] has joined #lightning-dev 03:08 -!- laurentmt [~Thunderbi@128-79-141-196.hfc.dyn.abo.bbox.fr] has joined #lightning-dev 03:11 -!- laurentmt [~Thunderbi@128-79-141-196.hfc.dyn.abo.bbox.fr] has quit [Client Quit] 03:17 -!- laurentmt [~Thunderbi@128-79-141-196.hfc.dyn.abo.bbox.fr] has joined #lightning-dev 04:25 -!- jtimon [~quassel@126.31.134.37.dynamic.jazztel.es] has joined #lightning-dev 05:29 -!- fkhan [~weechat@unaffiliated/loteriety] has quit [Ping timeout: 240 seconds] 05:43 -!- instagibbs [uid142535@gateway/web/irccloud.com/x-emjozrzulddbfwpt] has joined #lightning-dev 05:44 -!- jtimon [~quassel@126.31.134.37.dynamic.jazztel.es] has quit [Remote host closed the connection] 06:27 -!- drnet [~drnett@77.119.130.150.wireless.dyn.drei.com] has quit [Ping timeout: 250 seconds] 06:40 -!- drnet [~drnett@91.141.1.188.wireless.dyn.drei.com] has joined #lightning-dev 06:40 -!- laurentmt [~Thunderbi@128-79-141-196.hfc.dyn.abo.bbox.fr] has quit [Quit: laurentmt] 06:42 -!- memymo [~textual@c-24-4-69-49.hsd1.ca.comcast.net] has joined #lightning-dev 07:06 -!- drnet [~drnett@91.141.1.188.wireless.dyn.drei.com] has quit [Quit: Leaving] 07:14 -!- cjcj [2e3b026a@gateway/web/freenode/ip.46.59.2.106] has joined #lightning-dev 07:18 -!- jtimon [~quassel@126.31.134.37.dynamic.jazztel.es] has joined #lightning-dev 07:36 -!- instagibbs_ [~instagibb@pool-100-15-134-80.washdc.fios.verizon.net] has joined #lightning-dev 07:39 -!- memymo [~textual@c-24-4-69-49.hsd1.ca.comcast.net] has quit [Quit: My Mac has gone to sleep. ZZZzzz…] 07:44 -!- instagibbs [uid142535@gateway/web/irccloud.com/x-emjozrzulddbfwpt] has quit [] 07:44 -!- instagibbs_ is now known as instagibbs 07:53 -!- zzyzx [~chatzilla@97-90-24-187.dhcp.mtpk.ca.charter.com] has joined #lightning-dev 08:09 -!- fkhan [weechat@gateway/vpn/mullvad/x-iazkszllpqwnufyx] has joined #lightning-dev 08:09 -!- fkhan [weechat@gateway/vpn/mullvad/x-iazkszllpqwnufyx] has quit [Changing host] 08:09 -!- fkhan [weechat@unaffiliated/loteriety] has joined #lightning-dev 08:09 -!- fkhan [weechat@unaffiliated/loteriety] has quit [Changing host] 08:09 -!- fkhan [weechat@gateway/vpn/mullvad/x-iazkszllpqwnufyx] has joined #lightning-dev 08:11 -!- laurentmt [~Thunderbi@128-79-141-196.hfc.dyn.abo.bbox.fr] has joined #lightning-dev 08:16 -!- jtimon [~quassel@126.31.134.37.dynamic.jazztel.es] has quit [Remote host closed the connection] 08:18 -!- laurentmt [~Thunderbi@128-79-141-196.hfc.dyn.abo.bbox.fr] has quit [Quit: laurentmt] 08:22 -!- jtimon [~quassel@126.31.134.37.dynamic.jazztel.es] has joined #lightning-dev 08:35 -!- fkhan [weechat@gateway/vpn/mullvad/x-iazkszllpqwnufyx] has quit [Ping timeout: 240 seconds] 08:41 -!- ftlio [~ftlio@46.166.137.210] has quit [Ping timeout: 245 seconds] 08:44 < Luke-Jr> is there a way to do nLockTime *within* Lightning? 08:45 < Luke-Jr> eg, say I want to send CodeShark 5 BTC, but be able to "charge back" up to 6 months later; with the blockchain, I just set nLockTime 6 months away; can I do an equivalent with Lightning? 08:48 -!- fkhan [weechat@gateway/vpn/mullvad/x-ukgqlaaamwglhafr] has joined #lightning-dev 08:48 -!- fkhan [weechat@gateway/vpn/mullvad/x-ukgqlaaamwglhafr] has quit [Changing host] 08:48 -!- fkhan [weechat@unaffiliated/loteriety] has joined #lightning-dev 08:48 -!- fkhan [weechat@unaffiliated/loteriety] has quit [Changing host] 08:48 -!- fkhan [weechat@gateway/vpn/mullvad/x-ukgqlaaamwglhafr] has joined #lightning-dev 09:14 < stevenroose> Luke-Jr, interesting question. You mean theoretically or with the current implementation? 09:15 < stevenroose> Theoretically, I'm not sure. Locktime is all lightning is based upon, but I guess to have such a function, it would have to be carried on and updated for every new transaction. Not sure though 09:19 -!- fkhan_ [weechat@gateway/vpn/mullvad/x-rlfbzhglvkibbllt] has joined #lightning-dev 09:19 -!- fkhan_ [weechat@gateway/vpn/mullvad/x-rlfbzhglvkibbllt] has quit [Changing host] 09:19 -!- fkhan_ [weechat@unaffiliated/loteriety] has joined #lightning-dev 09:19 -!- fkhan_ [weechat@unaffiliated/loteriety] has quit [Changing host] 09:19 -!- fkhan_ [weechat@gateway/vpn/mullvad/x-rlfbzhglvkibbllt] has joined #lightning-dev 09:20 -!- fkhan [weechat@gateway/vpn/mullvad/x-ukgqlaaamwglhafr] has quit [Ping timeout: 240 seconds] 09:36 -!- memymo [~textual@c-24-4-69-49.hsd1.ca.comcast.net] has joined #lightning-dev 09:39 < Luke-Jr> stevenroose: hmm 09:39 < Luke-Jr> I guess the real test is whether it is possible to run Lightning on top of Lightning :D 09:41 < stevenroose> That probably is the case. The thing is that with lightning on top of btc, the btc coins stay stale. With lightning on top of lightning, the lower lightning has to stay stale as well, I think 09:41 < stevenroose> Which actually make it just a proxy blockchain and not very mucht lightningy 09:58 -!- laurentmt [~Thunderbi@128-79-141-196.hfc.dyn.abo.bbox.fr] has joined #lightning-dev 10:02 -!- laurentmt [~Thunderbi@128-79-141-196.hfc.dyn.abo.bbox.fr] has quit [Client Quit] 10:30 -!- Yoghur114 [~jorn@g227014.upc-g.chello.nl] has joined #lightning-dev 10:30 < JackH> haha this is the funniest thing ever, a lightning on top of lightning 10:56 -!- AaronVW [~ewout@f055179095.adsl.alicedsl.de] has quit [Ping timeout: 250 seconds] 11:17 -!- AaronVW [~ewout@f055179095.adsl.alicedsl.de] has joined #lightning-dev 11:20 -!- Luke-Jr [~luke-jr@unaffiliated/luke-jr] has quit [Excess Flood] 11:20 -!- Luke-Jr [~luke-jr@unaffiliated/luke-jr] has joined #lightning-dev 12:00 -!- Grouver [~grouver@53535FBF.cm-6-4b.dynamic.ziggo.nl] has joined #lightning-dev 12:07 -!- memymo [~textual@c-24-4-69-49.hsd1.ca.comcast.net] has quit [Quit: My Mac has gone to sleep. ZZZzzz…] 12:30 -!- fkhan_ [weechat@gateway/vpn/mullvad/x-rlfbzhglvkibbllt] has quit [Ping timeout: 264 seconds] 12:31 -!- rusty [~rusty@pdpc/supporter/bronze/rusty] has joined #lightning-dev 12:50 -!- fkhan_ [weechat@gateway/vpn/mullvad/x-ygojbeknmhjovatd] has joined #lightning-dev 12:50 -!- fkhan_ [weechat@gateway/vpn/mullvad/x-ygojbeknmhjovatd] has quit [Changing host] 12:50 -!- fkhan_ [weechat@unaffiliated/loteriety] has joined #lightning-dev 12:50 -!- fkhan_ [weechat@unaffiliated/loteriety] has quit [Changing host] 12:50 -!- fkhan_ [weechat@gateway/vpn/mullvad/x-ygojbeknmhjovatd] has joined #lightning-dev 12:51 -!- rusty [~rusty@pdpc/supporter/bronze/rusty] has quit [Ping timeout: 264 seconds] 12:59 -!- laurentmt [~Thunderbi@128-79-141-196.hfc.dyn.abo.bbox.fr] has joined #lightning-dev 13:12 -!- memymo [~textual@184-23-230-94.dedicated.static.sonic.net] has joined #lightning-dev 13:18 -!- Grouver [~grouver@53535FBF.cm-6-4b.dynamic.ziggo.nl] has quit [Quit: Leaving] 13:22 -!- fkhan_ [weechat@gateway/vpn/mullvad/x-ygojbeknmhjovatd] has quit [Ping timeout: 265 seconds] 13:35 -!- fkhan_ [weechat@gateway/vpn/mullvad/x-vudjoqgxntzmbrhg] has joined #lightning-dev 13:35 -!- fkhan_ [weechat@gateway/vpn/mullvad/x-vudjoqgxntzmbrhg] has quit [Changing host] 13:35 -!- fkhan_ [weechat@unaffiliated/loteriety] has joined #lightning-dev 13:35 -!- fkhan_ [weechat@unaffiliated/loteriety] has quit [Changing host] 13:35 -!- fkhan_ [weechat@gateway/vpn/mullvad/x-vudjoqgxntzmbrhg] has joined #lightning-dev 13:46 -!- drnet [~drnett@91.141.1.188.wireless.dyn.drei.com] has joined #lightning-dev 13:55 -!- drnet [~drnett@91.141.1.188.wireless.dyn.drei.com] has quit [Quit: Leaving] 14:06 -!- memymo [~textual@184-23-230-94.dedicated.static.sonic.net] has quit [Ping timeout: 245 seconds] 14:13 -!- laurentmt [~Thunderbi@128-79-141-196.hfc.dyn.abo.bbox.fr] has quit [Quit: laurentmt] 14:25 -!- fkhan_ [weechat@gateway/vpn/mullvad/x-vudjoqgxntzmbrhg] has quit [Ping timeout: 245 seconds] 14:38 -!- Yoghur114 [~jorn@g227014.upc-g.chello.nl] has quit [Remote host closed the connection] 14:39 -!- fkhan_ [weechat@gateway/vpn/mullvad/x-aolkrxwboflldmzn] has joined #lightning-dev 14:39 -!- fkhan_ [weechat@gateway/vpn/mullvad/x-aolkrxwboflldmzn] has quit [Changing host] 14:39 -!- fkhan_ [weechat@unaffiliated/loteriety] has joined #lightning-dev 14:39 -!- fkhan_ [weechat@unaffiliated/loteriety] has quit [Changing host] 14:39 -!- fkhan_ [weechat@gateway/vpn/mullvad/x-aolkrxwboflldmzn] has joined #lightning-dev 16:17 -!- rusty [~rusty@pdpc/supporter/bronze/rusty] has joined #lightning-dev 16:54 < rusty> roasbeef: around? 16:55 < rusty> Wanted to follow up your suggestion of a separate enckey for the length fields. Were you proposing to skip the HMAC for them, or include it? If it's included, I'm having trouble seeing why we wouldn't just use the same session key. 17:26 -!- AaronvanW_ [~ewout@x5ce58794.dyn.telefonica.de] has joined #lightning-dev 17:30 -!- AaronVW [~ewout@f055179095.adsl.alicedsl.de] has quit [Ping timeout: 250 seconds] 17:31 -!- rusty [~rusty@pdpc/supporter/bronze/rusty] has quit [Quit: Leaving.] 17:49 -!- instagibbs [~instagibb@pool-100-15-134-80.washdc.fios.verizon.net] has quit [Ping timeout: 265 seconds] 17:55 -!- instagibbs [~instagibb@pool-100-15-134-80.washdc.fios.verizon.net] has joined #lightning-dev 18:17 -!- AaronvanW_ [~ewout@x5ce58794.dyn.telefonica.de] has quit [Ping timeout: 250 seconds] 18:23 -!- rusty [~rusty@pdpc/supporter/bronze/rusty] has joined #lightning-dev 18:28 -!- Ylbam [uid99779@gateway/web/irccloud.com/x-gtjropiakstirxdb] has quit [Quit: Connection closed for inactivity] 18:32 -!- zzyzx_ [~chatzilla@97-90-24-187.dhcp.mtpk.ca.charter.com] has joined #lightning-dev 18:34 -!- zzyzx [~chatzilla@97-90-24-187.dhcp.mtpk.ca.charter.com] has quit [Ping timeout: 276 seconds] 18:34 -!- zzyzx_ is now known as zzyzx 20:23 -githubby:#lightning-dev- [lightning] rustyrussell pushed 1 new commit to master: https://git.io/vzy9q 20:23 -githubby:#lightning-dev- lightning/master 1e93da5 Rusty Russell: Really enable checklocktimeverify support.... 20:30 -!- memymo [~textual@c-24-4-69-49.hsd1.ca.comcast.net] has joined #lightning-dev 20:31 -githubby:#lightning-dev- [lightning] rustyrussell pushed 1 new commit to master: https://git.io/vzy96 20:31 -githubby:#lightning-dev- lightning/master 6750794 Rusty Russell: Use #if instead of #ifdef (we already use -Wundef).... 21:13 -!- ftlio [~ftlio@46.166.190.161] has joined #lightning-dev 21:35 -!- matsjj [~matsjj@p20030089EA4B301AD15C16E30956D9F7.dip0.t-ipconnect.de] has joined #lightning-dev 21:38 -!- zzyzx_ [~chatzilla@97-90-24-187.dhcp.mtpk.ca.charter.com] has joined #lightning-dev 21:39 < matsjj> rusty, what do you think about moving these discussions to a repo (I conveniently set up one a few months ago - https://github.com/lightning-core/lightning ) - mailing lists are good for a lot of things, collaboratively agreeing on multiple standards is not one of them 21:41 -!- zzyzx [~chatzilla@97-90-24-187.dhcp.mtpk.ca.charter.com] has quit [Ping timeout: 276 seconds] 21:41 -!- zzyzx_ is now known as zzyzx 21:53 < rusty> matsjj: indeed, I was just looking at that. 21:53 < rusty> matsjj: mailing lists are better for discussion, commit is better once it's 90% settled IMHO. 21:54 < rusty> matsjj: roasbeef and colleagues have somewhat reset the process by implementing their own protocol. 21:54 < matsjj> It does still need some love, but I wanted to check back before pouring work in there 21:55 < rusty> matsjj: agreed... I have to read through their code to see how different it is, basically 21:55 < matsjj> Yea I recognised how it's suddenly lightningd vs lnd... :P 21:57 < rusty> matsjj: theirs is *70%* smaller! 21:59 < matsjj> rusty, haha wow! Java isn't exactly the least verbose language, but 70% :o LoC? 21:59 < rusty> matsjj: No, 70% letters. They've optimized out "ighting". 22:00 < rusty> matsjj: I'd love your feedback on any or all of http://lists.linuxfoundation.org/pipermail/lightning-dev/2016-January/000408.html BTW 22:00 < matsjj> rusty, ohhh I see what you mean 22:00 < matsjj> rusty, just writing it up ;) 22:01 < rusty> matsjj: hah, I should have anticipted that, thanks! 22:07 < matsjj> rusty, just saw cjp made his homework already :o 22:07 < matsjj> https://github.com/cornwarecjp/lightning/commits/cornwarecjp 22:09 -!- zzyzx_ [~chatzilla@97-90-24-187.dhcp.mtpk.ca.charter.com] has joined #lightning-dev 22:11 -!- zzyzx [~chatzilla@97-90-24-187.dhcp.mtpk.ca.charter.com] has quit [Ping timeout: 276 seconds] 22:11 -!- zzyzx_ is now known as zzyzx 22:13 -!- ftlio [~ftlio@46.166.190.161] has quit [Remote host closed the connection] 22:20 < rusty> matsjj: yes, nice! 22:36 < matsjj> rusty, 'Laolu's suggestion; encode the packet lengths as well' - encode as in encrypt? So pull in the length into the byte stream before encrypting? 22:37 < rusty> yeah, so he suggested that we use a separate encryption stream for the lengths. I've queried the exact method above, but not received a response. Seems like a Nice To Have. 22:39 < matsjj> how does that play with tcpip frames/fragments? Hm - I guess one can get the length by decrypting the beginning of the message 22:39 < matsjj> would make my life a bit harder though for now, as I completely separated these 22:41 < aj> rusty: hmm, elkrem seems pretty good 22:43 -!- rusty [~rusty@pdpc/supporter/bronze/rusty] has quit [Ping timeout: 265 seconds] 22:57 -!- memymo [~textual@c-24-4-69-49.hsd1.ca.comcast.net] has quit [Quit: My Mac has gone to sleep. ZZZzzz…] 23:01 < matsjj> Aaaaand the good formatting is gone - damnit :( 23:01 -!- fkhan_ [weechat@gateway/vpn/mullvad/x-aolkrxwboflldmzn] has quit [Ping timeout: 240 seconds] 23:15 -!- fkhan_ [weechat@gateway/vpn/mullvad/x-iokfjphtdegqubbl] has joined #lightning-dev 23:15 -!- fkhan_ [weechat@gateway/vpn/mullvad/x-iokfjphtdegqubbl] has quit [Changing host] 23:15 -!- fkhan_ [weechat@unaffiliated/loteriety] has joined #lightning-dev 23:15 -!- fkhan_ [weechat@unaffiliated/loteriety] has quit [Changing host] 23:15 -!- fkhan_ [weechat@gateway/vpn/mullvad/x-iokfjphtdegqubbl] has joined #lightning-dev 23:38 -!- Ylbam [uid99779@gateway/web/irccloud.com/x-fmplxhesmyzwphvh] has joined #lightning-dev