--- Log opened Sun Sep 28 00:00:53 2025 05:09 < pinheadmz> Im trying to better understand the max HTLC limit. BOLT 2 says 483 per direction (?) meaning there is something about a 966-HTLC commitment tx that pushes some L1 mempool standardness (or on-chain consensus?) limit I assume? But in practice I am running channel jamming tests with LND and observing that payments fail once 293 HTLCs are pending in one direction in a channel, so Im wondering what the discrepency is 05:56 -!- robszarka [~szarka@2603:3003:4eac:100:59c:8b97:cce8:e313] has joined #lightning-dev 05:58 -!- BlueMatt[m] [~bluematt@2620:6e:a000:ce11::d] has joined #lightning-dev 05:58 < BlueMatt[m]> there's a configurable lower-limit. nodes can select it down from 483 05:58 < BlueMatt[m]> i dunno what the default in lnd is but its probably configurable 06:00 -!- szarka [~szarka@2603:3003:4eac:100:888b:2f8b:bb65:b86b] has quit [Ping timeout: 248 seconds] 06:20 -!- bitdex [~bitdex@gateway/tor-sasl/bitdex] has joined #lightning-dev 06:25 -!- jcea [~Thunderbi@2001:bc8:2ecd:caed:7670:6e00:7670:6e00] has joined #lightning-dev 07:06 < pinheadmz> well im trying to understand the rationale for both values: the BOLT max of 966 as well ass the LND value. I can't find a hard coded constant in LND so I assume its computed on the fly based on... something ? 07:10 -!- jonatack [~jonatack@user/jonatack] has joined #lightning-dev 07:13 < BlueMatt[m]> Yea I have no idea about the lnd one. The spec one results in 100kb commitment transactions 07:21 -!- shariashaman [~Administr@101.70.57.83] has quit [Ping timeout: 256 seconds] 07:33 < pinheadmz> ok and in weight units thats ~400000 which is policy limit ? 07:34 < BlueMatt[m]> Yep! 07:38 -!- jcea [~Thunderbi@2001:bc8:2ecd:caed:7670:6e00:7670:6e00] has quit [Ping timeout: 256 seconds] 07:39 < pinheadmz> So its got nothing to do with the second stage tx, or what happens with weight or descendant limit if someone tries to sweep 966 HTLCs in the mempool in one tx? 07:42 -!- jonatack [~jonatack@user/jonatack] has quit [Ping timeout: 255 seconds] 07:49 < BlueMatt[m]> I believe that would fail, yes 08:15 -!- jonatack [~jonatack@user/jonatack] has joined #lightning-dev 08:21 -!- jonatack [~jonatack@user/jonatack] has quit [Ping timeout: 264 seconds] 08:37 -!- jonatack [~jonatack@user/jonatack] has joined #lightning-dev 08:42 -!- jonatack [~jonatack@user/jonatack] has quit [Ping timeout: 265 seconds] 09:23 -!- kevkevin [~kevkevin@209.242.39.30] has joined #lightning-dev 09:47 -!- jonatack [~jonatack@user/jonatack] has joined #lightning-dev 10:21 -!- jerryf [~jerryf@user/jerryf] has quit [Remote host closed the connection] 10:21 -!- jerryf [~jerryf@user/jerryf] has joined #lightning-dev 10:48 -!- jonatack [~jonatack@user/jonatack] has quit [Ping timeout: 244 seconds] 10:50 -!- jonatack [~jonatack@user/jonatack] has joined #lightning-dev 10:53 -!- jon_atack [~jonatack@user/jonatack] has joined #lightning-dev 10:55 -!- jonatack [~jonatack@user/jonatack] has quit [Ping timeout: 264 seconds] 10:56 -!- jon_atack [~jonatack@user/jonatack] has quit [Read error: Connection reset by peer] 10:56 -!- jonatack [~jonatack@user/jonatack] has joined #lightning-dev 11:04 -!- jonatack [~jonatack@user/jonatack] has quit [Ping timeout: 244 seconds] 11:06 -!- jonatack [~jonatack@user/jonatack] has joined #lightning-dev 11:34 -!- jon_atack [~jonatack@user/jonatack] has joined #lightning-dev 11:37 -!- jonatack [~jonatack@user/jonatack] has quit [Ping timeout: 255 seconds] 14:01 -!- jonatack [~jonatack@user/jonatack] has joined #lightning-dev 14:02 -!- jon_atack [~jonatack@user/jonatack] has quit [Ping timeout: 244 seconds] 16:42 -!- robszarka [~szarka@2603:3003:4eac:100:59c:8b97:cce8:e313] has quit [Quit: Leaving] 16:42 -!- szarka [~szarka@2603:3003:4eac:100:59c:8b97:cce8:e313] has joined #lightning-dev 16:43 < _aj_> i thought the ~100kB tx was the sweep tx if you swept all the outputs at once? see the para preceding https://github.com/lightning/bolts/blob/master/05-onchain.md#generation-of-htlc-transactions 17:41 -!- jonatack [~jonatack@user/jonatack] has quit [Ping timeout: 250 seconds] 17:43 -!- cotsuka [~cotsuka@user/cotsuka] has quit [Ping timeout: 265 seconds] 18:15 -!- bitdex [~bitdex@gateway/tor-sasl/bitdex] has quit [Remote host closed the connection] 19:10 -!- durandal_ [~durandal@85.255.236.174] has quit [Ping timeout: 256 seconds] 19:22 -!- cotsuka [~cotsuka@user/cotsuka] has joined #lightning-dev 19:23 -!- durandal_ [~durandal@185.69.145.47] has joined #lightning-dev 19:54 -!- cotsuka [~cotsuka@user/cotsuka] has quit [Remote host closed the connection] 19:56 -!- cotsuka [~cotsuka@user/cotsuka] has joined #lightning-dev 20:14 -!- bitdex [~bitdex@gateway/tor-sasl/bitdex] has joined #lightning-dev 20:47 -!- jerryf_ [~jerryf@user/jerryf] has joined #lightning-dev 20:47 -!- jerryf [~jerryf@user/jerryf] has quit [Ping timeout: 272 seconds] 22:48 -!- kevkevin [~kevkevin@209.242.39.30] has quit [Remote host closed the connection] 23:04 -!- kevkevin [~kevkevin@209.242.39.30] has joined #lightning-dev 23:09 -!- kevkevin [~kevkevin@209.242.39.30] has quit [Ping timeout: 264 seconds] 23:39 -!- kevkevin [~kevkevin@209.242.39.30] has joined #lightning-dev 23:44 -!- kevkevin [~kevkevin@209.242.39.30] has quit [Ping timeout: 244 seconds] --- Log closed Mon Sep 29 00:00:53 2025