Expand description
Hyperswarm - Peer-to-peer networking with topic-based discovery
Structs§
- Connect
Future - Connection
- Connection
Event - Event emitted when a connection is established
- Connection
Info - Information about an active connection
- Connection
Set - A set of connections indexed by public key for deduplication
- Connection
Stream - Stream that yields connection events (both client and server)
- DhtConfig
- Flush
Announces AndLookups - Keypair
- Peer
Discovery - Peer
Info - Information about a discovered peer
- Peer
Queue - Priority queue for scheduling peer connections
- Public
Key - Queued
Peer - Entry in the connection queue
- Retry
Entry - A scheduled retry for a peer
- Retry
Timer - Timer for managing peer retry scheduling
- Swarm
- The main Hyperswarm instance
- Swarm
Config - Configuration for Swarm behavior
- Topic
- A 32 byte identifier for a node participating in the DHT.
Enums§
- AddResult
- Result of adding a connection to the set
- Connection
State - Connection lifecycle state
- Error
- Error type for hyperswarm operations
- Join
Opts - Peer
Origin - How we learned about this peer
- Priority
- Priority levels for peer connection attempts
- Swarm
Event - Trust
Level - Trust level based on connection history
Type Aliases§
- Result
- Result type alias for hyperswarm operations