Modules§
Structs§
- Addresses
 - A list of addresses of a peer in the routing table.
 - Instant
 - Copyright 2024 MaidSafe.net limited.
 - Interval
 - Interval returned by 
intervalandinterval_at. - Network
 - API to interact with the underlying Swarm
 - Network
Builder  - Node
Record Store  - A 
RecordStorethat stores records on disk. - Swarm
Driver  - Swarm
Local State  - Snapshot of information kept in the Swarm’s local state
 
Enums§
- MsgResponder
 - Channel to send the 
Responsethrough. - Network
Error  - Network Errors
 - Network
Event  - Events forwarded by the underlying Network; to be used by the upper layers
 - Node
Issue  - Response
Quorum  - Specifies the minimum number of distinct nodes that must be successfully contacted in order for a query to succeed.
 
Constants§
- MAX_
PACKET_ SIZE  - What is the largest packet to send over the network. Records larger than this will be rejected.
 
Functions§
- close_
group_ majority  - Majority of a given group (i.e. > 1/2).
 - interval
 - Creates new 
Intervalthat yields with interval ofperiod. The first tick completes immediately. The defaultMissedTickBehaviorisBurst, but this can be configured by callingset_missed_tick_behavior. - multiaddr_
is_ global  - Verifies if 
Multiaddrcontains IPv4 address that is not global. This is used to filter out unroutable addresses from the Kademlia routing table. - sleep
 - Waits until 
durationhas elapsed. - sort_
peers_ by_ key  - Sort the provided peers by their distance to the given 
KBucketKey. Return with the closest expected number of entries it has. - spawn
 - Spawns a new asynchronous task, returning a
JoinHandlefor it.