rust-lightning/lightning
Matt Corallo f69311ccff Store holder channel reserve and max-htlc-in-flight explicitly
Previously, `holder_selected_channel_reserve_satoshis` and
`holder_max_htlc_value_in_flight_msat` were constant functions
of the channel value satoshis. However, in the future we may allow
allow users to specify it. In order to do so, we'll need to track
them explicitly, including serializing them as appropriate.

We go ahead and do so here, in part as it will make testing
different counterparty-selected channel reserve values easier.
2021-11-23 21:05:07 +00:00
..
src Store holder channel reserve and max-htlc-in-flight explicitly 2021-11-23 21:05:07 +00:00
Cargo.toml Add a new log-level for gossip messages. 2021-11-22 18:19:08 +01:00