Module zebra_network::protocol::external::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§

  • A builder for specifying Codec options.
  • A codec which produces Bitcoin messages from byte streams and vice versa.

Enums§

Constants§

  • HEADER_LEN 🔒
    The length of a Bitcoin message header.