]> git.bitcoin.ninja Git - rust-lightning/commit
Add a next-outbound-HTLC minimum field to chan details and use it
authorMatt Corallo <git@bluematt.me>
Tue, 16 May 2023 20:01:08 +0000 (20:01 +0000)
committerMatt Corallo <git@bluematt.me>
Tue, 6 Jun 2023 23:57:55 +0000 (23:57 +0000)
commit3aa8a1721c6968c6a5b40ffc11d3642646b34ceb
treed0cc026424bb1471f5346e09db4ad2fd3e8c9382
parent52a90577f2b8eb67d6abe26242c63041212e8115
Add a next-outbound-HTLC minimum field to chan details and use it

In the coming commits, in order to ensure all routes we generate
are usable, we'll start calculating the next-HTLC minimum for our
channels and using it in the router. Here we set this up by adding
an always-0 field for it in `ChannelDetails` and use it when
routing.
fuzz/src/router.rs
lightning/src/ln/channel.rs
lightning/src/ln/channelmanager.rs
lightning/src/routing/router.rs