]> git.bitcoin.ninja Git - rust-lightning/commit
Replace OUR_MAX_HTLCS constant with config knob
authorSteven Williamson <williamson.steven.m@gmail.com>
Wed, 29 Mar 2023 23:45:09 +0000 (19:45 -0400)
committerSteven Williamson <williamson.steven.m@gmail.com>
Sun, 16 Apr 2023 23:28:49 +0000 (19:28 -0400)
commitf65660945d7f3577e09e9860b82b52f9b33a5814
tree131688066af2dbe4100a7c39302da95f4e604708
parente1e38196e2e8de7d3bc589930c662e05b98a20f7
Replace OUR_MAX_HTLCS constant with config knob
holder_max_accepted_htlcs. Set upper bound of 483

Writes an even TLV if the value isn't 50
lightning/src/ln/channel.rs
lightning/src/ln/functional_tests.rs
lightning/src/util/config.rs