rust-lightning/lightning
Duncan Dean 16d0f2ff4a
Make DataLossProtect fields required and remove wrappers
The fields provided by `DataLossProtect` have been mandatory since
https://github.com/lightning/bolts/pull/754/commits/6656b70, regardless
of whether `option_dataloss_protect` or `option_remote_key` feature bits
are set.

We move the fields out of `DataLossProtect` to make encoding definitions
more succinct with `impl_writeable_msg!` and to reduce boilerplate.

This paves the way for completely removing `OptionalField` in subsequent
commits.
2023-05-01 22:41:12 +02:00
..
src Make DataLossProtect fields required and remove wrappers 2023-05-01 22:41:12 +02:00
Cargo.toml Bump crate versions to 0.0.115/invoice 0.23 2023-04-24 22:40:17 +00:00