Skip to main content

Module transport

Module transport 

Source
Expand description

§Transport — the seam between protocol and network

Abstract traits for moving RPC bytes between peers, with concrete implementations for tests (in-memory) and for native clients (HTTPS). Server-side HTTPS binding lives in hashiverse-server-lib; browser HTTPS lives in hashiverse-client-wasm. DDoS scoring and the bootstrap-address supply live here too because every transport implementation needs them.

Modules§

bootstrap_provider
Seed peer address supply
ddos
Per-IP DDoS scoring and connection-slot accounting
mem_transport
In-memory transport for tests
partial_https_transport
Client-only HTTPS transport
transport
Transport abstraction — the seam between protocol and network