Crate snarkos_network[][src]

Re-exports

pub use consensus::*;
pub use config::*;
pub use errors::*;
pub use inbound::*;
pub use message::*;
pub use node::*;
pub use outbound::*;
pub use peers::*;

Modules

config
consensus
errors
inbound
message
node
outbound
peers

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.