core/routing/routing
library
Classes
-
ContentDiscovery
-
ContentDiscovery is able to retrieve providers for a given CID using the Routing system.
-
ContentProviding
-
ContentProviding is able to announce where to find content on the Routing system.
-
ContentRouting
-
ContentRouting is a value provider layer of indirection. It is used to find
information about who has what content.
-
PeerRouting
-
PeerRouting is a way to find address information about certain peers.
This can be implemented by a simple lookup table, a tracking server,
or even a DHT.
-
PubKeyFetcher
-
PubKeyFetcher is an interface that should be implemented by value stores
that can optimize retrieval of public keys.
-
Routing
-
Routing is the combination of different routing types supported by libp2p.
It can be satisfied by a single item (such as a DHT) or multiple different
pieces that are more optimized to each task.
-
ValueStore
-
ValueStore is a basic Put/Get interface.
Exceptions / Errors
-
NotFoundError
-
Error thrown when a routing operation fails to find the requested record
-
NotSupportedError
-
Error thrown when a routing operation is not supported