--- Day changed Tue May 15 2018 00:02 -!- AaronvanW [~AaronvanW@unaffiliated/aaronvanw] has joined #lightning-dev 00:07 -!- AaronvanW [~AaronvanW@unaffiliated/aaronvanw] has quit [Ping timeout: 240 seconds] 00:08 -!- bauerj [~bauerj@unaffiliated/bauerj] has quit [Quit: No Ping reply in 180 seconds.] 00:10 -!- bauerj [~bauerj@unaffiliated/bauerj] has joined #lightning-dev 00:21 -!- rusty [~rusty@pdpc/supporter/bronze/rusty] has quit [Ping timeout: 240 seconds] 00:30 -!- blazon [7ab4f0dd@gateway/web/freenode/ip.122.180.240.221] has joined #lightning-dev 00:31 < blazon> why lnd node need two sided commitSig and RevokeAndAck , http://www.plantuml.com/plantuml/png/SoWkIImgAStDuIe0qfd9cGM9UIKAmQbvAQb52ed52ecOugaWyIGkhaG5NJk590KhXT22bCIILCUK58yG7sU4i7D-RcvcIN1cEbSII2WHA1IKMfQVdUgOb-AOd0qNHIY4wiMk46wHMsbEMcPE3iWoeiqWtbKEG2y2WmC0 00:32 < blazon> it clearly says Sender must not send a commitment-signed that does not include any update 00:37 <+roasbeef> blazon: looks fine to me 00:37 <+roasbeef> what sig doesn't include an update there? 00:38 < aj> blazon: updatefulfillhtlc updates the commitment, as does updateaddhtlc 00:49 < blazon> roasbeef, my understanding was Sender sent a commitSig , which Sendee applied and on reciept of RevokeAndAck he also applied , so changes w.r.t. UpdateAddHTLC are consume by both 00:50 < blazon> but as per conversation with aj, I think have missed something, going thru RFC again 00:50 -!- bitonic-cjp [~bitonic-c@92-111-70-106.static.v4.ziggozakelijk.nl] has joined #lightning-dev 01:30 -!- gustavonalle [~gustavona@redhat/jboss/gustavonalle] has joined #lightning-dev 01:33 -!- jtimon [~quassel@52.29.134.37.dynamic.jazztel.es] has quit [Ping timeout: 268 seconds] 01:37 -!- laurentmt [~Thunderbi@37.58.58.232] has joined #lightning-dev 01:46 -!- yaslama [~yaslama@bzq-218-78-150.red.bezeqint.net] has quit [Quit: yaslama] 01:50 -!- AaronvanW [~AaronvanW@unaffiliated/aaronvanw] has joined #lightning-dev 01:50 -!- volition [volition@gateway/vpn/privateinternetaccess/volition] has joined #lightning-dev 01:55 -!- AaronvanW [~AaronvanW@unaffiliated/aaronvanw] has quit [Ping timeout: 276 seconds] 02:02 -!- blazon [7ab4f0dd@gateway/web/freenode/ip.122.180.240.221] has quit [Ping timeout: 260 seconds] 02:05 -!- StopAndDecrypt [~StopAndDe@unaffiliated/stopanddecrypt] has quit [Ping timeout: 268 seconds] 02:05 -!- StopAndDecrypt [~StopAndDe@c-73-215-253-208.hsd1.nj.comcast.net] has joined #lightning-dev 02:05 -!- StopAndDecrypt [~StopAndDe@c-73-215-253-208.hsd1.nj.comcast.net] has quit [Changing host] 02:05 -!- StopAndDecrypt [~StopAndDe@unaffiliated/stopanddecrypt] has joined #lightning-dev 02:36 -!- spudowiar [~spudowiar@unaffiliated/saleemrashid] has joined #lightning-dev 02:48 -!- nirved [~nirved@2a02:8071:b58a:3c00:95bc:24ad:c60f:ebcc] has quit [Ping timeout: 265 seconds] 02:53 -!- nodweber [~nodweber@unaffiliated/nodweber] has quit [Ping timeout: 268 seconds] 02:54 -!- nodweber [~nodweber@unaffiliated/nodweber] has joined #lightning-dev 02:57 -!- lio17 [~lio17@80.ip-145-239-89.eu] has quit [Ping timeout: 240 seconds] 02:59 -!- nirved [~nirved@2a02:8071:b58a:3c00:e8d8:4533:826d:46ae] has joined #lightning-dev 03:15 -!- marcoagner [~user@gateway/tor-sasl/marcoagner] has joined #lightning-dev 03:27 -!- tryphe [~tryphe@unaffiliated/tryphe] has joined #lightning-dev 04:06 -!- lio17 [~lio17@80.ip-145-239-89.eu] has joined #lightning-dev 04:10 -!- spudowiar [~spudowiar@unaffiliated/saleemrashid] has quit [Quit: WeeChat 2.1] 04:10 -!- jtimon [~quassel@52.29.134.37.dynamic.jazztel.es] has joined #lightning-dev 04:10 -!- aj [aj@cerulean.erisian.com.au] has quit [Quit: .] 04:10 -!- spudowiar [~spudowiar@unaffiliated/saleemrashid] has joined #lightning-dev 04:12 -!- lightningbot [~supybot@2400:8901::f03c:91ff:febb:bbc1] has quit [Read error: Connection reset by peer] 04:13 -!- aj [aj@cerulean.erisian.com.au] has joined #lightning-dev 04:13 -!- spudowiar [~spudowiar@unaffiliated/saleemrashid] has quit [Client Quit] 04:15 -!- lightningbot [~supybot@2400:8901::f03c:91ff:febb:bbc1] has joined #lightning-dev 04:59 -!- dougsland [~douglas@c-73-234-93-65.hsd1.nh.comcast.net] has joined #lightning-dev 05:06 -!- ebx [~ebx@unaffiliated/ebex] has joined #lightning-dev 05:16 -!- nodweber [~nodweber@unaffiliated/nodweber] has quit [Ping timeout: 256 seconds] 05:17 -!- AaronvanW [~AaronvanW@unaffiliated/aaronvanw] has joined #lightning-dev 05:17 -!- tryphe [~tryphe@unaffiliated/tryphe] has quit [Ping timeout: 265 seconds] 05:18 -!- Aaronvan_ [~AaronvanW@unaffiliated/aaronvanw] has joined #lightning-dev 05:19 -!- nodweber [~nodweber@unaffiliated/nodweber] has joined #lightning-dev 05:19 -!- tryphe [~tryphe@unaffiliated/tryphe] has joined #lightning-dev 05:21 -!- AaronvanW [~AaronvanW@unaffiliated/aaronvanw] has quit [Ping timeout: 240 seconds] 05:24 -!- nodweber [~nodweber@unaffiliated/nodweber] has quit [Ping timeout: 240 seconds] 05:25 -!- nodweber [~nodweber@unaffiliated/nodweber] has joined #lightning-dev 05:33 -!- nodweber [~nodweber@unaffiliated/nodweber] has quit [Ping timeout: 265 seconds] 05:34 -!- JackH [~laptop@host-80-47-85-84.as13285.net] has quit [Quit: Leaving] 05:38 -!- nodweber [~nodweber@unaffiliated/nodweber] has joined #lightning-dev 05:39 -!- CubicEarths [~cubiceart@ool-44c11be6.dyn.optonline.net] has joined #lightning-dev 05:43 -!- nodweber [~nodweber@unaffiliated/nodweber] has quit [Ping timeout: 248 seconds] 05:46 -!- volition [volition@gateway/vpn/privateinternetaccess/volition] has quit [Ping timeout: 240 seconds] 05:52 -!- dougsland [~douglas@c-73-234-93-65.hsd1.nh.comcast.net] has quit [Remote host closed the connection] 05:53 -!- GTHaxor [~GTHaxor@2601:5c0:c100:ad70:2db1:d14c:de0c:dc41] has joined #lightning-dev 06:15 -!- nodweber [~nodweber@unaffiliated/nodweber] has joined #lightning-dev 06:21 -!- nodweber [~nodweber@unaffiliated/nodweber] has quit [Ping timeout: 260 seconds] 06:24 -!- nodweber [~nodweber@unaffiliated/nodweber] has joined #lightning-dev 06:25 -!- dougsland [~douglas@c-73-234-93-65.hsd1.nh.comcast.net] has joined #lightning-dev 06:29 -!- tryphe [~tryphe@unaffiliated/tryphe] has quit [Read error: Connection reset by peer] 06:29 -!- nodweber [~nodweber@unaffiliated/nodweber] has quit [Ping timeout: 240 seconds] 06:33 -!- nodweber [~nodweber@unaffiliated/nodweber] has joined #lightning-dev 06:35 -!- Aaronvan_ [~AaronvanW@unaffiliated/aaronvanw] has quit [Remote host closed the connection] 06:40 -!- gustavonalle [~gustavona@redhat/jboss/gustavonalle] has quit [Quit: Leaving] 06:50 -!- marcoagner [~user@gateway/tor-sasl/marcoagner] has quit [Quit: WeeChat 2.0.1] 07:05 -!- CubicEarths [~cubiceart@ool-44c11be6.dyn.optonline.net] has quit [Remote host closed the connection] 07:05 -!- CubicEarths [~cubiceart@ool-44c11be6.dyn.optonline.net] has joined #lightning-dev 07:10 -!- CubicEarths [~cubiceart@ool-44c11be6.dyn.optonline.net] has quit [Remote host closed the connection] 07:13 -!- AaronvanW [~AaronvanW@unaffiliated/aaronvanw] has joined #lightning-dev 07:15 -!- marcoagner [~user@gateway/tor-sasl/marcoagner] has joined #lightning-dev 07:17 -!- AaronvanW [~AaronvanW@unaffiliated/aaronvanw] has quit [Remote host closed the connection] 07:34 -!- marcoagner [~user@gateway/tor-sasl/marcoagner] has quit [Quit: WeeChat 2.0.1] 07:42 -!- Aliencorpse [~Aliencorp@2605:a601:b024:600:2500:b14f:f800:1d2d] has quit [Ping timeout: 246 seconds] 07:42 -!- nodweber [~nodweber@unaffiliated/nodweber] has quit [Ping timeout: 240 seconds] 07:49 -!- tiagotrs [~user@p5DC465D5.dip0.t-ipconnect.de] has joined #lightning-dev 07:49 -!- tiagotrs [~user@p5DC465D5.dip0.t-ipconnect.de] has quit [Changing host] 07:49 -!- tiagotrs [~user@unaffiliated/tiagotrs] has joined #lightning-dev 07:50 -!- nodweber [~nodweber@unaffiliated/nodweber] has joined #lightning-dev 07:55 -!- Aliencorpse [~Aliencorp@2605:a601:b024:600:2533:4dff:3297:2ae0] has joined #lightning-dev 07:55 -!- nodweber [~nodweber@unaffiliated/nodweber] has quit [Ping timeout: 268 seconds] 08:42 -!- marcoagner [~user@gateway/tor-sasl/marcoagner] has joined #lightning-dev 09:01 -!- bitonic-cjp [~bitonic-c@92-111-70-106.static.v4.ziggozakelijk.nl] has quit [Quit: Leaving] 09:04 -!- nodweber [~nodweber@unaffiliated/nodweber] has joined #lightning-dev 09:16 -!- rumblr [~Rumblr@46.11.46.149] has joined #lightning-dev 09:17 -!- rumblr [~Rumblr@46.11.46.149] has quit [Remote host closed the connection] 10:13 -!- Guest94782 [~delphi@2602:306:b8b6:b970:70ba:70b2:2216:daa8] has quit [Ping timeout: 276 seconds] 10:21 -!- riclas [~riclas@148.63.37.111] has joined #lightning-dev 10:28 -!- charlton_ [~charlton@189.160.128.189] has quit [Quit: leaving] 10:39 -!- marcoagner [~user@gateway/tor-sasl/marcoagner] has quit [Ping timeout: 255 seconds] 10:52 -!- BashCo [~BashCo@unaffiliated/bashco] has quit [Ping timeout: 256 seconds] 10:53 -!- BashCo [~BashCo@unaffiliated/bashco] has joined #lightning-dev 11:15 < arubi> does FindAndDelete run when sighash noinput is used? cdecker specifically re. your noinput branch 11:17 < arubi> I mean I don't see anything that would stop it from running. quite annoying because of https://github.com/bitcoin/bitcoin/blob/master/src/script/script_error.cpp#L94-L95 which ruins all the fun :) 11:22 < arubi> oh wait, maybe it's an empty scriptcode that's passed to FaD anyway so this never triggers? I'll need to try it out to be sure. sorry if I'm just confused 11:40 -!- laurentmt [~Thunderbi@37.58.58.232] has quit [Quit: laurentmt] 11:53 -!- marcoagner [~user@gateway/tor-sasl/marcoagner] has joined #lightning-dev 12:07 -!- rusty [~rusty@pdpc/supporter/bronze/rusty] has joined #lightning-dev 12:14 -!- rusty [~rusty@pdpc/supporter/bronze/rusty] has quit [Ping timeout: 276 seconds] 12:22 -!- tiagotrs [~user@unaffiliated/tiagotrs] has quit [Ping timeout: 248 seconds] 12:42 -!- dx25 [~dx25@67-3-153-10.omah.qwest.net] has quit [Quit: ZNC 1.6.3+deb1 - http://znc.in] 12:49 -!- dx25 [~dx25@67-3-153-10.omah.qwest.net] has joined #lightning-dev 12:51 -!- BashCo [~BashCo@unaffiliated/bashco] has quit [Ping timeout: 260 seconds] 12:52 -!- BashCo [~BashCo@unaffiliated/bashco] has joined #lightning-dev 12:56 -!- dougsland [~douglas@c-73-234-93-65.hsd1.nh.comcast.net] has quit [Ping timeout: 276 seconds] 13:07 -!- BashCo_ [~BashCo@unaffiliated/bashco] has joined #lightning-dev 13:11 -!- BashCo [~BashCo@unaffiliated/bashco] has quit [Ping timeout: 255 seconds] 13:13 -!- nodweber [~nodweber@unaffiliated/nodweber] has quit [Ping timeout: 256 seconds] 13:19 -!- BashCo [~BashCo@unaffiliated/bashco] has joined #lightning-dev 13:20 -!- BashCo_ [~BashCo@unaffiliated/bashco] has quit [Ping timeout: 256 seconds] 13:22 < arubi> doh, I guess this isn't a segwit rule at all! awesome 13:23 -!- tiagotrs [~user@p5DC47F86.dip0.t-ipconnect.de] has joined #lightning-dev 13:23 -!- tiagotrs [~user@p5DC47F86.dip0.t-ipconnect.de] has quit [Changing host] 13:23 -!- tiagotrs [~user@unaffiliated/tiagotrs] has joined #lightning-dev 13:24 -!- BashCo [~BashCo@unaffiliated/bashco] has quit [Ping timeout: 276 seconds] 13:25 -!- BashCo [~BashCo@unaffiliated/bashco] has joined #lightning-dev 13:30 -!- BashCo_ [~BashCo@unaffiliated/bashco] has joined #lightning-dev 13:33 -!- BashCo [~BashCo@unaffiliated/bashco] has quit [Ping timeout: 256 seconds] 13:44 -!- nodweber [~nodweber@unaffiliated/nodweber] has joined #lightning-dev 13:47 -!- tiagotrs [~user@unaffiliated/tiagotrs] has quit [Ping timeout: 240 seconds] 13:49 -!- nodweber [~nodweber@unaffiliated/nodweber] has quit [Ping timeout: 240 seconds] 13:49 -!- BashCo [~BashCo@unaffiliated/bashco] has joined #lightning-dev 13:50 -!- BashCo_ [~BashCo@unaffiliated/bashco] has quit [Ping timeout: 264 seconds] 13:58 -!- BashCo [~BashCo@unaffiliated/bashco] has quit [Ping timeout: 260 seconds] 14:10 -!- luke-jr [~luke-jr@unaffiliated/luke-jr] has quit [Excess Flood] 14:10 -!- luke-jr [~luke-jr@unaffiliated/luke-jr] has joined #lightning-dev 14:53 -!- tombusby [~tombusby@gateway/tor-sasl/tombusby] has quit [Remote host closed the connection] 14:54 -!- tombusby [~tombusby@gateway/tor-sasl/tombusby] has joined #lightning-dev 15:00 -!- marcoagner [~user@gateway/tor-sasl/marcoagner] has quit [Quit: WeeChat 2.0.1] 15:09 -!- intcat [~zshlyk@gateway/tor-sasl/intcat] has quit [Ping timeout: 255 seconds] 15:11 -!- CubicEarths [~cubiceart@ool-44c11be6.dyn.optonline.net] has joined #lightning-dev 15:12 -!- intcat [~zshlyk@gateway/tor-sasl/intcat] has joined #lightning-dev 15:15 -!- CubicEarths [~cubiceart@ool-44c11be6.dyn.optonline.net] has quit [Ping timeout: 240 seconds] 15:38 -!- tiagotrs [~user@p5DC47F86.dip0.t-ipconnect.de] has joined #lightning-dev 15:38 -!- tiagotrs [~user@p5DC47F86.dip0.t-ipconnect.de] has quit [Changing host] 15:38 -!- tiagotrs [~user@unaffiliated/tiagotrs] has joined #lightning-dev 15:45 -!- nodweber [~nodweber@unaffiliated/nodweber] has joined #lightning-dev 15:50 -!- nodweber [~nodweber@unaffiliated/nodweber] has quit [Ping timeout: 255 seconds] 15:58 -!- JackH [~laptop@79-73-185-29.dynamic.dsl.as9105.com] has joined #lightning-dev 16:03 -!- kiltzman [~k1ltzman@185.117.75.189] has quit [Ping timeout: 255 seconds] 16:05 -!- kiltzman [~k1ltzman@95.215.47.208] has joined #lightning-dev 16:11 -!- nickler [~nickler@185.12.46.130] has quit [Ping timeout: 264 seconds] 16:11 -!- nickler [~nickler@185.12.46.130] has joined #lightning-dev 16:51 < pigeons> what would be a good channel to ask non-dev related lightning questions in? 16:52 -!- melvster [~melvin@ip-86-49-18-198.net.upcbroadband.cz] has quit [Ping timeout: 248 seconds] 16:55 <+roasbeef> pigeons: here i guess, not like it's super flooded :) 16:58 < pigeons> are the main risks of opening a channel with someone you don't know that your funds could be tied up, and that they could try to exploit something like a "loop attack" 16:58 -!- tiagotrs [~user@unaffiliated/tiagotrs] has quit [Quit: Leaving] 16:58 <+roasbeef> well there's always the worst case that you need to force clsoe a channel for w/e reason 16:58 <+roasbeef> and you'll incur the csv delay at that point 16:58 < pigeons> i'm trying to decide how to weigh a policy for setting up channels. lnd's "autopilot" has worked great in testnet 16:59 <+roasbeef> at the basic level you would start to penaize nodes of whcih you had to clsoe out channels forcibly due to inactivity 17:02 < pigeons> ok thanks yeah 17:45 -!- ghost43 [~daer@gateway/tor-sasl/daer] has quit [Ping timeout: 255 seconds] 17:45 -!- ghost43 [~daer@gateway/tor-sasl/daer] has joined #lightning-dev 17:46 -!- nodweber [~nodweber@unaffiliated/nodweber] has joined #lightning-dev 17:49 -!- tryphe [~tryphe@unaffiliated/tryphe] has joined #lightning-dev 17:51 -!- nodweber [~nodweber@unaffiliated/nodweber] has quit [Ping timeout: 248 seconds] 17:52 -!- Dev91 [~quassel@203.86.206.137] has left #lightning-dev ["http://quassel-irc.org - Chat comfortably. Anywhere."] 17:59 -!- riclas [~riclas@148.63.37.111] has quit [Ping timeout: 264 seconds] 18:02 -!- jtimon [~quassel@52.29.134.37.dynamic.jazztel.es] has quit [Ping timeout: 265 seconds] 18:22 -!- nodweber [~nodweber@unaffiliated/nodweber] has joined #lightning-dev 18:23 <+roasbeef> there's a ton of cool stuff we can do if we make the onion errors actually binding to source that sent them 18:24 <+roasbeef> as otherwise, rn the soruce knows who sent, but the source can't present these errors to others for various proofs 18:24 <+roasbeef> easiest way to intro would be to also add sig to encrypted blob sent by source of error 18:25 <+roasbeef> even better would be to just switch to "signcryption" 18:27 -!- nodweber [~nodweber@unaffiliated/nodweber] has quit [Ping timeout: 256 seconds] 18:59 <+roasbeef> hmm actually that would require error source knowing pubkey of payment source, which isn't the case atm 18:59 <+roasbeef> so just the extra sig itself works 18:59 <+roasbeef> so sign-then-encrypt kinda thing 19:07 -!- GTHaxor [~GTHaxor@2601:5c0:c100:ad70:2db1:d14c:de0c:dc41] has left #lightning-dev [] 20:23 -!- nodweber [~nodweber@unaffiliated/nodweber] has joined #lightning-dev 20:28 -!- nodweber [~nodweber@unaffiliated/nodweber] has quit [Ping timeout: 260 seconds] 20:58 -!- ebx [~ebx@unaffiliated/ebex] has quit [Remote host closed the connection] 21:05 < arubi> the noinput bip says this about the outpoint : "outpoint (32-byte hash + 4-byte little endian) is set to 36 0x00 bytes", but I think a blank COutPoint (COutPoint prevout in SignatureHash() ) has its input index set as 0xFFFFFFFF instead (looking at class COutPoint in transaction.h). maybe I'm missing something? 21:09 <+roasbeef> oh c++ 21:09 < arubi> silly uints 21:10 <+roasbeef> come over to go land arubi, we have sane default zero values 21:11 < arubi> :) one day I'll buy a plane ticket 21:11 <+roasbeef> https://golang.org/ref/spec#The_zero_value 21:11 <+roasbeef> weather is reaaaal nice 21:13 < arubi> hehe it does look nice. I should look through btcd 21:47 -!- AaronvanW [~AaronvanW@unaffiliated/aaronvanw] has joined #lightning-dev 22:14 -!- nodweber [~nodweber@unaffiliated/nodweber] has joined #lightning-dev 22:16 -!- C-Otto [~cotto@ip2-169.halifax.rwth-aachen.de] has quit [Ping timeout: 246 seconds] 22:16 -!- C-Otto [~cotto@ip2-169.halifax.rwth-aachen.de] has joined #lightning-dev 22:19 -!- nodweber [~nodweber@unaffiliated/nodweber] has quit [Ping timeout: 268 seconds] 22:35 -!- nodweber [~nodweber@unaffiliated/nodweber] has joined #lightning-dev 22:36 -!- AaronvanW [~AaronvanW@unaffiliated/aaronvanw] has quit [Remote host closed the connection] 22:37 -!- AaronvanW [~AaronvanW@unaffiliated/aaronvanw] has joined #lightning-dev 22:42 -!- AaronvanW [~AaronvanW@unaffiliated/aaronvanw] has quit [Ping timeout: 240 seconds] 22:53 -!- nodweber [~nodweber@unaffiliated/nodweber] has quit [Ping timeout: 240 seconds] 22:58 -!- nodweber [~nodweber@unaffiliated/nodweber] has joined #lightning-dev 23:03 -!- nodweber [~nodweber@unaffiliated/nodweber] has quit [Ping timeout: 255 seconds] 23:12 -!- nodweber [~nodweber@unaffiliated/nodweber] has joined #lightning-dev 23:18 -!- nodweber [~nodweber@unaffiliated/nodweber] has quit [Ping timeout: 248 seconds] 23:23 -!- nodweber [~nodweber@unaffiliated/nodweber] has joined #lightning-dev 23:29 -!- nodweber [~nodweber@unaffiliated/nodweber] has quit [Ping timeout: 264 seconds] 23:32 -!- AaronvanW [~AaronvanW@unaffiliated/aaronvanw] has joined #lightning-dev 23:33 -!- rusty [~rusty@pdpc/supporter/bronze/rusty] has joined #lightning-dev 23:38 -!- AaronvanW [~AaronvanW@unaffiliated/aaronvanw] has quit [Ping timeout: 255 seconds] 23:57 -!- nodweber [~nodweber@unaffiliated/nodweber] has joined #lightning-dev 23:58 -!- llou [~textual@cm-83-97-182-195.telecable.es] has joined #lightning-dev