@ddrive/network-heuristics

1.0.0 • Public • Published

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

Package Sidebar

Install

npm i @ddrive/network-heuristics

Homepage

dwebx.org

Weekly Downloads

2

Version

1.0.0

License

MIT

Unpacked Size

3.16 kB

Total Files

4

Last publish

Collaborators

  • dwebprotocol