hyperdrive-network-heuristics

1.0.2 • Public • Published

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 instance
  • networker: A @corestore/networker or Hyperspace RemoteNetworker

License

MIT

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i hyperdrive-network-heuristics

      Weekly Downloads

      1

      Version

      1.0.2

      License

      MIT

      Unpacked Size

      3.32 kB

      Total Files

      4

      Last publish

      Collaborators

      • andrewosh