//! Message framing constants and payload checksum (first 4 bytes of double-SHA256).
use ;
/// Bitcoin P2P message header size (magic + command + length + checksum)
pub const MESSAGE_HEADER_SIZE: usize = 4 + 12 + 4 + 4;
/// Maximum message payload size.
pub const MAX_MESSAGE_PAYLOAD: usize = crateMAX_PROTOCOL_PAYLOAD;
/// Calculate checksum for message payload (first 4 bytes of double SHA256)