BIP324 introduced the second version of p2p network messages which are designed to be used with the new encrypted transport. This patch adds a V2NetworkMessage type which wraps a NetworkMessage and handles the V2 encoding and decoding. It is a parallel of the existing RawNetworkMessage type (which may be better described as V1NetworkMessage). A priority of this patch was to not re-invent any wheels and try to use the existing patterns as much as possible. |
||
---|---|---|
.. | ||
contrib | ||
embedded | ||
examples | ||
src | ||
tests | ||
CHANGELOG.md | ||
Cargo.toml |