Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@ddrive/network-heuristics

dwebprotocol18MIT1.0.0

Network heuristics for dDrive.

ddrive, network, basestore, heuristics

readme

ddrive-network-heuristics

Networking heuristics for announcing dDrives on dSwarm

These heuristics are used in the @ddrive/daemon-client and @dhub/ddrive.

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 DDrive instance
  • networker: A @basestore/networker or dHub RemoteNetworker

License

MIT