Crate atm0s_small_p2p

Crate atm0s_small_p2p 

Source

Modules§

alias_service
metrics_service
pubsub_service
Simple PubsubService with multi-publishers, multi-subscribers style
visualization_service

Macros§

return_on_err

Structs§

ConnectionId
NetworkAddress
P2pNetwork
P2pNetworkConfig
P2pNetworkRequester
P2pQuicStream
P2pService
P2pServiceRequester
PeerAddress
PeerConnectionMetric
PeerId
SharedKeyHandshake
Simple secure_key protect with hash Idea is we serialize HandshakeData to bytes with bincode then concat it with secure_key and a seed Then compare received hash for ensuring two nodes have same secure_key at_ts timestamp is used for avoiding relay attach, if it older than HANDSHAKE_TIMEOUT then we reject
SharedRouterTable

Enums§

P2pNetworkEvent
P2pServiceEvent

Constants§

CERT_DOMAIN_NAME

Traits§

ErrorExt
ErrorExt2
HandshakeProtocol

Functions§

now_ms