Skip to main content

Crate hyperdht

Crate hyperdht 

Source
Expand description

Rust Implementation of the hyperswarm DHT

Modules§

adht
announcer
commands
namespace
Generated from the original JavaScript code

Structs§

AnnounceRequestValue
Struct representing Announce OR Unannounce request value
Connection
Keypair
PeerHandshakeResponse
PublicKey
Server

Enums§

Error

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 Mutable storage
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

Type Aliases§

Result