--- Day changed Thu Mar 31 2016 00:04 -!- JackH [~androirc@43.249.69.50] has quit [Ping timeout: 260 seconds] 00:28 -!- johnwhitton [~johnwhitt@c-71-202-223-50.hsd1.ca.comcast.net] has quit [Quit: johnwhitton] 00:50 -!- digitsu [~digitsu@198.8.80.147] has joined #lightning-dev 00:50 < digitsu> hello... I have a question about pg 47 of the lightning paper that I hope somebody can clarify for me. 00:51 < digitsu> about what happens when a link in the payment route goes non-responsive. Under the section "Clearing Failure", can anyone help? 01:02 -!- JackH [~androirc@43.249.69.50] has joined #lightning-dev 01:07 -!- jannes [~jannes@178.132.211.90] has joined #lightning-dev 01:15 -!- JackH [~androirc@43.249.69.50] has quit [Remote host closed the connection] 01:24 -!- PaulCapestany [~PaulCapes@204.28.124.82] has joined #lightning-dev 01:27 -!- PaulCape_ [~PaulCapes@204.28.124.82] has quit [Ping timeout: 240 seconds] 01:51 -!- PaulCape_ [~PaulCapes@204.28.124.82] has joined #lightning-dev 01:52 -!- AaronvanW [~ewout@unaffiliated/aaronvanw] has joined #lightning-dev 01:53 -!- PaulCapestany [~PaulCapes@204.28.124.82] has quit [Ping timeout: 248 seconds] 02:16 -!- PaulCapestany [~PaulCapes@204.28.124.82] has joined #lightning-dev 02:19 -!- PaulCape_ [~PaulCapes@204.28.124.82] has quit [Ping timeout: 244 seconds] 02:39 -!- digitsu [~digitsu@198.8.80.147] has quit [Remote host closed the connection] 02:42 -githubby:#lightning-dev- [lightning] bitkevin opened pull request #20: fix compile issue: missing braces around initializer (master...master) https://git.io/vVGeU 02:55 -!- jtimon [~quassel@227.31.134.37.dynamic.jazztel.es] has joined #lightning-dev 03:09 -!- bitkevin [~bitkevin@static-ip-34-127-134-202.rev.dyxnet.com] has joined #lightning-dev 03:09 -!- PaulCape_ [~PaulCapes@204.28.124.82] has joined #lightning-dev 03:12 -!- PaulCapestany [~PaulCapes@204.28.124.82] has quit [Ping timeout: 244 seconds] 03:38 < jl2012> digitsu: I try to explain it (someone please correct me if I'm wrong). In Figure 18, when Alice pays Dave, Dave generate secret R and publish Hash(R). 03:38 < jl2012> Dave can't get the money without disclosing R 03:39 < jl2012> If Carol is uncooperative, Dave can cancel the tx by sending the same amount back the Alice using the same Hash(R) 03:40 < jl2012> through a different path, of course, as Carol is gone 03:41 < jl2012> As a result, no matter Dave discloses the R or not, Alice will breakeven 03:44 < jl2012> Anyway, Dave should not disclose R, or Carol may run with the money 03:45 < jl2012> Alice will not lose nor gain anything. But Dave will lose the money to Carol 04:22 -!- gijensen [~gijensen@gijensen.xyz] has quit [Ping timeout: 244 seconds] 04:22 -!- p15 [~p15@33.91.145.64.client.static.strong-tk2.bringover.net] has quit [Ping timeout: 244 seconds] 04:23 -!- gijensen [~gijensen@gijensen.xyz] has joined #lightning-dev 06:10 -!- bitkevin [~bitkevin@static-ip-34-127-134-202.rev.dyxnet.com] has quit [Remote host closed the connection] 06:28 -!- user470__ [2e17426a@gateway/web/freenode/ip.46.23.66.106] has joined #lightning-dev 06:29 -!- user470__ [2e17426a@gateway/web/freenode/ip.46.23.66.106] has quit [Client Quit] 06:40 -!- wraithm [~textual@216-80-120-134.alc-bsr1.chi-alc.il.static.cable.rcn.com] has joined #lightning-dev 06:42 -!- wraithm [~textual@216-80-120-134.alc-bsr1.chi-alc.il.static.cable.rcn.com] has quit [Client Quit] 06:42 -!- wraithm [~textual@216-80-120-134.alc-bsr1.chi-alc.il.static.cable.rcn.com] has joined #lightning-dev 07:35 < jannes> quick wonder, if this is proper channel for that: would it be possible to fund a one-to-one payment channel through LN? 07:35 < jannes> So I send 0.1 BTC through LN which is frozen in a payment channel between me and 1 server and then I do many small 0.001BTC transactions directly, without involving LN and then I get the remainder back through LN. 07:35 < jannes> (upon closing the direct payment channel) 07:40 -!- wraithm [~textual@216-80-120-134.alc-bsr1.chi-alc.il.static.cable.rcn.com] has quit [Quit: My Mac has gone to sleep. ZZZzzz…] 07:41 -!- wraithm [~textual@216-80-120-134.alc-bsr1.chi-alc.il.static.cable.rcn.com] has joined #lightning-dev 08:12 -!- wraithm [~textual@216-80-120-134.alc-bsr1.chi-alc.il.static.cable.rcn.com] has quit [Quit: My Mac has gone to sleep. ZZZzzz…] 08:18 -!- wraithm [~textual@216-80-120-134.alc-bsr1.chi-alc.il.static.cable.rcn.com] has joined #lightning-dev 08:21 -!- wraithm [~textual@216-80-120-134.alc-bsr1.chi-alc.il.static.cable.rcn.com] has quit [Read error: Connection reset by peer] 08:22 -!- wraithm [~textual@216-80-120-134.alc-bsr1.chi-alc.il.static.cable.rcn.com] has joined #lightning-dev 09:34 -!- wraithm [~textual@216-80-120-134.alc-bsr1.chi-alc.il.static.cable.rcn.com] has quit [Quit: My Mac has gone to sleep. ZZZzzz…] 09:48 -!- johnwhitton [~johnwhitt@c-71-202-223-50.hsd1.ca.comcast.net] has joined #lightning-dev 10:20 -!- Tasoshi_ [~Tasoshi@unaffiliated/tasoshi] has joined #lightning-dev 10:24 -!- Tasoshi [~Tasoshi@unaffiliated/tasoshi] has quit [Ping timeout: 276 seconds] 10:46 -!- wraithm [~textual@173.165.58.86] has joined #lightning-dev 10:49 -!- wraithm [~textual@173.165.58.86] has quit [Client Quit] 10:52 -!- wraithm [~textual@173.165.58.86] has joined #lightning-dev 11:28 -!- wraithm [~textual@173.165.58.86] has quit [Quit: My Mac has gone to sleep. ZZZzzz…] 11:31 -!- wraithm [~textual@173.165.58.86] has joined #lightning-dev 11:34 -!- Yoghur114 [~jorn@g227014.upc-g.chello.nl] has joined #lightning-dev 11:35 -!- wraithm [~textual@173.165.58.86] has quit [Client Quit] 11:35 -!- Yoghur114 [~jorn@g227014.upc-g.chello.nl] has quit [Remote host closed the connection] 11:37 -!- wraithm [~textual@173.165.58.86] has joined #lightning-dev 11:38 -!- wraithm [~textual@173.165.58.86] has quit [Read error: Connection reset by peer] 11:38 -!- wraithm [~textual@173.165.58.86] has joined #lightning-dev 11:43 -!- wraithm [~textual@173.165.58.86] has quit [Client Quit] 11:44 -!- wraithm [~textual@173.165.58.86] has joined #lightning-dev 11:44 -!- wraithm [~textual@173.165.58.86] has quit [Client Quit] 11:50 -!- wraithm [~textual@173.165.58.86] has joined #lightning-dev 11:51 -!- wraithm [~textual@173.165.58.86] has quit [Client Quit] 11:55 -!- wraithm [~textual@173.165.58.86] has joined #lightning-dev 12:00 -!- wraithm [~textual@173.165.58.86] has quit [Ping timeout: 252 seconds] 12:31 -!- wraithm [~textual@173.165.58.86] has joined #lightning-dev 12:39 -!- wraithm_ [~textual@173.165.58.86] has joined #lightning-dev 12:39 -!- wraithm_ [~textual@173.165.58.86] has quit [Read error: Connection reset by peer] 12:40 -!- wraithm_ [~textual@173.165.58.86] has joined #lightning-dev 12:41 -!- wraithm [~textual@173.165.58.86] has quit [Ping timeout: 264 seconds] 12:47 -!- wraithm_ [~textual@173.165.58.86] has quit [Quit: My Mac has gone to sleep. ZZZzzz…] 12:48 -!- wraithm [~textual@173.165.58.86] has joined #lightning-dev 13:42 -!- laurentmt [~Thunderbi@213-245-86-6.rev.numericable.fr] has joined #lightning-dev 14:06 -!- wraithm [~textual@173.165.58.86] has quit [Quit: My Mac has gone to sleep. ZZZzzz…] 14:08 -!- laurentmt [~Thunderbi@213-245-86-6.rev.numericable.fr] has quit [Quit: laurentmt] 14:39 -!- droark [~droark@c-24-22-36-12.hsd1.or.comcast.net] has joined #lightning-dev 15:35 -!- droark [~droark@c-24-22-36-12.hsd1.or.comcast.net] has quit [Read error: Connection reset by peer] 15:50 -!- AaronvanW [~ewout@unaffiliated/aaronvanw] has quit [Remote host closed the connection] 16:10 -!- rusty [~rusty@pdpc/supporter/bronze/rusty] has joined #lightning-dev 17:21 -!- Ylbam [uid99779@gateway/web/irccloud.com/x-rfdlxuidtiqycfts] has quit [Quit: Connection closed for inactivity] 18:41 -!- p15 [~p15@22.91.145.64.client.static.strong-tk2.bringover.net] has joined #lightning-dev 18:45 -!- bitkevin [~bitkevin@static-ip-34-127-134-202.rev.dyxnet.com] has joined #lightning-dev 19:07 < bitkevin> 如何Path路径没有建立起来的话,不要公开R,否则会造成损失。 19:15 -!- bitkevin is now known as zhibiao_pan 19:20 < rusty> zhibiao_pan: apologies for my poor 中文. Google translate helped :) Method of choosing Path is still to be decided; plan is to have simple map which everyone knows to start. 19:25 < zhibiao_pan> hi rusty, i have a compile issue with gcc, https://github.com/ElementsProject/lightning/pull/20 19:26 < zhibiao_pan> since sipa/segwit4 is ready for LN, could i run lightningd on testnet3 with segwit4? 19:28 < rusty> zhibiao_pan: yes, but I will need to create segwit-style transactions, which will take some work. Definitely needs to happen though! 19:34 < zhibiao_pan> why use pipeline call `bitcoin-cli xxxx`? it's better to use rpc call though socket/tcp. 19:37 < rusty> zhibiao_pan: yes, it's a hack! bitcoind is very hard to work with for this over RPC; I've tried to keep it separate so people can use other things (eg. btcd). 19:38 < gwillen> zhibiao_pan: I commented on your bug 19:38 < gwillen> it seems it's a bug in gcc, but it may be possible to work around 19:39 < gwillen> I'm not sure whether removing the initializer (like that pull request) is correct; it depends on if the struct needed to be initialized to 0 or not 19:39 < rusty> me too. 19:40 < gwillen> yay! 19:45 -githubby:#lightning-dev- [lightning] rustyrussell pushed 1 new commit to master: https://git.io/vVnpX 19:45 -githubby:#lightning-dev- lightning/master e8a83c3 zhibiao.pan: fix "missing braces around initializer"... 19:46 < rusty> zhibiao_pan: thanks! 19:47 < rusty> gwillen: hey, do you know the status of submitting raw SegWit transactions via RPC? And is the final format documented somewhere? 19:48 -!- johnwhitton [~johnwhitt@c-71-202-223-50.hsd1.ca.comcast.net] has quit [Quit: johnwhitton] 19:52 < zhibiao_pan> I think `blkhash` should be fill to zero. see daemon/bitcoind.c line 219, if `blkindxtok` is false, we will use `blkhash` before initialized. 19:55 < gwillen> rusty: I do not, sorry. I would check with Pieter. 20:15 -!- ajweutr [82ebca3a@gateway/web/freenode/ip.130.235.202.58] has quit [Ping timeout: 250 seconds] 20:29 < rusty> gwillen: hmm, I think witness gets thrown on end of tx encoding. That's the "magic". 20:30 < gwillen> *nods* 20:32 < rusty> gwillen: ah, no, reading source. Slightly more complicated, but documented at least.. 20:35 < rusty> zhibiao_pan: actually, that *should* only happen if conf == 0 (unconfirmed transaction), so caller should not use blkhash in that case. Let me clean that up a little to make sure. 20:39 -githubby:#lightning-dev- [lightning] rustyrussell pushed 1 new commit to master: https://git.io/vVcvE 20:39 -githubby:#lightning-dev- lightning/master cc7cb01 Rusty Russell: daemon: make logic in bitcoind interface more explicit.... 20:39 < rusty> zhibiao_pan: see ^ 20:46 -!- rusty [~rusty@pdpc/supporter/bronze/rusty] has quit [Ping timeout: 252 seconds] 20:56 -!- johnwhitton [~johnwhitt@c-71-202-223-50.hsd1.ca.comcast.net] has joined #lightning-dev 21:09 -!- johnwhitton [~johnwhitt@c-71-202-223-50.hsd1.ca.comcast.net] has quit [Quit: johnwhitton] 21:09 -!- johnwhitton [~johnwhitt@c-71-202-223-50.hsd1.ca.comcast.net] has joined #lightning-dev 22:03 -!- Tasoshi_ [~Tasoshi@unaffiliated/tasoshi] has quit [Read error: Connection reset by peer] 22:26 -!- johnwhitton [~johnwhitt@c-71-202-223-50.hsd1.ca.comcast.net] has quit [Quit: johnwhitton] 22:26 -!- johnwhitton [~johnwhitt@c-71-202-223-50.hsd1.ca.comcast.net] has joined #lightning-dev 22:36 -!- p15 [~p15@22.91.145.64.client.static.strong-tk2.bringover.net] has quit [Max SendQ exceeded] 22:39 -!- p15 [~p15@22.91.145.64.client.static.strong-tk2.bringover.net] has joined #lightning-dev 22:43 -!- jtimon [~quassel@227.31.134.37.dynamic.jazztel.es] has quit [Ping timeout: 248 seconds] 22:55 -!- zhibiao_pan [~bitkevin@static-ip-34-127-134-202.rev.dyxnet.com] has quit [] 23:07 -!- Ylbam [uid99779@gateway/web/irccloud.com/x-dvjfycqodefkqjft] has joined #lightning-dev 23:09 -!- bitkevin [~bitkevin@static-ip-34-127-134-202.rev.dyxnet.com] has joined #lightning-dev 23:10 -!- bitkevin [~bitkevin@static-ip-34-127-134-202.rev.dyxnet.com] has quit [Client Quit] 23:10 -!- ZhibiaoPan [~ZhibiaoPa@static-ip-34-127-134-202.rev.dyxnet.com] has joined #lightning-dev