Re-exports§
pub use error::Error;
Modules§
- Errors.
- Messages types Data messages and their possible responses.
- Helpers for safenode
- RPC commands to node
- Storage types for spends, chunks and registers.
- Network versioning
Structs§
- Re-export of Bytes used throughout the protocol A cheaply cloneable and sliceable chunk of contiguous memory.
- Pretty print a
kad::KBucketKey
as a hex string. - Provides a hex representation of a
kad::RecordKey
.
Enums§
- This is the address in the network by which proximity/distance to other items (whether nodes or data chunks) are calculated.
Constants§
- The maximum number of peers to return in a
GetClosestPeers
response. This is the group size used in safe network protocol to be responsible for an item in the network. The peer should be present among the CLOSE_GROUP_SIZE if we’re fetching the close_group(peer) The size has been set to 5 for improved performance.
Functions§
- Returns the UDP port from the provided MultiAddr.