Crate snarkos_network[][src]

Re-exports

pub use consensus::*;
pub use environment::*;
pub use errors::*;
pub use inbound::*;
pub use message::*;
pub use outbound::*;
pub use peers::*;

Modules

consensus
environment
errors
inbound
message
outbound
peers

Structs

Node

A core data structure for operating the networking stack of this node.

Constants

HANDSHAKE_PATTERN
HANDSHAKE_PSK
MAX_BLOCK_SYNC_COUNT

The maximum number of block hashes that can be requested or provided in a single batch.

MAX_MESSAGE_SIZE
NOISE_BUF_LEN
NOISE_TAG_LEN
SHARED_PEER_COUNT

The maximum number of peers shared at once in response to a GetPeers message.