Module bitcoin::p2p

source ·
Expand description

Bitcoin p2p network types.

This module defines support for (de)serialization and network transport of Bitcoin data and Bitcoin p2p network messages.

Re-exports

Modules

Structs

  • Network magic bytes to identify the cryptocurrency network the message was intended for.
  • An error in parsing magic bytes.
  • Flags to indicate which network services a node supports.
  • Error in creating a Network from Magic bytes.

Constants

  • Version of the protocol as appearing in network message headers.