Module codec

Source
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 Codec options.
Codec
A codec which produces Bitcoin messages from byte streams and vice versa.

Enums§

DecodeState 🔒

Constants§

HEADER_LEN 🔒
The length of a Bitcoin message header.