--- Day changed Tue Oct 13 2015 00:42 -!- trippysalmon [~Rob@ip4da81ded.direct-adsl.nl] has joined #lightning-dev 00:55 -!- CoinMuncher [~jannes@178.132.211.90] has joined #lightning-dev 01:39 -!- rusty1 [~rusty@pdpc/supporter/bronze/rusty] has joined #lightning-dev 02:03 -!- AaronvanW [~ewout@x55b28b0b.dyn.telefonica.de] has joined #lightning-dev 02:03 -!- AaronvanW [~ewout@x55b28b0b.dyn.telefonica.de] has quit [Changing host] 02:03 -!- AaronvanW [~ewout@unaffiliated/aaronvanw] has joined #lightning-dev 02:51 -!- bedeho [~bedeho@50-202-37-133-static.hfc.comcastbusiness.net] has quit [Ping timeout: 246 seconds] 03:26 -!- Travis__ [~travis@h197.41.30.71.dynamic.ip.windstream.net] has joined #lightning-dev 03:27 -!- Travis__ [~travis@h197.41.30.71.dynamic.ip.windstream.net] has left #lightning-dev [] 04:21 -!- rusty1 [~rusty@pdpc/supporter/bronze/rusty] has quit [Ping timeout: 255 seconds] 05:01 -!- jtimon [~quassel@18.31.134.37.dynamic.jazztel.es] has joined #lightning-dev 05:24 -!- akrmn [~akrmn@55-215-250-178.ftth.cust.kwaoo.net] has quit [Ping timeout: 240 seconds] 05:27 -!- akrmn [~akrmn@55-215-250-178.ftth.cust.kwaoo.net] has joined #lightning-dev 05:35 -!- mjerr [~matsjj@89.197.31.78] has quit [Remote host closed the connection] 06:36 -!- mjerr [~matsjj@89.197.31.78] has joined #lightning-dev 06:41 -!- mjerr [~matsjj@89.197.31.78] has quit [Ping timeout: 240 seconds] 06:43 -!- AaronvanW [~ewout@unaffiliated/aaronvanw] has quit [Read error: Connection reset by peer] 06:59 -!- AaronvanW [~ewout@x55b290f1.dyn.telefonica.de] has joined #lightning-dev 06:59 -!- AaronvanW [~ewout@x55b290f1.dyn.telefonica.de] has quit [Changing host] 06:59 -!- AaronvanW [~ewout@unaffiliated/aaronvanw] has joined #lightning-dev 07:01 -!- mjerr [~matsjj@89.197.31.78] has joined #lightning-dev 07:52 -!- fkhan [weechat@gateway/vpn/mullvad/x-cdzfoyypnealqplb] has quit [Ping timeout: 240 seconds] 08:05 -!- fkhan [weechat@gateway/vpn/mullvad/x-axplirbccmseankd] has joined #lightning-dev 08:37 -!- CodeShark_ [CodeShark@cpe-76-167-237-202.san.res.rr.com] has joined #lightning-dev 08:38 -!- CodeShark_ [CodeShark@cpe-76-167-237-202.san.res.rr.com] has quit [Client Quit] 08:38 -!- CodeShark_ [CodeShark@cpe-76-167-237-202.san.res.rr.com] has joined #lightning-dev 08:39 -!- CodeShark [CodeShark@cpe-76-167-237-202.san.res.rr.com] has quit [Ping timeout: 265 seconds] 08:39 -!- CodeShark_ [CodeShark@cpe-76-167-237-202.san.res.rr.com] has quit [Client Quit] 08:39 -!- CodeShark [CodeShark@cpe-76-167-237-202.san.res.rr.com] has joined #lightning-dev 08:58 -!- trippysalmon [~Rob@ip4da81ded.direct-adsl.nl] has quit [Ping timeout: 256 seconds] 10:03 -!- bedeho [~bedeho@50-202-37-133-static.hfc.comcastbusiness.net] has joined #lightning-dev 10:07 -!- maaku [~quassel@botbot.xen.prgmr.com] has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.] 10:07 -!- maaku [~quassel@botbot.xen.prgmr.com] has joined #lightning-dev 10:08 -!- maaku is now known as Guest18208 10:13 -!- Guest18208 [~quassel@botbot.xen.prgmr.com] has quit [Remote host closed the connection] 10:23 -!- bedeho [~bedeho@50-202-37-133-static.hfc.comcastbusiness.net] has quit [Ping timeout: 264 seconds] 10:50 -!- maaku__ [~quassel@botbot.xen.prgmr.com] has joined #lightning-dev 10:51 -!- maaku__ is now known as maaku 10:52 -!- pepesza_ [~pepesza@agae213.neoplus.adsl.tpnet.pl] has quit [Ping timeout: 240 seconds] 11:04 -!- CoinMuncher [~jannes@178.132.211.90] has quit [Quit: Leaving.] 11:28 -!- maaku_ [~quassel@c-50-156-64-222.hsd1.ca.comcast.net] has quit [Read error: Connection reset by peer] 11:32 -!- maaku_ [~quassel@c-50-156-64-222.hsd1.ca.comcast.net] has joined #lightning-dev 11:58 -!- mjerr [~matsjj@89.197.31.78] has quit [Remote host closed the connection] 12:09 -!- rusty [~rusty@pdpc/supporter/bronze/rusty] has joined #lightning-dev 12:25 -!- ftlio [~ftlio@ftlio.com] has joined #lightning-dev 13:12 -!- belcher [~user@unaffiliated/belcher] has joined #lightning-dev 13:55 -!- rusty [~rusty@pdpc/supporter/bronze/rusty] has quit [Ping timeout: 268 seconds] 14:21 -!- Yoghur114 [~jorn@g227014.upc-g.chello.nl] has joined #lightning-dev 14:42 < Luke-Jr> uh, isn't this completely wrong? https://www.reddit.com/r/Bitcoin/comments/3ok8ga/blockstream_announces_liquid_bitcoins_first/cvydu90 14:53 -!- btcdrak [uid115429@gateway/web/irccloud.com/x-iuhxajaywihyawag] has quit [Quit: Connection closed for inactivity] 14:57 < CodeShark> it looks more sorta right than completely wrong to me 14:58 -!- btcdrak [uid115429@gateway/web/irccloud.com/x-dzjjmpwesctorqfv] has joined #lightning-dev 14:58 < CodeShark> although it isn't completely right either because the guy is really talking about bidirectional payment channels, not lightning 14:58 < CodeShark> bidirectional payment channels are just one part of lightning 15:40 < Luke-Jr> but there's no case someone can just take all your money afaik? 15:42 < CodeShark> they can take everything in the channel 15:42 < CodeShark> that's how you disincentivize the broadcast of revoked contracts 15:42 -!- rusty [~rusty@pdpc/supporter/bronze/rusty] has joined #lightning-dev 15:43 < CodeShark> it's what makes it bidirectional 15:45 < CodeShark> and it really needs to be everything in the channel so that it's a strictly worse outcome for the person who broadcasts it than any future contract they might make in the channel 15:47 < CodeShark> in LN you'd generally want to have channels open with at least two different people if not more, though - so the "ALL your monies" isn't strictly correct if you want to nitpick ;) 15:57 < rusty> Luke-Jr: no it's pretty accurate. The penalty for trying to cheat is loss of all funds in channel. 15:58 < Luke-Jr> huh? I thought it was just impractical because the later settlements had an earlier locktime? 15:58 < rusty> This is why my implementation will never produce and sign the commit tx unless it's about to use it (ie. comms breakdown). 15:58 < rusty> Luke-Jr: naah, we don't use locktime for enforcement. That was the model by the Zurich (?) guys, and it's limited. 15:59 < Luke-Jr> :/ 15:59 < rusty> Luke-Jr: instead, there's a "if you know the secret you can steal all the moneys" so I give you the secret once we've updated to a new tx. 15:59 < Luke-Jr> so what stops someone from going around burning money just to screw people over? 15:59 < rusty> Luke-Jr: they can't? You only revoke the previous tx when you've agreed on the new one. 15:59 < CodeShark> it's like a ratchet 15:59 < rusty> Of course, they can stop talking to you and you have to dump to blockchain, which means delays and fees. 16:00 < Luke-Jr> you can't know *who* broadcast the earlier one, so I assume the funds don't go to either party? 16:01 < CodeShark> each party has a different transaction that is still missing their signature 16:01 < CodeShark> but both spend the same output 16:01 < Luke-Jr> hmm 16:01 < CodeShark> so only one or the other will get confirmed 16:02 < CodeShark> at any time either party can sign and broadcast their transaction 16:03 < CodeShark> so it's not really a matter of who broadcast - it's this is clear 16:03 < CodeShark> s/it's// 16:03 < rusty> Luke-Jr: I think we got lost somewhere.... channel is open by tx with output that is 2x2, which commit txs spend. Initially you give me sig on commit tx with single "all money with rusty's sig after 1 day delay, OR to luke's sig + secret". 16:03 < rusty> Luke-Jr: (Assuming I put in all the funds). 16:05 < rusty> Luke-Jr: Now, to pay you 1 satoshi, you give me sig on commit with two outputs: "N-1 satoshi with rusty's sig after 1 day delay, OR to luke's sig + secret" and "1 satoshi luke's sig". I give you sig on a mirror commit: "N-1 satoshi with rusty's sig" and "1 satoshi Luke's sig after 1 day delay OR rusty's sig + secret". 16:06 < rusty> Luke-Jr: once the sig exchange has checked out, I send your secret for that initial commit, so if I were to broadcast it you'd just steal it. 16:09 < CodeShark> since there's no way to retroactively invalidate the transaction (in the sense that if signed and broadcast it still satisfies the consensus rules) - so instead you just make it so that the only party that can sign and broadcast it would also lose the ability to claim any of the outputs were they to do so 16:10 < CodeShark> which basically forces them to never sign it and just erase it 16:11 < rusty> hence "revocable transactions". 16:18 < CodeShark> in other words, the last transaction you negotiated is always strictly more in your interest to broadcast than the previous one 16:18 < CodeShark> regardless of which direction the payments flow 16:22 -!- Yoghur114 [~jorn@g227014.upc-g.chello.nl] has quit [Remote host closed the connection] 16:24 < CodeShark> or perhaps it's better to state that in the negative - the previous transaction is always strictly less in your interest to broadcast than the last one 16:25 < CodeShark> most in your interest is to either keep the channel open or to negotiate a close with the counterparty so you can both withdraw your funds immediately 16:48 -!- cubicearth [~corey@c-67-168-82-178.hsd1.wa.comcast.net] has quit [Ping timeout: 272 seconds] 17:10 -!- maaku [~quassel@botbot.xen.prgmr.com] has quit [Remote host closed the connection] 17:14 -!- maaku_ [~quassel@c-50-156-64-222.hsd1.ca.comcast.net] has quit [Read error: Connection reset by peer] 17:18 -!- maaku [~quassel@c-50-156-64-222.hsd1.ca.comcast.net] has joined #lightning-dev 17:18 -!- maaku is now known as Guest24437 17:26 -!- maaku_ [~quassel@botbot.xen.prgmr.com] has joined #lightning-dev 17:27 -!- maaku_ is now known as maaku 17:34 -!- AaronvanW [~ewout@unaffiliated/aaronvanw] has quit [Ping timeout: 246 seconds] 17:44 -!- Ylbam [uid99779@gateway/web/irccloud.com/x-owrikmonxigidqsm] has quit [Quit: Connection closed for inactivity] 18:40 -!- belcher [~user@unaffiliated/belcher] has quit [Quit: Leaving] 19:06 -!- AaronvanW [~ewout@unaffiliated/aaronvanw] has joined #lightning-dev 19:12 -!- maaku [~quassel@botbot.xen.prgmr.com] has quit [Remote host closed the connection] 19:16 -!- maaku [~quassel@botbot.xen.prgmr.com] has joined #lightning-dev 19:16 -!- maaku is now known as Guest88900 19:43 -!- AaronvanW [~ewout@unaffiliated/aaronvanw] has quit [Ping timeout: 246 seconds] 20:20 -!- jtimon [~quassel@18.31.134.37.dynamic.jazztel.es] has quit [Ping timeout: 264 seconds] 20:28 -!- CodeShark [CodeShark@cpe-76-167-237-202.san.res.rr.com] has quit [Ping timeout: 240 seconds] 20:51 -!- Guest88900 [~quassel@botbot.xen.prgmr.com] has quit [Remote host closed the connection] 20:56 -!- maaku [~quassel@botbot.xen.prgmr.com] has joined #lightning-dev 20:56 -!- maaku is now known as Guest71817 20:57 -!- Guest71817 is now known as maaku 22:03 < rusty> W00t! Crypto between two nodes operational... 22:03 < rusty> (They don't say anything useful yet, though) 23:36 -!- Ylbam [uid99779@gateway/web/irccloud.com/x-klojokmubmtcrosw] has joined #lightning-dev 23:44 -!- bedeho [~bedeho@50-202-37-133-static.hfc.comcastbusiness.net] has joined #lightning-dev 23:50 -!- rusty [~rusty@pdpc/supporter/bronze/rusty] has quit [Ping timeout: 244 seconds]