mirror of
https://github.com/lightningdevkit/rust-lightning.git
synced 2025-02-25 15:20:24 +01:00
This breaks backwards compatibility with versions of LDK prior to 0.0.113 as they expect to always read signer data. This also substantially reduces allocations during `ChannelManager` serialization, as we currently don't pre-allocate the `Vec` that the signer gets written in to. We could alternatively pre-allocate that `Vec`, but we've been set up to skip the write entirely for a while, and 0.0.113 was released nearly a year ago. Users downgrading to LDK 0.0.112 and before at this point should not be expected.
4 lines
299 B
Text
4 lines
299 B
Text
* `ChannelManager`s written with LDK 0.0.119 are no longer readable by versions
|
|
of LDK prior to 0.0.113. Users wishing to downgrade to LDK 0.0.112 or before
|
|
can read an 0.0.119-serialized `ChannelManager` with a version of LDK from
|
|
0.0.113 to 0.0.118, re-serialize it, and then downgrade.
|