Expand description
A Tokio codec that transforms an AsyncRead into a Stream of Messages.
A Tokio codec mapping byte streams to Bitcoin message streams.
Structsยง
- Builder
- A builder for specifying
Codecoptions. - Codec
- A codec which produces Bitcoin messages from byte streams and vice versa.
Enumsยง
- Decode
State ๐
Constantsยง
- HEADER_
LEN ๐ - The length of a Bitcoin message header.
- MAX_
HANDSHAKE_ ๐BODY_ LEN - The maximum body length allowed before the handshake completes.