Skip to main content

Module peer_set

Module peer_set 

Source

Re-exportsΒ§

pub use initialize::init;
pub use initialize::init_with_block_gossip_peer_ips;
pub use service::NetworkResponseFuture;
pub use service::NetworkService;

ModulesΒ§

candidate_set πŸ”’
Candidate peer selection for outbound connections.
initialize πŸ”’
A peer set whose size is dynamically determined by resource constraints.
inventory_registry πŸ”’
Inventory Registry Implementation
limit πŸ”’
Counting active connections used by Zebra.
service πŸ”’
External ownership of the network’s buffered service and background tasks.
set πŸ”’
Abstractions that represent β€œthe rest of the network”.
stall_tracker πŸ”’
Tracks peers that consistently return failed FindBlocks or FindHeaders responses, so the peer set can disconnect them.
unready_service πŸ”’
Services that are busy or newly created.

StructsΒ§

AdvertisePeers πŸ”’
BlockAdvert πŸ”’
A queued advert acknowledges a completed local transport write, not remote receipt.
BlockAdvertiser
Bounded block fanout independent of ordinary peer request readiness.
PeerSetWaker πŸ”’
Discovery and maintenance requests wake both an active worker and the idle-buffer self-poller.

FunctionsΒ§

broadcast_peer_count πŸ”’

Type AliasesΒ§

AdvertPeers πŸ”’