Module bdk_chain::bitcoin::p2p

Expand description

Bitcoin p2p network types.

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

Modules§

Structs§

  • A message which can be sent on the Bitcoin network
  • 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.