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. |
||
---|---|---|
.. | ||
address.rs | ||
message.rs | ||
message_blockdata.rs | ||
message_bloom.rs | ||
message_compact_blocks.rs | ||
message_filter.rs | ||
message_network.rs | ||
mod.rs |