@web4/bitdrive-network-heuristics

1.0.0 • Public • Published

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 instance
  • networker: A @web4/chainstore-networker or Bitspace RemoteNetworker

License

MIT

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i @web4/bitdrive-network-heuristics

      Weekly Downloads

      0

      Version

      1.0.0

      License

      MIT

      Unpacked Size

      3.27 kB

      Total Files

      4

      Last publish

      Collaborators

      • neothawreww