]> git.bitcoin.ninja Git - rust-lightning/commit
Require inbound channels with anchor outputs to be accepted manually
authorWilmer Paulino <wilmer@wilmerpaulino.com>
Tue, 20 Jun 2023 19:14:48 +0000 (12:14 -0700)
committerWilmer Paulino <wilmer@wilmerpaulino.com>
Fri, 23 Jun 2023 22:57:46 +0000 (15:57 -0700)
commite6348b89316570c4f16c0240bb0da803987d9989
tree1e4cfdd999fc070bffda4b76d6b2f26d7e221994
parent25e3f9437937af25606bb5142e7fc1e0efd60c3e
Require inbound channels with anchor outputs to be accepted manually

Since the use of channels with anchor outputs requires a reserve of
onchain funds to handle channel force closures, it would be
irresponsible to allow a node to accept inbound channel without first
consulting such reserves. To allow users to do so, we require such
channels be manually accepted.
lightning/src/ln/channelmanager.rs
lightning/src/ln/monitor_tests.rs
lightning/src/util/config.rs