]> git.bitcoin.ninja Git - rust-lightning/commit
XXX: Incl tx fee when calcing inbound HTLC limits on inbound channels 2020-03-chan-htlc-limits
authorMatt Corallo <git@bluematt.me>
Wed, 18 Mar 2020 00:54:41 +0000 (20:54 -0400)
committerMatt Corallo <git@bluematt.me>
Wed, 18 Mar 2020 01:04:35 +0000 (21:04 -0400)
commit7c964164f519083e427ee37d01f3f816b4ca241e
treee1ea460f64ba2dab509e84a527c98743da166044
parent33b7c906f2ec1522e466a42ca70b82806d89d8a6
XXX: Incl tx fee when calcing inbound HTLC limits on inbound channels

When we receive an inbound HTLC from a peer on an inbound channel,
the peer needs to be able to pay for the additional commitment tx
fees as well.

XXX: Needs tests + a similar limit on outbound. Probably also needs
new actions in chanmon_fail_consistency fuzztest for "send 1 msat
HTLC" or so.
lightning/src/ln/channel.rs