Closed
Description
If the numbers of pending HTLCs is too high and our fee-bumping reserves are too low, we should reject new HTLC forwarding request to avoid a situation where we cannot cover high feerates at current level of network mempools congestion. This type of mechanism is not implemented by any Lightning implementation, afaik.
This type of checks could be introduced in the same code path where we're checking other BOLT4 checks in decode_update_add_htlc_onion()
or offloaded to the LDK user if we can have a generic HTLC interception interface.
Metadata
Metadata
Assignees
Labels
No labels