almostTimedOutIncomingHtlcs

fun almostTimedOutIncomingHtlcs(blockHeight: Long, fulfillSafety: CltvExpiryDelta): Set<UpdateAddHtlc>

Incoming HTLCs that are close to timing out are potentially dangerous. If we released the pre-image for those HTLCs, we need to get a remote signed updated commitment that removes this HTLC. Otherwise when we get close to the timeout, we risk an on-chain race condition between their HTLC timeout and our HTLC success in case of a force-close.