rust-lightning/lightning
Matt Corallo 45ec1db2e0 Encrypt+MAC most P2P messages in-place
For non-gossip-broadcast messages, our current flow is to first
serialize the message into a `Vec`, and then allocate a new `Vec`
into which we write the encrypted+MAC'd message and header.

This is somewhat wasteful, and its rather simple to instead
allocate only one buffer and encrypt the message in-place.
2022-09-12 18:06:52 +00:00
..
src Encrypt+MAC most P2P messages in-place 2022-09-12 18:06:52 +00:00
Cargo.toml Update bitcoin crate to 0.29.0 2022-08-11 00:21:26 +02:00