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
_______________________________________________
Lightning-dev mailing list
[email protected]
https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev