Macros

  • A macro unwrapping the expected handshake message or returning an error for unexpected messages.
  • A macro for cutting a handshake short if message verification fails.

Structs

Constants

Traits

Functions

  • A helper function to compute the maximum of two numbers. See Rust issue 92391: https://github.com/rust-lang/rust/issues/92391.

Type Definitions

  • A tuple of the block hash (optional), previous block hash (optional), and sync IPs.