Expand description
This module defines the raw UDP message packets for Discovery v5.1.
The discv5 wire specification provides further information on UDP message packets as implemented in this module.
A Packet
defines all raw UDP message variants and implements the encoding/decoding
logic.
Note, that all message encryption/decryption is handled outside of this module.
Structs§
Enums§
Constants§
- The Id nonce length (in bytes).
- The packet IV length (u128).
- The message nonce length (in bytes).
- The length of the static header. (6 byte protocol id, 2 bytes version, 1 byte kind, 12 byte message nonce and a 2 byte authdata-size).
Traits§
Type Aliases§
- The nonce sent in a WHOAREYOU packet.
- Message Nonce (12 bytes).