From weintraub.b at northeastern.edu Thu Dec 9 20:10:10 2021 From: weintraub.b at northeastern.edu (Benjamin Weintraub) Date: Thu, 9 Dec 2021 20:10:10 +0000 Subject: [Lightning-dev] BOLT 2 question Message-ID: 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: