]> git.bitcoin.ninja Git - rust-lightning/commit
Consider anchor outputs value on channel open
authorWilmer Paulino <wilmer@wilmerpaulino.com>
Thu, 19 Oct 2023 16:27:57 +0000 (09:27 -0700)
committerWilmer Paulino <wilmer@wilmerpaulino.com>
Fri, 20 Oct 2023 18:04:42 +0000 (11:04 -0700)
commit834f4d710c595c6927c293e2cb90e62dbc4f56ba
treec867986153ad85ec313aa78a0db974f24bec15e9
parent297390a882222ca044756f71cb3da3d639dae8d6
Consider anchor outputs value on channel open

We should make sure the funding amount of a channel can cover all its
associated costs, including the value of anchor outputs, to make sure
that it is actually usable once "opened".
lightning/src/ln/channel.rs