Why Nostr? What is Njump?
2023-06-09 13:04:45
in reply to

Benjamin Weintraub [ARCHIVE] on Nostr: 📅 Original date posted:2021-12-09 📝 Original message: Hi all, I have a question ...

📅 Original date posted:2021-12-09
📝 Original message:
Hi all,

I have a question about BOLT #2. What exactly does it mean to "fail the channel"? In the section for "update_add_htlc," the follwing text is written:

* receiving an amount_msat equal to 0, OR less than its own htlc_minimum_msat:
* SHOULD fail the channel.
* receiving an amount_msat that the sending node cannot afford at the current feerate_per_kw (while maintaining its channel reserve and any to_local_anchor and to_remote_anchor costs):
* SHOULD fail the channel.
* if a sending node adds more than receiver max_accepted_htlcs HTLCs to its local commitment transaction, OR adds more than receiver max_htlc_value_in_flight_msat worth of offered HTLCs to its local commitment transaction:
* SHOULD fail the channel.
* if sending node sets cltv_expiry to greater or equal to 500000000:
* SHOULD fail the channel.

Does it mean closing the channel (unilaterally or mutually)? Or ending the TCP connection? Something else?

Thanks,
Ben
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfoundation.org/pipermail/lightning-dev/attachments/20211209/b7241bfc/attachment-0001.html>;
Author Public Key
npub16jyzug4pdecycueva7s4ndyr89dmqvkxd3vdn6encn60h2zzzmqq0n9gxw