--- Log opened Fri Sep 22 00:00:30 2023 00:10 -!- jarthur [~jarthur@user/jarthur] has joined #lightning-dev 00:19 -!- jonatack [~jonatack@user/jonatack] has quit [Ping timeout: 244 seconds] 00:45 -!- jonatack [~jonatack@user/jonatack] has joined #lightning-dev 00:54 -!- AaronvanW [~AaronvanW@user/AaronvanW] has joined #lightning-dev 01:00 -!- riclas [~riclas@26.27.71.148.rev.vodafone.pt] has joined #lightning-dev 01:06 < devrandom[m]> Also, each splice tx has a single feerate 01:07 -!- riclas [~riclas@26.27.71.148.rev.vodafone.pt] has quit [Ping timeout: 260 seconds] 01:10 < realtbast[m]> Exactly, you shouldn't think of it as a matrix, you only have a list of unconfirmed splice candidates, which is ordered by feerate, where each entry is an RBF attempt of all the previous ones 01:10 < realtbast[m]> But the subtle part is that the content of those splice transactions may be completely different (if you accept that) 01:11 < realtbast[m]> For example the first splice tx in your list may only contain a splice-in from Alice 01:11 < realtbast[m]> This doesn't confirm and at some point Bob also wants to splice additional funds in, so he initiates RBF on that transaction which creates a second entry containing some splice-in from Alice (if she didn't change her mind) and some splice-in from Bob 01:12 < realtbast[m]> Then maybe that doesn't confirm either, and Bob initiates another RBF, in which he "removes" his splice-in and instead splices out 01:12 < realtbast[m]> etc 01:12 < realtbast[m]> Whether you accept those RBF attempts or not depends entirely of your implementation choices, the spec gives you total freedom to change your mind 01:47 < devrandom[m]> to belabor the point:... (full message at ) 02:01 -!- shariashaman [~Administr@101.68.253.199] has joined #lightning-dev 02:04 -!- jon_atack [~jonatack@user/jonatack] has joined #lightning-dev 02:04 -!- jonatack [~jonatack@user/jonatack] has quit [Read error: Connection reset by peer] 02:13 -!- jespada [~jespada@cpc121308-nmal25-2-0-cust15.19-2.cable.virginm.net] has quit [Quit: Textual IRC Client: www.textualapp.com] 02:25 < realtbast[m]> This is confusing, why are you mixing N and M? There is no M, only N. 02:25 < realtbast[m]> And what do you mean by "state N"? This is quite confusing as well. 02:26 < realtbast[m]> You have one confirmed funding transaction and N unconfirmed splice candidates. Whenever you want to update the commitment (adding/removing HTLCs, actually using the channel), you need to sign N+1 commit txs (one for each splice candidate and one for the confirmed funding/splice transaction) and that's it. 02:27 < realtbast[m]> In order for those N+1 commit_sig to be treated as if it were one atomic commit_sig, you set a batch_size tlv to the value N+1 in each of those commit_sig messages 02:28 < realtbast[m]> The receiver looks at batch_size, accumulates the commit_sig messages until it has received them all, and then validates them all together against the list of unconfirmed splice candidates and the latest confirmed funding/splice transaction 02:30 < realtbast[m]> There is one small subtlety though, but which is somewhat orthogonal: until you've received splice_locked, you cannot discard the double-spent candidates that won't confirm anymore, you can only do that once both sides have sent splice_locked (before that, you need to keep sending N+1 commit_sig even though you know that N of those are useless) 02:37 -!- jespada [~jespada@cpc121308-nmal25-2-0-cust15.19-2.cable.virginm.net] has joined #lightning-dev 02:42 -!- greypw2546002161 [~greypw254@grey.pw] has quit [Quit: I'll be back!] 02:42 -!- greypw2546002161 [~greypw254@grey.pw] has joined #lightning-dev 03:05 -!- ghost43_ [~ghost43@gateway/tor-sasl/ghost43] has quit [Remote host closed the connection] 03:06 -!- ghost43 [~ghost43@gateway/tor-sasl/ghost43] has joined #lightning-dev 03:10 -!- Zenton [~user@user/zenton] has joined #lightning-dev 03:22 < devrandom[m]> apologies, I did mix M and N in my last message 03:26 < devrandom[m]> all instances of "M" should have been "N", and the words "state N" should have been "each commitment" 03:33 -!- warmhug [~warmhug@gateway/tor-sasl/warmhug] has quit [Ping timeout: 252 seconds] 03:39 -!- warmhug [~warmhug@gateway/tor-sasl/warmhug] has joined #lightning-dev 04:12 < realtbast[m]> Sounds good then, we're aligned! 05:01 -!- test_ [flooded@gateway/vpn/protonvpn/flood/x-43489060] has joined #lightning-dev 05:05 -!- test__ [flooded@gateway/vpn/protonvpn/flood/x-43489060] has quit [Ping timeout: 240 seconds] 05:05 -!- test__ [flooded@gateway/vpn/protonvpn/flood/x-43489060] has joined #lightning-dev 05:05 -!- flooded [flooded@gateway/vpn/protonvpn/flood/x-43489060] has quit [Ping timeout: 244 seconds] 05:06 -!- flooded [flooded@gateway/vpn/protonvpn/flood/x-43489060] has joined #lightning-dev 05:07 -!- test_ [flooded@gateway/vpn/protonvpn/flood/x-43489060] has quit [Ping timeout: 240 seconds] 05:14 -!- shariashaman [~Administr@101.68.253.199] has quit [Ping timeout: 252 seconds] 06:40 -!- test__ is now known as _flood 06:46 -!- Ademan [~ademan@47.161.41.51] has joined #lightning-dev 06:48 -!- lbia [~lbia@user/lbia] has quit [Quit: lbia] 07:15 -!- lbia [~lbia@user/lbia] has joined #lightning-dev 07:19 -!- riclas [~riclas@26.27.71.148.rev.vodafone.pt] has joined #lightning-dev 07:34 -!- AaronvanW [~AaronvanW@user/AaronvanW] has quit [Quit: Leaving...] 08:10 -!- test_ [flooded@gateway/vpn/protonvpn/flood/x-43489060] has joined #lightning-dev 08:10 -!- test__ [flooded@gateway/vpn/protonvpn/flood/x-43489060] has joined #lightning-dev 08:14 -!- flooded [flooded@gateway/vpn/protonvpn/flood/x-43489060] has quit [Ping timeout: 264 seconds] 08:14 -!- _flood [flooded@gateway/vpn/protonvpn/flood/x-43489060] has quit [Ping timeout: 264 seconds] 09:14 -!- DarrylTheFiish [~DarrylThe@user/DarrylTheFish] has joined #lightning-dev 09:16 -!- DarrylTheFish [~DarrylThe@user/DarrylTheFish] has quit [Ping timeout: 240 seconds] 09:34 -!- freesprung [~freesprun@user/freesprung] has quit [Quit: zzz] 09:43 -!- DarrylTheFish [~DarrylThe@user/DarrylTheFish] has joined #lightning-dev 09:43 -!- DarrylTheFish [~DarrylThe@user/DarrylTheFish] has quit [Max SendQ exceeded] 09:43 -!- DarrylTheFish [~DarrylThe@user/DarrylTheFish] has joined #lightning-dev 09:44 -!- DarrylTheFiish [~DarrylThe@user/DarrylTheFish] has quit [Ping timeout: 240 seconds] 09:49 -!- DarrylTheFiish [~DarrylThe@user/DarrylTheFish] has joined #lightning-dev 09:52 -!- DarrylTheFish [~DarrylThe@user/DarrylTheFish] has quit [Ping timeout: 245 seconds] 09:54 -!- DarrylTheFiiish [~DarrylThe@user/DarrylTheFish] has joined #lightning-dev 09:57 -!- DarrylTheFiish [~DarrylThe@user/DarrylTheFish] has quit [Ping timeout: 245 seconds] 09:57 -!- DarrylTheFiiish [~DarrylThe@user/DarrylTheFish] has quit [Remote host closed the connection] 10:05 -!- jon_atack [~jonatack@user/jonatack] has quit [Ping timeout: 246 seconds] 10:46 -!- freesprung5 [~freesprun@user/freesprung] has joined #lightning-dev 10:57 -!- Guest20 [~Guest20@2a01:e0a:2ac:6100:d0a9:7837:c129:a413] has joined #lightning-dev 11:07 -!- simon__ [~simon@2a01:e0a:2ac:6100:d0a9:7837:c129:a413] has joined #lightning-dev 11:08 -!- simon__ [~simon@2a01:e0a:2ac:6100:d0a9:7837:c129:a413] has quit [Client Quit] 11:08 -!- simon__ [~simon@2a01:e0a:2ac:6100:d0a9:7837:c129:a413] has joined #lightning-dev 11:10 -!- simon__ [~simon@2a01:e0a:2ac:6100:d0a9:7837:c129:a413] has quit [Client Quit] 11:10 -!- simongltr [~simongltr@2a01:e0a:2ac:6100:d0a9:7837:c129:a413] has joined #lightning-dev 11:12 -!- simongltr [~simongltr@2a01:e0a:2ac:6100:d0a9:7837:c129:a413] has quit [Client Quit] 11:21 -!- Guest20 [~Guest20@2a01:e0a:2ac:6100:d0a9:7837:c129:a413] has quit [Ping timeout: 245 seconds] 14:29 -!- flooded [flooded@gateway/vpn/protonvpn/flood/x-43489060] has joined #lightning-dev 14:33 -!- test__ [flooded@gateway/vpn/protonvpn/flood/x-43489060] has quit [Ping timeout: 252 seconds] 14:33 -!- test_ [flooded@gateway/vpn/protonvpn/flood/x-43489060] has quit [Ping timeout: 252 seconds] 14:35 -!- test_ [flooded@gateway/vpn/protonvpn/flood/x-43489060] has joined #lightning-dev 14:35 -!- test__ [flooded@gateway/vpn/protonvpn/flood/x-43489060] has joined #lightning-dev 14:36 -!- flooded [flooded@gateway/vpn/protonvpn/flood/x-43489060] has quit [Ping timeout: 260 seconds] 14:50 -!- Ademan [~ademan@47.161.41.51] has quit [Quit: leaving] 15:33 -!- jonatack [~jonatack@user/jonatack] has joined #lightning-dev 15:38 -!- Ademan [~ademan@47.161.41.51] has joined #lightning-dev 16:15 -!- Ademan [~ademan@47.161.41.51] has quit [Quit: leaving] 16:43 -!- Zenton [~user@user/zenton] has quit [Ping timeout: 255 seconds] 16:48 -!- jonatack [~jonatack@user/jonatack] has quit [Quit: WeeChat 4.0.4] 16:55 -!- bitdex [~bitdex@gateway/tor-sasl/bitdex] has joined #lightning-dev 16:56 -!- bitdex [~bitdex@gateway/tor-sasl/bitdex] has quit [Remote host closed the connection] 16:56 -!- bitdex [~bitdex@gateway/tor-sasl/bitdex] has joined #lightning-dev 18:46 -!- jonatack [~jonatack@user/jonatack] has joined #lightning-dev 19:15 -!- duderonomy [~duderonom@98.210.161.185] has quit [Ping timeout: 255 seconds] 19:38 -!- jarthur [~jarthur@user/jarthur] has quit [Quit: jarthur] 19:41 -!- duderonomy [~duderonom@98.210.161.185] has joined #lightning-dev 19:51 -!- riclas [~riclas@26.27.71.148.rev.vodafone.pt] has quit [Ping timeout: 240 seconds] 20:15 -!- jarthur [~jarthur@user/jarthur] has joined #lightning-dev 23:57 -!- achow101 [~achow101@user/achow101] has quit [Remote host closed the connection] 23:57 -!- achow101 [~achow101@user/achow101] has joined #lightning-dev --- Log closed Sat Sep 23 00:00:30 2023