Expand description
Rust Implementation of the hyperswarm DHT
Modules§
- adht
- announcer
- commands
- namespace
- Generated from the original JavaScript code
Structs§
- Announce
Request Value - Struct representing Announce OR Unannounce request value
- Connection
- Keypair
- Peer
Handshake Response - Public
Key - Server
Enums§
Constants§
- DEFAULT_
BOOTSTRAP - The publicly available hyperswarm DHT addresses
- IMMUTABLE_
STORE_ CMD - The command identifier for immutable storage
- MUTABLE_
STORE_ CMD - The command identifier for
Mutablestorage - PEERS_
CMD - The command identifier to (un)announce/lookup peers
Functions§
- make_
signable_ announce_ or_ unannounce - NB: the constraint NAMESPACE_SIZE < ANN_OR_UNANN_SIGNABLE_SIZE ensures this will not panic
- request_
announce_ or_ unannounce_ value - sign_
announce_ or_ unannounce