]> git.bitcoin.ninja Git - rust-lightning/commit
Implement Readable/Writeable for Events
authorMatt Corallo <git@bluematt.me>
Wed, 12 Feb 2020 22:02:03 +0000 (17:02 -0500)
committerMatt Corallo <git@bluematt.me>
Fri, 28 Feb 2020 19:36:02 +0000 (14:36 -0500)
commitbfd4ac49950d54c13894b30f82cb01e458596452
treefeb8a998f50e3eccd0b0b40de63401f974b1d3bd
parent8829d1b80f99aa9bb34a5132a380b1d5dc7e303a
Implement Readable/Writeable for Events

As noted in the docs, Events don't round-trip fully, but round-trip
in a way that is useful for ChannelManagers, specifically some events
don't make sense anymore after a restart.
lightning/src/chain/keysinterface.rs
lightning/src/util/events.rs
lightning/src/util/ser.rs