Crate snarkos_node_router
source ·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
- The state for each connected peer.
- A struct that keeps track of the current sync state.
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.