From rusty at rustcorp.com.au Sun Dec 2 22:43:52 2018 From: rusty at rustcorp.com.au (Rusty Russell) Date: Mon, 03 Dec 2018 09:13:52 +1030 Subject: [Lightning-dev] Funds locked in channel and MAX_HTLC In-Reply-To: References: Message-ID: <87sgzfft1z.fsf@rustcorp.com.au> Cezary Dziemian writes: > Hello guys, > > I red BOLT. Do I understand correctly, that max_accepted_htlcs means that > for single channel there is possibility to have such amount of transactions > pending at the same time? Yes. - if result would be offering more than the remote's `max_accepted_htlcs` HTLCs, in the remote commitment transaction: - MUST NOT add an HTLC. Note there is also a maximum amount: - if the sum of total offered HTLCs would exceed the remote's `max_htlc_value_in_flight_msat`: - MUST NOT add an HTLC. Cheers, Rusty.