Add config support for 'their_channel_reserve_proportional_millionths' [#1498]
authorGursharan Singh <gursharan@squareup.com>
Mon, 18 Jul 2022 23:58:10 +0000 (16:58 -0700)
committerGursharan Singh <gursharan@squareup.com>
Tue, 2 Aug 2022 21:33:01 +0000 (14:33 -0700)
commit092d1c1f0df67b9a7c17d0424f1307d7395a7d22
treecf2cec087fc94748171511a314a34e4dc013b90b
parentf75b6cb9a8de91594fec9e37f0b2a4bae36b246a
Add config support for 'their_channel_reserve_proportional_millionths' [#1498]

It is proportion of the channel value to configure as the
`their_channel_reserve_satoshis` for both outbound and inbound channels.
It decides the minimum balance that the other node has to maintain on their
side, at all times.
.gitignore
lightning/src/ln/channel.rs
lightning/src/ln/channelmanager.rs
lightning/src/ln/functional_tests.rs
lightning/src/util/config.rs