@web4/bitdrive-network-heuristics
v1.0.0
Published
Networking heuristics for announcing Bitdrives on Bitswarm.
Downloads
8
Maintainers
Readme
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