This package has been deprecated

    Author message:

    WARNING: This project has been renamed to libp2p-bootstrap. Install using libp2p-bootstrap instead.

    libp2p-railing

    0.9.2 • Public • Published

    js-libp2p-railing

    Coverage Status Travis CI Circle CI Dependency Status js-standard-style

    JavaScript libp2p Implementation of the railing process of a Node through a bootstrap peer list

    Lead Maintainer

    Vasco Santos.

    Usage

    const Railing = require('libp2p-railing')
     
    const options = {
      list: <List of Multiaddrs>
      interval: 5000 // ms, default is 10s
    }
     
    const b = new Railing(options)
     
    b.on('peer', function (peerInfo) {
      // found a new peer
    })
     
    b.start()

    Keywords

    Install

    npm i libp2p-railing

    DownloadsWeekly Downloads

    25

    Version

    0.9.2

    License

    MIT

    Unpacked Size

    5.7 MB

    Total Files

    14

    Last publish

    Collaborators

    • daviddias
    • dignifiedquire