--- Log opened Thu Jun 04 00:00:41 2020 01:22 -!- lxer [~lx@ip5f5bf473.dynamic.kabel-deutschland.de] has joined #c-lightning 01:32 < lxer> why doesn't this work? https://dpaste.org/vuVb#L 01:59 <@cdecker> You can't have 100% of a channel's capacity on one side (after the initial funding) due to the reserve amount (each side is forced to have at least 1% of the overall capacity to keep them honest) 02:00 <@cdecker> It is there so you can't just drain your channel and cheat risk-free 02:01 <@cdecker> I think that the penalty mechanism is just really dumb tbh, and one reason I started developing the eltoo update mechanism, which doesn't have this reserve requirement, and all funds are available for transfer 02:32 < lxer> I don't think that is the case here. take a look at the second one (B), it was openen by 'remote' with 500000s. Then I tried to add funds to 'my side' by rebalancing some from channel A to B. I assumed the 'channel_total_sat' would increase , but that is not the case. Currently we have almost equal amounts on each side. 02:41 -!- lxer [~lx@ip5f5bf473.dynamic.kabel-deutschland.de] has quit [Ping timeout: 260 seconds] 02:53 -!- lxer [~lx@ip5f5bf473.dynamic.kabel-deutschland.de] has joined #c-lightning 02:56 -!- masterdonx2 [~masterdon@209.216.92.221] has joined #c-lightning 02:56 -!- MasterdonX [~masterdon@209.216.92.221] has quit [Ping timeout: 265 seconds] 03:32 <@cdecker> There is no way to change the `channel_total_sat` other than closing and reopening the channel: it corresponds to an on-chain output whose value can't be adjusted. In order to do that you'd need splice-in or splice-out which is still in the draft phase and it'd be an on-chain operation anyway (because of it being an on-chain output being manipulated) 03:36 <@cdecker> What rebalance does is trade some of your share of the total_capacity_msat on one channel, for more share of the total_capacity_msat on another channel, that's all balancing/rebalancing does 03:45 < lxer> Ok. but then what I dont understand: it is possible to open a channel with 500k, and then have the remote add 400k on their side by rebalancing. But then what happens when that channel gets closed? where does the 400k end up? 04:02 <@cdecker> What you describe is dual funding which is also still a work in progress, currently channels are only single-funded 04:03 <@cdecker> But once we have specced dual funding it'll just work as normal: yboth endpoints negotiate th total_capacity_sat, the first state reflects who put in how much, and on close the state gets reflected on-chain by sending the amounts to the agreed upon close addresses 04:03 <@cdecker> So 500k go to endpoint A, and 400k go to endpoint B 04:04 < lxer> but what I describe already works, because that is what I did. 04:04 <@cdecker> And the total_capacity_sat would be 900k 04:05 <@cdecker> How so? Those are two different channels, and you can't transfer capacity from one channel to another, that's my point 04:06 <@cdecker> Hm, sorry I must've been mistaken, I missed that you are trying to rebalance 10% of the channel, not all of it 04:08 <@cdecker> In this case the rebalance failed because you want to rebalance 50k into a channel that can at most receive 44751sat (ignoring reserve amounts for now) 04:08 <@cdecker> With reserve balance you can at most transfer 39751sat into that channel 04:09 <@cdecker> Which would then make that channel unable to receive any further incoming payments 04:09 -!- liberliver1 [~Thunderbi@x4dbf414d.dyn.telefonica.de] has joined #c-lightning 04:10 -!- liberliver [~Thunderbi@144.49.211.130.bc.googleusercontent.com] has quit [Ping timeout: 240 seconds] 04:10 -!- liberliver1 is now known as liberliver 04:13 -!- liberliver1 [~Thunderbi@144.49.211.130.bc.googleusercontent.com] has joined #c-lightning 04:15 -!- liberliver [~Thunderbi@x4dbf414d.dyn.telefonica.de] has quit [Ping timeout: 256 seconds] 04:15 -!- liberliver1 is now known as liberliver 04:31 < lxer> I have to think about it some more. this is confusing. 04:45 -!- kristapsk [~KK@gateway/tor-sasl/kristapsk] has joined #c-lightning 05:09 -!- cltrbreak_MAD2 [~ctrlbreak@159.2.182.106] has quit [Remote host closed the connection] 05:09 -!- cltrbreak_MAD2 [~ctrlbreak@159.2.182.106] has joined #c-lightning 05:36 -!- Ron-Na [~quassel@60-251-129-61.HINET-IP.hinet.net] has joined #c-lightning 05:36 -!- t0mix [~t0mix@78-141-123-99.dynamic.orange.sk] has quit [Ping timeout: 246 seconds] 05:36 -!- m-schmoock [~will@schmoock.net] has quit [Ping timeout: 246 seconds] 05:36 -!- niftynei [~niftynei@104.131.77.55] has quit [Ping timeout: 264 seconds] 05:36 -!- RonNa [~quassel@60-251-129-61.HINET-IP.hinet.net] has quit [Ping timeout: 264 seconds] 05:38 -!- niftynei [~niftynei@104.131.77.55] has joined #c-lightning 05:38 -!- mode/#c-lightning [+o niftynei] by ChanServ 06:22 -!- blockstream_bot [blockstrea@gateway/shell/sameroom/x-txhnryyccoeyadae] has left #c-lightning [] 06:22 -!- blockstream_bot [blockstrea@gateway/shell/sameroom/x-txhnryyccoeyadae] has joined #c-lightning 07:03 -!- cltrbreak_MAD2 [~ctrlbreak@159.2.182.106] has quit [Remote host closed the connection] 07:04 -!- cltrbreak_MAD2 [~ctrlbreak@159.2.182.106] has joined #c-lightning 07:33 -!- Amperture [~amp@65.79.129.113] has joined #c-lightning 08:49 -!- justanotheruser [~justanoth@unaffiliated/justanotheruser] has quit [Ping timeout: 246 seconds] 08:53 -!- bitdex [~bitdex@gateway/tor-sasl/bitdex] has quit [Quit: = ""] 08:57 -!- harrigan [~harrigan@ptr-93-89-242-235.ip.airwire.ie] has quit [Quit: ZNC 1.7.5 - https://znc.in] 09:00 -!- harrigan [~harrigan@ptr-93-89-242-235.ip.airwire.ie] has joined #c-lightning 09:05 -!- nixbitcoin [~nixbitcoi@gateway/tor-sasl/nixbitcoin] has quit [Quit: nixbitcoin out] 09:05 -!- justanotheruser [~justanoth@unaffiliated/justanotheruser] has joined #c-lightning 09:05 -!- nixbitcoin [~nixbitcoi@gateway/tor-sasl/nixbitcoin] has joined #c-lightning 09:09 -!- nixbitcoin [~nixbitcoi@gateway/tor-sasl/nixbitcoin] has quit [Remote host closed the connection] 09:09 -!- nixbitcoin [~nixbitcoi@gateway/tor-sasl/nixbitcoin] has joined #c-lightning 09:23 -!- vasild [~vd@gateway/tor-sasl/vasild] has quit [Ping timeout: 240 seconds] 09:25 -!- vasild [~vd@gateway/tor-sasl/vasild] has joined #c-lightning 09:33 -!- jonatack [~jon@2a01:e0a:53c:a200:bb54:3be5:c3d0:9ce5] has quit [Ping timeout: 260 seconds] 09:34 -!- jonatack [~jon@2a01:e0a:53c:a200:bb54:3be5:c3d0:9ce5] has joined #c-lightning 09:45 -!- asoltys [~root@s207-81-214-2.bc.hsia.telus.net] has joined #c-lightning 10:02 -!- grubles [~blockhash@unaffiliated/grubles] has quit [Quit: WeeChat 2.7.1] 10:03 -!- jb55 [~jb55@gateway/tor-sasl/jb55] has quit [Remote host closed the connection] 10:04 -!- jb55 [~jb55@gateway/tor-sasl/jb55] has joined #c-lightning 11:09 < devrandom> cdecker: I'm back from vacation and updated https://github.com/ElementsProject/lightning/pull/3745 with ideas how to approach the HSM state blob - can also discuss here 11:09 <@cdecker> I'll read up on GH first, then sure ^^ 11:30 -!- Amperture [~amp@65.79.129.113] has quit [Read error: Connection reset by peer] 11:30 -!- Amperture [~amp@65.79.129.113] has joined #c-lightning 11:30 -!- Amperture [~amp@65.79.129.113] has quit [Remote host closed the connection] 11:31 -!- belcher [~belcher@unaffiliated/belcher] has quit [Quit: Leaving] 11:51 -!- belcher [~belcher@unaffiliated/belcher] has joined #c-lightning 12:18 -!- cltrbreak_MAD2 [~ctrlbreak@159.2.182.106] has quit [Remote host closed the connection] 12:19 -!- cltrbreak_MAD2 [~ctrlbreak@159.2.182.106] has joined #c-lightning 13:36 -!- t0mix [~t0mix@78.141.123.99] has joined #c-lightning 13:54 -!- liberliver [~Thunderbi@144.49.211.130.bc.googleusercontent.com] has quit [Ping timeout: 265 seconds] 14:06 -!- m-schmoock [~will@schmoock.net] has joined #c-lightning 14:34 -!- blockstream_bot [blockstrea@gateway/shell/sameroom/x-txhnryyccoeyadae] has left #c-lightning [] 14:34 -!- blockstream_bot [blockstrea@gateway/shell/sameroom/x-txhnryyccoeyadae] has joined #c-lightning 14:47 -!- lxer [~lx@ip5f5bf473.dynamic.kabel-deutschland.de] has quit [Ping timeout: 256 seconds] 15:35 -!- Letze [sid63391@gateway/web/irccloud.com/x-whloonpjsvvcxmzb] has quit [Ping timeout: 260 seconds] 15:35 -!- fjahr [sid374480@gateway/web/irccloud.com/x-ixfgxajkuakwodov] has quit [Ping timeout: 272 seconds] 15:36 -!- bitauger [sid371414@gateway/web/irccloud.com/x-kzunkqjixxmuamkd] has quit [Ping timeout: 260 seconds] 15:36 -!- RubenSomsen [sid301948@gateway/web/irccloud.com/x-wnrvylavwplwbmfq] has quit [Ping timeout: 260 seconds] 15:38 -!- Letze [sid63391@gateway/web/irccloud.com/x-dlhzhulabinokasm] has joined #c-lightning 15:40 -!- Victorsueca [~Victorsue@unaffiliated/victorsueca] has quit [Ping timeout: 256 seconds] 15:40 -!- RubenSomsen [sid301948@gateway/web/irccloud.com/x-ozlyifiugrtfpnrc] has joined #c-lightning 15:41 -!- bitauger [sid371414@gateway/web/irccloud.com/x-lyegsykhvsyjxssn] has joined #c-lightning 15:43 -!- fjahr [sid374480@gateway/web/irccloud.com/x-nnnlcpasqlezucfe] has joined #c-lightning 15:44 -!- Victorsueca [~Victorsue@unaffiliated/victorsueca] has joined #c-lightning 16:07 -!- justanotheruser [~justanoth@unaffiliated/justanotheruser] has quit [Ping timeout: 265 seconds] 16:24 -!- justanotheruser [~justanoth@unaffiliated/justanotheruser] has joined #c-lightning 16:57 -!- bitdex [~bitdex@gateway/tor-sasl/bitdex] has joined #c-lightning 17:27 -!- zmnscpxj__ [~zmnscpxj@gateway/tor-sasl/zmnscpxj] has joined #c-lightning 17:46 -!- bitdex [~bitdex@gateway/tor-sasl/bitdex] has quit [Quit: = ""] 18:07 -!- DeanGuss [~dean@gateway/tor-sasl/deanguss] has joined #c-lightning 18:18 -!- bitdex [~bitdex@gateway/tor-sasl/bitdex] has joined #c-lightning 18:25 -!- ghost43_ [~daer@gateway/tor-sasl/daer] has joined #c-lightning 18:25 -!- ghost43 [~daer@gateway/tor-sasl/daer] has quit [Ping timeout: 240 seconds] 19:21 -!- ghost43_ [~daer@gateway/tor-sasl/daer] has quit [Remote host closed the connection] 19:22 -!- ghost43 [~daer@gateway/tor-sasl/daer] has joined #c-lightning 20:01 -!- DeanGuss [~dean@gateway/tor-sasl/deanguss] has quit [Remote host closed the connection] 20:02 -!- DeanGuss [~dean@gateway/tor-sasl/deanguss] has joined #c-lightning 20:03 -!- justanotheruser [~justanoth@unaffiliated/justanotheruser] has quit [Quit: WeeChat 2.7.1] 20:04 -!- justanotheruser [~justanoth@unaffiliated/justanotheruser] has joined #c-lightning 21:20 -!- vasild_ [~vd@gateway/tor-sasl/vasild] has joined #c-lightning 21:23 -!- vasild [~vd@gateway/tor-sasl/vasild] has quit [Ping timeout: 240 seconds] 21:23 -!- vasild_ is now known as vasild 21:51 -!- justan0theruser [~justanoth@unaffiliated/justanotheruser] has joined #c-lightning 21:52 -!- justanotheruser [~justanoth@unaffiliated/justanotheruser] has quit [Ping timeout: 246 seconds] 22:50 -!- nixbitcoin [~nixbitcoi@gateway/tor-sasl/nixbitcoin] has quit [Ping timeout: 240 seconds] 22:51 -!- blockstream_bot [blockstrea@gateway/shell/sameroom/x-txhnryyccoeyadae] has left #c-lightning [] 22:51 -!- blockstream_bot [blockstrea@gateway/shell/sameroom/x-txhnryyccoeyadae] has joined #c-lightning 22:53 -!- nixbitcoin [~nixbitcoi@gateway/tor-sasl/nixbitcoin] has joined #c-lightning --- Log closed Fri Jun 05 00:00:41 2020