--- Log opened Mon Feb 10 00:00:08 2020 --- Day changed Mon Feb 10 2020 00:00 -!- imawhale [~Thunderbi@104.140.14.155] has quit [Ping timeout: 265 seconds] 00:12 -!- AbramAdelmo [AbramAdelm@gateway/vpn/protonvpn/abramadelmo] has joined #lightning-dev 00:15 -!- AbramAdelmo_ [AbramAdelm@gateway/vpn/protonvpn/abramadelmo] has quit [Ping timeout: 265 seconds] 00:33 -!- marcoagner [~user@2001:8a0:6a67:4700:af2a:23:5e6f:bccf] has joined #lightning-dev 01:20 -!- Dean_Guss [~dean@gateway/tor-sasl/deanguss] has joined #lightning-dev 01:22 -!- DeanGuss [~dean@gateway/tor-sasl/deanguss] has quit [Ping timeout: 240 seconds] 01:43 -!- niceplace [~nplace@185.246.211.68] has quit [Ping timeout: 260 seconds] 01:45 -!- niceplace [~nplace@185.246.211.68] has joined #lightning-dev 01:46 -!- imawhale [~Thunderbi@104.140.14.155] has joined #lightning-dev 01:46 -!- imawhale1 [~Thunderbi@softbank126194186087.bbtec.net] has quit [Ping timeout: 265 seconds] 01:57 -!- riclas [riclas@77.7.37.188.rev.vodafone.pt] has quit [Ping timeout: 268 seconds] 01:58 -!- aqquadro [~name@net-37-159-134-26.cust.vodafonedsl.it] has joined #lightning-dev 01:58 -!- aqquadro [~name@net-37-159-134-26.cust.vodafonedsl.it] has quit [Changing host] 01:58 -!- aqquadro [~name@unaffiliated/aqquadro] has joined #lightning-dev 01:58 -!- aqquadro [~name@unaffiliated/aqquadro] has quit [Remote host closed the connection] 02:01 -!- ccdle12_ [~ccdle12@cpc139350-aztw33-2-0-cust310.18-1.cable.virginm.net] has joined #lightning-dev 02:02 -!- ccdle12 [~ccdle12@cpc139350-aztw33-2-0-cust310.18-1.cable.virginm.net] has joined #lightning-dev 02:02 -!- ccdle12_ [~ccdle12@cpc139350-aztw33-2-0-cust310.18-1.cable.virginm.net] has quit [Client Quit] 02:17 -!- cryptosoap [~cryptosoa@gateway/tor-sasl/cryptosoap] has quit [Remote host closed the connection] 02:18 -!- cryptosoap [~cryptosoa@gateway/tor-sasl/cryptosoap] has joined #lightning-dev 02:23 -!- AaronvanW [~AaronvanW@unaffiliated/aaronvanw] has joined #lightning-dev 02:29 -!- jcoe [seru@gateway/vpn/protonvpn/joncoe] has joined #lightning-dev 02:52 -!- jonatack [~jon@2a01:e0a:53c:a200:bb54:3be5:c3d0:9ce5] has quit [Ping timeout: 256 seconds] 02:56 -!- dr_orlovsky [~dr-orlovs@ip216.ip-54-36-238.eu] has quit [Quit: ZNC 1.6.6+deb1ubuntu0.2 - http://znc.in] 02:57 -!- dr-orlovsky [~dr-orlovs@ip216.ip-54-36-238.eu] has joined #lightning-dev 02:58 -!- dr-orlovsky [~dr-orlovs@ip216.ip-54-36-238.eu] has quit [Client Quit] 02:58 -!- dr-orlovsky [~dr-orlovs@ip216.ip-54-36-238.eu] has joined #lightning-dev 02:58 -!- dr-orlovsky [~dr-orlovs@ip216.ip-54-36-238.eu] has quit [Client Quit] 02:58 -!- kamyl [~user@unaffiliated/kamyl] has quit [Ping timeout: 272 seconds] 02:59 -!- kamyl [~user@unaffiliated/kamyl] has joined #lightning-dev 03:10 -!- ghost43 [~daer@gateway/tor-sasl/daer] has quit [Remote host closed the connection] 03:10 -!- dr-orlovsky [~dr-orlovs@ip216.ip-54-36-238.eu] has joined #lightning-dev 03:10 -!- ghost43 [~daer@gateway/tor-sasl/daer] has joined #lightning-dev 03:13 -!- zmnscpxj [~zmnscpxj@gateway/tor-sasl/zmnscpxj] has quit [Quit: Leaving] 03:19 -!- bitdex [~bitdex@gateway/tor-sasl/bitdex] has quit [Remote host closed the connection] 03:20 -!- bitdex [~bitdex@gateway/tor-sasl/bitdex] has joined #lightning-dev 03:30 -!- jonatack [~jon@213.152.162.94] has joined #lightning-dev 03:31 -!- dr-orlovsky [~dr-orlovs@ip216.ip-54-36-238.eu] has quit [Remote host closed the connection] 03:53 -!- dr-orlovsky [~dr-orlovs@ip216.ip-54-36-238.eu] has joined #lightning-dev 04:11 -!- riclas [~riclas@77.7.37.188.rev.vodafone.pt] has joined #lightning-dev 04:30 -!- jonatack [~jon@213.152.162.94] has quit [Ping timeout: 260 seconds] 04:56 -!- vindard [~vindard@190.83.165.233] has quit [Ping timeout: 260 seconds] 04:59 -!- vindard [~vindard@190.83.165.233] has joined #lightning-dev 05:29 -!- ccdle12 [~ccdle12@cpc139350-aztw33-2-0-cust310.18-1.cable.virginm.net] has quit [Quit: WeeChat 1.9.1] 05:36 -!- rdymac [uid31665@gateway/web/irccloud.com/x-dixwtczbnfwwrtdv] has joined #lightning-dev 06:04 -!- ghost43 [~daer@gateway/tor-sasl/daer] has quit [Ping timeout: 240 seconds] 06:09 -!- bitdex [~bitdex@gateway/tor-sasl/bitdex] has quit [Quit: = ""] 06:09 -!- ghost43 [~daer@gateway/tor-sasl/daer] has joined #lightning-dev 06:41 -!- AbramAdelmo [AbramAdelm@gateway/vpn/protonvpn/abramadelmo] has quit [Remote host closed the connection] 06:41 -!- AbramAdelmo [AbramAdelm@gateway/vpn/protonvpn/abramadelmo] has joined #lightning-dev 06:49 -!- AbramAdelmo [AbramAdelm@gateway/vpn/protonvpn/abramadelmo] has quit [Remote host closed the connection] 07:13 -!- Dean_Guss [~dean@gateway/tor-sasl/deanguss] has quit [Remote host closed the connection] 07:13 -!- Dean_Guss [~dean@gateway/tor-sasl/deanguss] has joined #lightning-dev 07:29 -!- AbramAdelmo [AbramAdelm@gateway/vpn/protonvpn/abramadelmo] has joined #lightning-dev 07:43 -!- opsec_x122 [~opsec_x12@c-67-183-29-123.hsd1.wa.comcast.net] has quit [Ping timeout: 272 seconds] 07:51 -!- mdunnio [~mdunnio@38.126.31.226] has joined #lightning-dev 07:53 -!- ghost43 [~daer@gateway/tor-sasl/daer] has quit [Remote host closed the connection] 07:55 -!- ghost43 [~daer@gateway/tor-sasl/daer] has joined #lightning-dev 08:07 -!- jonatack [~jon@54.76.13.109.rev.sfr.net] has joined #lightning-dev 08:08 -!- imawhale [~Thunderbi@104.140.14.155] has quit [Ping timeout: 265 seconds] 08:12 -!- imawhale [~Thunderbi@104.140.14.155] has joined #lightning-dev 08:23 -!- imawhale [~Thunderbi@104.140.14.155] has quit [Ping timeout: 240 seconds] 08:31 -!- CCR5-D32 [~CCR5@unaffiliated/ccr5-d32] has joined #lightning-dev 08:47 -!- berndj [~berndj@azna.co.za] has quit [Ping timeout: 260 seconds] 08:51 -!- imawhale [~Thunderbi@104.140.14.155] has joined #lightning-dev 09:03 -!- imawhale [~Thunderbi@104.140.14.155] has quit [Ping timeout: 265 seconds] 09:20 -!- imawhale [~Thunderbi@104.140.14.155] has joined #lightning-dev 09:28 -!- jonatack [~jon@54.76.13.109.rev.sfr.net] has quit [Ping timeout: 265 seconds] 09:37 -!- berndj [~berndj@azna.co.za] has joined #lightning-dev 09:38 -!- imawhale [~Thunderbi@104.140.14.155] has quit [Ping timeout: 265 seconds] 10:02 -!- fox2p_ [~fox2p@193.32.127.153] has joined #lightning-dev 10:03 -!- fox2p [~fox2p@193.32.127.151] has quit [Ping timeout: 248 seconds] 10:30 -!- fox2p_ [~fox2p@193.32.127.153] has quit [Ping timeout: 240 seconds] 10:34 -!- fox2p [~fox2p@cpe-66-108-32-173.nyc.res.rr.com] has joined #lightning-dev 10:53 -!- jonatack [~jon@2a01:e0a:53c:a200:bb54:3be5:c3d0:9ce5] has joined #lightning-dev 10:54 -!- Dean_Guss [~dean@gateway/tor-sasl/deanguss] has quit [Remote host closed the connection] 11:06 -!- ghost43 [~daer@gateway/tor-sasl/daer] has quit [Remote host closed the connection] 11:06 -!- ghost43 [~daer@gateway/tor-sasl/daer] has joined #lightning-dev 11:12 -!- ghost43 [~daer@gateway/tor-sasl/daer] has quit [Excess Flood] 11:13 -!- ghost43 [~daer@gateway/tor-sasl/daer] has joined #lightning-dev 11:23 -!- vasild [~vd@gateway/tor-sasl/vasild] has joined #lightning-dev 11:40 -!- vasild_ [~vd@gateway/tor-sasl/vasild] has joined #lightning-dev 11:43 -!- vasild [~vd@gateway/tor-sasl/vasild] has quit [Ping timeout: 240 seconds] 11:46 -!- CCR5-D32 [~CCR5@unaffiliated/ccr5-d32] has quit [Ping timeout: 240 seconds] 12:00 -!- rusty [~rusty@pdpc/supporter/bronze/rusty] has joined #lightning-dev 12:05 -!- marijnfs [~marijnfs@x4d094cc9.dyn.telefonica.de] has joined #lightning-dev 12:10 -!- cryptosoap [~cryptosoa@gateway/tor-sasl/cryptosoap] has quit [Remote host closed the connection] 12:11 -!- cryptosoap [~cryptosoa@gateway/tor-sasl/cryptosoap] has joined #lightning-dev 12:15 -!- marijnfs_ [~marijnfs@x4d094cc9.dyn.telefonica.de] has joined #lightning-dev 12:16 -!- marijnfs [~marijnfs@x4d094cc9.dyn.telefonica.de] has quit [Ping timeout: 240 seconds] 12:16 -!- Bugz [~pi@2602:30a:2ea2:1180:4658:cbe4:213d:490b] has quit [Quit: WeeChat 2.3] 12:18 -!- CCR5-D32 [~CCR5@unaffiliated/ccr5-d32] has joined #lightning-dev 12:23 -!- Bugz [~pi@2602:30a:2ea2:1180:4658:cbe4:213d:490b] has joined #lightning-dev 12:26 -!- vasild_ is now known as vasild 12:31 -!- marijnfs [~marijnfs@x4d094cc9.dyn.telefonica.de] has joined #lightning-dev 12:32 -!- marijnfs_ [~marijnfs@x4d094cc9.dyn.telefonica.de] has quit [Ping timeout: 260 seconds] 12:36 -!- ghost43 [~daer@gateway/tor-sasl/daer] has quit [Ping timeout: 240 seconds] 12:40 -!- rusty [~rusty@pdpc/supporter/bronze/rusty] has quit [Ping timeout: 240 seconds] 12:41 -!- ghost43 [~daer@gateway/tor-sasl/daer] has joined #lightning-dev 12:41 -!- Dean_Guss [~dean@gateway/tor-sasl/deanguss] has joined #lightning-dev 12:44 -!- imawhale [~Thunderbi@104.140.14.155] has joined #lightning-dev 12:45 -!- marijnfs_ [~marijnfs@x4d094cc9.dyn.telefonica.de] has joined #lightning-dev 12:46 -!- marijnfs [~marijnfs@x4d094cc9.dyn.telefonica.de] has quit [Ping timeout: 272 seconds] 12:55 -!- marijnfs [~marijnfs@x4d094cc9.dyn.telefonica.de] has joined #lightning-dev 12:56 -!- marijnfs_ [~marijnfs@x4d094cc9.dyn.telefonica.de] has quit [Ping timeout: 268 seconds] 13:04 -!- ghost43_ [~daer@gateway/tor-sasl/daer] has joined #lightning-dev 13:05 -!- ghost43 [~daer@gateway/tor-sasl/daer] has quit [Ping timeout: 240 seconds] 13:05 -!- ghost43_ [~daer@gateway/tor-sasl/daer] has quit [Remote host closed the connection] 13:06 -!- ghost43 [~daer@gateway/tor-sasl/daer] has joined #lightning-dev 13:12 -!- CCR5-D32 [~CCR5@unaffiliated/ccr5-d32] has quit [Quit: ZZZzzz...] 13:19 -!- marijnfs_ [~marijnfs@x4d094cc9.dyn.telefonica.de] has joined #lightning-dev 13:20 -!- marijnfs [~marijnfs@x4d094cc9.dyn.telefonica.de] has quit [Ping timeout: 240 seconds] 13:45 -!- marijnfs [~marijnfs@x4d094cc9.dyn.telefonica.de] has joined #lightning-dev 13:46 -!- marijnfs_ [~marijnfs@x4d094cc9.dyn.telefonica.de] has quit [Ping timeout: 260 seconds] 14:03 -!- marijnfs_ [~marijnfs@x4d094cc9.dyn.telefonica.de] has joined #lightning-dev 14:04 -!- marijnfs [~marijnfs@x4d094cc9.dyn.telefonica.de] has quit [Ping timeout: 260 seconds] 14:16 -!- foureighttwonine [~foureight@185.156.175.51] has joined #lightning-dev 14:16 -!- foureighttwonine [~foureight@185.156.175.51] has quit [Read error: Connection reset by peer] 14:21 -!- marijnfs [~marijnfs@x4d094cc9.dyn.telefonica.de] has joined #lightning-dev 14:22 -!- marijnfs_ [~marijnfs@x4d094cc9.dyn.telefonica.de] has quit [Ping timeout: 240 seconds] 14:30 -!- Dean_Guss [~dean@gateway/tor-sasl/deanguss] has quit [Ping timeout: 240 seconds] 14:33 -!- vasild [~vd@gateway/tor-sasl/vasild] has quit [Remote host closed the connection] 14:33 -!- vasild [~vd@gateway/tor-sasl/vasild] has joined #lightning-dev 14:35 -!- marijnfs_ [~marijnfs@x4d094cc9.dyn.telefonica.de] has joined #lightning-dev 14:36 -!- marijnfs [~marijnfs@x4d094cc9.dyn.telefonica.de] has quit [Ping timeout: 268 seconds] 14:37 -!- Dean_Guss [~dean@gateway/tor-sasl/deanguss] has joined #lightning-dev 14:55 -!- marijnfs [~marijnfs@x4d094cc9.dyn.telefonica.de] has joined #lightning-dev 14:56 -!- marijnfs_ [~marijnfs@x4d094cc9.dyn.telefonica.de] has quit [Ping timeout: 272 seconds] 15:02 -!- mdunnio [~mdunnio@38.126.31.226] has quit [Read error: Connection reset by peer] 15:11 -!- marijnfs_ [~marijnfs@x4d094cc9.dyn.telefonica.de] has joined #lightning-dev 15:12 -!- mdunnio [~mdunnio@38.126.31.226] has joined #lightning-dev 15:12 -!- marijnfs [~marijnfs@x4d094cc9.dyn.telefonica.de] has quit [Ping timeout: 265 seconds] 15:22 -!- mdunnio [~mdunnio@38.126.31.226] has quit [Remote host closed the connection] 15:26 -!- jcoe [seru@gateway/vpn/protonvpn/joncoe] has quit [Ping timeout: 240 seconds] 15:27 -!- AbramAdelmo [AbramAdelm@gateway/vpn/protonvpn/abramadelmo] has quit [Remote host closed the connection] 15:27 -!- AbramAdelmo [AbramAdelm@gateway/vpn/protonvpn/abramadelmo] has joined #lightning-dev 15:28 -!- AbramAdelmo [AbramAdelm@gateway/vpn/protonvpn/abramadelmo] has quit [Read error: Connection reset by peer] 15:29 -!- AbramAdelmo_ [AbramAdelm@gateway/vpn/protonvpn/abramadelmo] has joined #lightning-dev 15:29 -!- CCR5-D32 [~CCR5@unaffiliated/ccr5-d32] has joined #lightning-dev 15:33 -!- marijnfs [~marijnfs@x4d094cc9.dyn.telefonica.de] has joined #lightning-dev 15:34 -!- marijnfs_ [~marijnfs@x4d094cc9.dyn.telefonica.de] has quit [Ping timeout: 260 seconds] 15:36 -!- willcl_ark [~quassel@cpc123762-trow7-2-0-cust7.18-1.cable.virginm.net] has quit [Remote host closed the connection] 15:36 -!- rusty [~rusty@pdpc/supporter/bronze/rusty] has joined #lightning-dev 15:38 -!- willcl_ark [~quassel@cpc123762-trow7-2-0-cust7.18-1.cable.virginm.net] has joined #lightning-dev 15:49 -!- marijnfs_ [~marijnfs@x4d094cc9.dyn.telefonica.de] has joined #lightning-dev 15:50 -!- marijnfs [~marijnfs@x4d094cc9.dyn.telefonica.de] has quit [Ping timeout: 240 seconds] --- Log closed Mon Feb 10 15:51:13 2020 --- Log opened Mon Feb 10 15:51:13 2020 15:55 -!- lukedashjr [~luke-jr@unaffiliated/luke-jr] has joined #lightning-dev 15:58 -!- luke-jr [~luke-jr@unaffiliated/luke-jr] has quit [Ping timeout: 268 seconds] 16:00 -!- lukedashjr is now known as luke-jr 16:00 -!- marcoagner [~user@2001:8a0:6a67:4700:af2a:23:5e6f:bccf] has quit [Ping timeout: 246 seconds] 16:02 -!- lukedashjr [~luke-jr@unaffiliated/luke-jr] has joined #lightning-dev 16:02 -!- AbramAdelmo_ [AbramAdelm@gateway/vpn/protonvpn/abramadelmo] has quit [Remote host closed the connection] 16:03 -!- luke-jr- [~luke-jr@unaffiliated/luke-jr] has joined #lightning-dev 16:04 -!- luke-jr [~luke-jr@unaffiliated/luke-jr] has quit [Ping timeout: 240 seconds] 16:05 -!- luke-jr [~luke-jr@unaffiliated/luke-jr] has joined #lightning-dev 16:07 -!- lukedashjr [~luke-jr@unaffiliated/luke-jr] has quit [Ping timeout: 265 seconds] 16:08 -!- lukedashjr [~luke-jr@unaffiliated/luke-jr] has joined #lightning-dev 16:08 -!- luke-jr- [~luke-jr@unaffiliated/luke-jr] has quit [Ping timeout: 240 seconds] 16:09 -!- luke-jr- [~luke-jr@unaffiliated/luke-jr] has joined #lightning-dev 16:11 -!- luke-jr [~luke-jr@unaffiliated/luke-jr] has quit [Ping timeout: 272 seconds] 16:13 -!- lukedashjr [~luke-jr@unaffiliated/luke-jr] has quit [Ping timeout: 260 seconds] 16:13 -!- luke-jr [~luke-jr@unaffiliated/luke-jr] has joined #lightning-dev 16:14 -!- lukedashjr [~luke-jr@unaffiliated/luke-jr] has joined #lightning-dev 16:15 -!- luke-jr- [~luke-jr@unaffiliated/luke-jr] has quit [Ping timeout: 240 seconds] 16:16 -!- luke-jr- [~luke-jr@unaffiliated/luke-jr] has joined #lightning-dev 16:18 -!- marijnfs_ [~marijnfs@x4d094cc9.dyn.telefonica.de] has quit [Remote host closed the connection] 16:18 -!- luke-jr [~luke-jr@unaffiliated/luke-jr] has quit [Ping timeout: 260 seconds] 16:20 -!- luke-jr [~luke-jr@unaffiliated/luke-jr] has joined #lightning-dev 16:20 -!- lukedashjr [~luke-jr@unaffiliated/luke-jr] has quit [Ping timeout: 265 seconds] 16:21 -!- zmnscpxj [~zmnscpxj@gateway/tor-sasl/zmnscpxj] has joined #lightning-dev 16:22 -!- RonNa [~quassel@60-251-129-61.HINET-IP.hinet.net] has quit [Ping timeout: 240 seconds] 16:22 -!- luke-jr- [~luke-jr@unaffiliated/luke-jr] has quit [Ping timeout: 265 seconds] 16:22 -!- RonNa [~quassel@60-251-129-61.HINET-IP.hinet.net] has joined #lightning-dev 16:28 -!- lukedashjr [~luke-jr@unaffiliated/luke-jr] has joined #lightning-dev 16:31 -!- luke-jr [~luke-jr@unaffiliated/luke-jr] has quit [Ping timeout: 265 seconds] 16:33 -!- luke-jr [~luke-jr@unaffiliated/luke-jr] has joined #lightning-dev 16:34 -!- lukedashjr [~luke-jr@unaffiliated/luke-jr] has quit [Ping timeout: 272 seconds] 16:35 -!- AbramAdelmo [AbramAdelm@gateway/vpn/protonvpn/abramadelmo] has joined #lightning-dev 16:36 -!- opsec_x12 [~opsec_x12@c-67-183-29-123.hsd1.wa.comcast.net] has joined #lightning-dev 16:39 -!- opsec_x122 [~opsec_x12@67.183.29.123] has joined #lightning-dev 16:40 -!- opsec_x122 [~opsec_x12@67.183.29.123] has quit [Client Quit] 16:43 < rusty> m-schmook just added a test PR to c-lightning which demonstrates the "channel-stuck" draining issue we discussed at last meeting. 16:43 -!- opsec_x12 [~opsec_x12@c-67-183-29-123.hsd1.wa.comcast.net] has quit [Ping timeout: 260 seconds] 16:43 < rusty> Off the top of my head, I'm tempted to add a rule that if I'm the funder I'll always insist I have the amount required for the fees involved in adding one more HTLC, so we never get into this state. 16:44 < zmnscpxj> https://github.com/ElementsProject/lightning/pull/3498 16:44 < rusty> Of course, fees could go up, but that's life. 16:44 -!- lukedashjr [~luke-jr@unaffiliated/luke-jr] has joined #lightning-dev 16:44 < rusty> zmnscpxj: thoughts on the mitigation? Since we're due to release, I'd prefer something simple and this seems minimal 16:45 -!- luke-jr- [~luke-jr@unaffiliated/luke-jr] has joined #lightning-dev 16:45 -!- AaronvanW [~AaronvanW@unaffiliated/aaronvanw] has quit [] 16:45 < zmnscpxj> does it not just move the problem one level out? 16:45 < zmnscpxj> something like, it effectively just moves the reserve? 16:46 < rusty> zmnscpxj: yes, but the problem here is that we can't take fees from the reserve, since peer will refuse that. So we do need a slightly higher "effective reserve" for ourselves, if we're funder. 16:47 < zmnscpxj> so a soft limit that protects the "reserve" hard limit? seems to work, with naive analysis 16:47 -!- luke-jr [~luke-jr@unaffiliated/luke-jr] has quit [Ping timeout: 268 seconds] 16:47 -!- luke-jr| [~luke-jr@unaffiliated/luke-jr] has joined #lightning-dev 16:47 < rusty> zmnscpxj: yeah... Maybe I'll do 1.5x current fees for a bit of buffer though. 16:47 * rusty starts coding... 16:47 < zmnscpxj> have no idea how to implement it though, peer_htlcs.c is scary territory 16:49 < rusty> zmnscpxj: it's actually up to the channeld in this case. full_channel.c has the checks 16:49 < zmnscpxj> ah 16:49 -!- lukedashjr [~luke-jr@unaffiliated/luke-jr] has quit [Ping timeout: 268 seconds] 16:50 -!- luke-jr [~luke-jr@unaffiliated/luke-jr] has joined #lightning-dev 16:50 < zmnscpxj> Deserves a "OpTech Make Me Famous" once we have a fix IMO 16:51 -!- lukedashjr [~luke-jr@unaffiliated/luke-jr] has joined #lightning-dev 16:51 < rusty> zmnscpxj: :-D 16:51 -!- luke-jr- [~luke-jr@unaffiliated/luke-jr] has quit [Ping timeout: 265 seconds] 16:52 -!- luke-jr- [~luke-jr@unaffiliated/luke-jr] has joined #lightning-dev 16:52 -!- luke-jr| [~luke-jr@unaffiliated/luke-jr] has quit [Ping timeout: 260 seconds] 16:54 -!- luke-jr| [~luke-jr@unaffiliated/luke-jr] has joined #lightning-dev 16:55 -!- luke-jr [~luke-jr@unaffiliated/luke-jr] has quit [Ping timeout: 260 seconds] 16:55 -!- lukedashjr [~luke-jr@unaffiliated/luke-jr] has quit [Ping timeout: 260 seconds] 16:57 -!- luke-jr- [~luke-jr@unaffiliated/luke-jr] has quit [Ping timeout: 265 seconds] 16:58 -!- luke-jr| is now known as luke-jr 17:03 -!- lukedashjr [~luke-jr@unaffiliated/luke-jr] has joined #lightning-dev 17:04 -!- luke-jr- [~luke-jr@unaffiliated/luke-jr] has joined #lightning-dev 17:06 -!- luke-jr [~luke-jr@unaffiliated/luke-jr] has quit [Ping timeout: 272 seconds] 17:06 -!- Dean_Guss [~dean@gateway/tor-sasl/deanguss] has quit [Ping timeout: 240 seconds] 17:07 -!- luke-jr [~luke-jr@unaffiliated/luke-jr] has joined #lightning-dev 17:08 -!- luke-jr| [~luke-jr@unaffiliated/luke-jr] has joined #lightning-dev 17:08 -!- lukedashjr [~luke-jr@unaffiliated/luke-jr] has quit [Ping timeout: 268 seconds] 17:10 -!- luke-jr- [~luke-jr@unaffiliated/luke-jr] has quit [Ping timeout: 272 seconds] 17:12 -!- luke-jr [~luke-jr@unaffiliated/luke-jr] has quit [Ping timeout: 265 seconds] 17:12 -!- luke-jr [~luke-jr@unaffiliated/luke-jr] has joined #lightning-dev 17:13 -!- luke-jr| [~luke-jr@unaffiliated/luke-jr] has quit [Ping timeout: 240 seconds] 17:14 -!- lukedashjr [~luke-jr@unaffiliated/luke-jr] has joined #lightning-dev 17:18 -!- luke-jr- [~luke-jr@unaffiliated/luke-jr] has joined #lightning-dev 17:18 -!- luke-jr [~luke-jr@unaffiliated/luke-jr] has quit [Ping timeout: 272 seconds] 17:19 -!- lukedashjr [~luke-jr@unaffiliated/luke-jr] has quit [Ping timeout: 240 seconds] 17:24 -!- luke-jr- [~luke-jr@unaffiliated/luke-jr] has quit [Ping timeout: 260 seconds] 17:24 -!- riclas [~riclas@77.7.37.188.rev.vodafone.pt] has quit [Ping timeout: 240 seconds] 17:25 -!- luke-jr [~luke-jr@unaffiliated/luke-jr] has joined #lightning-dev 17:28 -!- lukedashjr [~luke-jr@unaffiliated/luke-jr] has joined #lightning-dev 17:31 -!- luke-jr [~luke-jr@unaffiliated/luke-jr] has quit [Ping timeout: 272 seconds] 17:33 -!- lukedashjr [~luke-jr@unaffiliated/luke-jr] has quit [Ping timeout: 272 seconds] 17:34 -!- luke-jr [~luke-jr@unaffiliated/luke-jr] has joined #lightning-dev 17:41 -!- luke-jr [~luke-jr@unaffiliated/luke-jr] has quit [Ping timeout: 268 seconds] 17:42 -!- luke-jr [~luke-jr@unaffiliated/luke-jr] has joined #lightning-dev 17:43 -!- lukedashjr [~luke-jr@unaffiliated/luke-jr] has joined #lightning-dev 17:46 -!- riclas [riclas@77.7.37.188.rev.vodafone.pt] has joined #lightning-dev 17:46 -!- luke-jr [~luke-jr@unaffiliated/luke-jr] has quit [Ping timeout: 240 seconds] 17:48 < fiatjaf> what error should I return so wallets will stop trying the payment but channels won't be closed? 17:48 < zmnscpxj> ....error? 17:48 < zmnscpxj> at what level are you talking about? 17:49 -!- lukedashjr [~luke-jr@unaffiliated/luke-jr] has quit [Ping timeout: 272 seconds] 17:49 -!- luke-jr [~luke-jr@unaffiliated/luke-jr] has joined #lightning-dev 17:49 < zmnscpxj> if it is channel-level onion handling of incoming HTLCs, maybe some kind of error with a PERM bit set 17:51 < zmnscpxj> `permanent_channel_failure` for example 17:51 < zmnscpxj> "The channel from the processing node is unable to handle any HTLCs." 17:51 < zmnscpxj> Or are you talking about some other error? 17:51 < fiatjaf> no, I'm talking about onion-level 17:53 < zmnscpxj> you could do `permanent_channel_failure`, or if your node does not want to *ever* forward, use `permanent_node_failure` (though you might never receive any funds from the source if you do that...) 17:53 < zmnscpxj> What are you trying to do? 17:53 < fiatjaf> I've tried incorrect_or_unknown_payment_details and another one that had the PERM bits 17:53 < fiatjaf> BLW retries them all 17:53 < fiatjaf> I'll try that one you said 17:53 < zmnscpxj> Ah 17:54 < zmnscpxj> What *are* you trying to do? 17:54 < zmnscpxj> prevent from being routed to? prevent receiving funds ever? 17:54 < fiatjaf> I'm trying to do custom magic stuff with htlc_accepted 17:54 < fiatjaf> I just want to fail one payment 17:54 < fiatjaf> I'm creating an invoice with a fake private channel hint 17:54 < zmnscpxj> so some kind of censorship attempt? 17:54 < fiatjaf> and handling it at my main node 17:55 < zmnscpxj> hmmmmmm 17:55 < fiatjaf> I make an API call that may fail and if it succeeds I fulfill the HTLC, otherwise I must fail it so the payer keeps his money 17:55 < zmnscpxj> If BLW is still trying despite a PERM bit being sent then it is a bug in BLW I would say 17:55 < zmnscpxj> PERM means permanent error, never gonna happen, do not try again.... 17:56 < zmnscpxj> always gonna give you up, always gonna let you down, always gonna run around and hurt you 17:56 < fiatjaf> but if I manually try that same payment again it should try again, right? 17:56 < zmnscpxj> yes 17:56 < fiatjaf> ok 17:57 < fiatjaf> my custom pay logic I use in lntxbot also retries it, but it's a bug. that reminds me I must switch to using c-lightning's pay directly. 17:58 < zmnscpxj> yes, we respect `PERM` at the indicated payee 17:58 < zmnscpxj> you *are* emulating the PERM error at the payee and not the server that you put in the routehint right? 17:59 < fiatjaf> oh, right 17:59 < fiatjaf> that would be my next question 17:59 < fiatjaf> how? 17:59 < fiatjaf> I only have one server 17:59 < zmnscpxj> how did you sign the invoice? Presumably you have access to the privkeys for that? 17:59 < fiatjaf> a c-lightning with the htlc_accepted plugin 17:59 < fiatjaf> I create fake privkeys 18:00 < zmnscpxj> then you wrap the failure with the fake privkey, and pass it on to the "real" node.... 18:00 < fiatjaf> no 18:00 < fiatjaf> the privkeys are not used 18:00 < fiatjaf> I just handle the htlc at my c-lightning node 18:00 < fiatjaf> and resolve or fail it there 18:00 < zmnscpxj> As far as the payer is concerned, the payee is the one that signed the invoice. 18:01 < fiatjaf> the fake route hint is there just to add proper fees to the payment 18:01 < fiatjaf> yes 18:01 < zmnscpxj> so it will not consider that as the "real" payee if it did not sign the invoice. 18:01 < fiatjaf> I sign the invoice with the fake privkeys 18:01 < zmnscpxj> though if it is a permanent error the payer should still fail, and try to find an alternate route, which it will be unable to since it is a faked keypair 18:01 < zmnscpxj> and not keep repeating on you either 18:02 < zmnscpxj> but no, you cannot send `incorrect_or_unknown_payment_details` in that case, since your C-lightning node is pretending to be a node *before* the payee 18:02 < fiatjaf> 'pay' gives me "Ran out of routes to try after 1 attempt: see paystatus" 18:02 < zmnscpxj> Yes, that is what should happen 18:02 < zmnscpxj> because `pay` will think "oh this routehint failed, we cannot use this routehint, do we have other routehints, or is the payee on the map?" 18:03 < zmnscpxj> and then it realizes there *are* no more routehints and the payee (being a fresh keypair) is not on the map. 18:04 < zmnscpxj> But if you want to send `incorrect_or_unknown_payment_details` we would need to expand C-Lightning `htlc_accepted` hook to allow a faked wrapped onion failure 18:04 < fiatjaf> no 18:04 < zmnscpxj> because that can only come from the payee, and your C-Lightning node is not emulating the payee, it is emulating the node *before* the payee 18:04 < fiatjaf> I'm happy to send permanent_channel_failure 18:05 < zmnscpxj> so you have to wrap it using the fresh keypair 18:05 -!- vasild [~vd@gateway/tor-sasl/vasild] has quit [Ping timeout: 240 seconds] 18:05 < zmnscpxj> Well, then that should work 18:05 < fiatjaf> thank you 18:05 < zmnscpxj> modulo implementations that do not pay attention to the actual failure code ......... 18:06 < zmnscpxj> You also make a fresh short-channel-id right? 18:06 < fiatjaf> yes 18:07 < zmnscpxj> should work fine then 18:07 < fiatjaf> a different short_channel_id for each call 18:07 < zmnscpxj> ok 18:07 < fiatjaf> what do you mean by modulo implementations 18:07 < zmnscpxj> "except for implementations" 18:08 -!- bitdex [~bitdex@gateway/tor-sasl/bitdex] has joined #lightning-dev 18:09 < fiatjaf> oh, right 18:09 < fiatjaf> hahah 18:10 < zmnscpxj> If you want one invoice == one attempt, you would have to retain the payment hash that already failed the API call and have the `htlc_accepted` always fail it forever 18:10 < zmnscpxj> Then maybe the payer implementation will get the hint and stop retrying at some point..... 18:12 < fiatjaf> https://github.com/btcontract/lnwallet/blob/7a0ae8e36322b91f872a09bb1aba080f3ab3f2e7/app/src/main/java/com/lightning/walletapp/ln/PaymentInfo.scala#L132-L135 18:12 < fiatjaf> apparently permanent_channel_failure will work 18:13 < zmnscpxj> Is that BLW? 18:13 < fiatjaf> it will retry without the failing channel 18:13 < fiatjaf> yes 18:13 < fiatjaf> but will find no more routes 18:13 < zmnscpxj> So why would BLW still retry after that? 18:13 < fiatjaf> so I guess maybe my problem was that I was returning an invalid error that could only be returned by the final payee 18:14 < zmnscpxj> ah, possibly 18:27 -!- krvopije [~krvopije@185.106.109.144] has joined #lightning-dev 18:29 -!- krvopije [~krvopije@185.106.109.144] has quit [Client Quit] 18:36 < rusty> Yes, only final node can return that,otherwise it's invaliud. 18:49 -!- Dean_Guss [~dean@gateway/tor-sasl/deanguss] has joined #lightning-dev 18:51 < rusty> Hmm, slight mis-diagnosis for https://github.com/ElementsProject/lightning/pull/3498. The non-funder *is* allowed to add an HTLC even if it pushed the funder into their reserve, but most implementations won't. 18:52 < rusty> And I'm not sure what would happen with other implementations if we let c-lightning do it. 18:54 < zmnscpxj> seems better to avoid the state still 18:54 < zmnscpxj> also we probably have to do something about push_msat as well 18:54 < rusty> zmnscpxj: yeah, push_msat was always a bad idea, but meh. 18:54 < rusty> https://github.com/ElementsProject/lightning/pull/3500 19:08 < rusty> Hmm, I have coded up the alternative (let a single HTLC through as non-funder even if it dips into funder reserves). But I'm not sure if it will break lnd or eclair; needs discussion at next mtg I think. 19:11 -!- Kostenko [~Kostenko@2001:8a0:7293:1200:68f5:2150:4d47:f16f] has quit [Quit: Leaving] 19:14 -!- jb55 [~jb55@gateway/tor-sasl/jb55] has quit [Ping timeout: 240 seconds] 19:15 -!- bitdex [~bitdex@gateway/tor-sasl/bitdex] has quit [Ping timeout: 240 seconds] 19:15 -!- ghost43 [~daer@gateway/tor-sasl/daer] has quit [Ping timeout: 240 seconds] 19:15 -!- cryptosoap [~cryptosoa@gateway/tor-sasl/cryptosoap] has quit [Ping timeout: 240 seconds] 19:15 -!- afk11 [~afk11@gateway/tor-sasl/afk11] has quit [Ping timeout: 240 seconds] 19:15 -!- m-schmoock [~will@schmoock.net] has quit [Ping timeout: 260 seconds] 19:15 -!- Dean_Guss [~dean@gateway/tor-sasl/deanguss] has quit [Ping timeout: 240 seconds] 19:15 -!- zmnscpxj [~zmnscpxj@gateway/tor-sasl/zmnscpxj] has quit [Ping timeout: 240 seconds] 19:15 -!- m-schmoock [~will@schmoock.net] has joined #lightning-dev 19:20 < rusty> https://github.com/ElementsProject/lightning/pull/3501 19:40 -!- CCR5-D32 [~CCR5@unaffiliated/ccr5-d32] has quit [Quit: ZZZzzz...] 19:52 -!- cryptosoap [~cryptosoa@gateway/tor-sasl/cryptosoap] has joined #lightning-dev 19:59 -!- jb55 [~jb55@gateway/tor-sasl/jb55] has joined #lightning-dev 20:04 -!- afk11 [~afk11@gateway/tor-sasl/afk11] has joined #lightning-dev 20:05 -!- DeanGuss [~dean@gateway/tor-sasl/deanguss] has joined #lightning-dev 20:12 -!- vasild [~vd@gateway/tor-sasl/vasild] has joined #lightning-dev 20:15 -!- bitdex [~bitdex@gateway/tor-sasl/bitdex] has joined #lightning-dev 20:16 -!- ghost43 [~daer@gateway/tor-sasl/daer] has joined #lightning-dev 20:23 -!- rusty [~rusty@pdpc/supporter/bronze/rusty] has quit [Quit: Leaving.] 20:34 -!- imawhale1 [~Thunderbi@softbank126194186087.bbtec.net] has joined #lightning-dev 20:36 -!- imawhale [~Thunderbi@104.140.14.155] has quit [Ping timeout: 272 seconds] 21:23 -!- rusty [~rusty@pdpc/supporter/bronze/rusty] has joined #lightning-dev 21:27 -!- rusty [~rusty@pdpc/supporter/bronze/rusty] has quit [Client Quit] 21:59 -!- ghost43 [~daer@gateway/tor-sasl/daer] has quit [Remote host closed the connection] 21:59 -!- rusty [~rusty@pdpc/supporter/bronze/rusty] has joined #lightning-dev 21:59 -!- ghost43 [~daer@gateway/tor-sasl/daer] has joined #lightning-dev 22:28 -!- rusty [~rusty@pdpc/supporter/bronze/rusty] has quit [Quit: Leaving.] 23:24 -!- rusty [~rusty@pdpc/supporter/bronze/rusty] has joined #lightning-dev 23:43 -!- vasild [~vd@gateway/tor-sasl/vasild] has quit [Ping timeout: 240 seconds] 23:45 -!- vasild [~vd@gateway/tor-sasl/vasild] has joined #lightning-dev 23:47 -!- rusty [~rusty@pdpc/supporter/bronze/rusty] has quit [Quit: Leaving.] --- Log closed Tue Feb 11 00:00:39 2020