hyperdrive-network-heuristics
v1.0.2
Published
Networking heuristics for announcing Hyperdrives on Hyperswarm.
Downloads
26
Maintainers
Readme
hyperdrive-network-heuristics
Networking heuristics for announcing Hyperdrives on Hyperswarm
These heuristics are used in the hyperdrive-daemon-client
and @hyperspace/hyperdrive
.
Usage
There's only one exported method, which is used to enable the networking heuristics:
applyHeuristics(drive, networker)
Applies networking heuristics to a drive.
drive
: A Hyperdrive instancenetworker
: A@corestore/networker
or HyperspaceRemoteNetworker
License
MIT