1.0.0 • Published 2 years ago
@web4/bitdrive-network-heuristics v1.0.0
bitdrive-network-heuristics
Networking heuristics for announcing Bitdrives on Bitswarm
These heuristics are used in the bitdrive-daemon-client
and bitdrive-cli
.
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 Bitdrive instancenetworker
: A@web4/chainstore-networker
or BitspaceRemoteNetworker
License
MIT
1.0.0
2 years ago