libp2p
    Preparing search index...

    Module @libp2p/peer-store

    The peer store is where libp2p stores data about the peers it has encountered on the network.

    @libp2p/peer-store

    libp2p.io Discuss codecov CI

    Stores information about peers libp2p knows on the network

    About

    The peer store is where libp2p stores data about the peers it has encountered on the network.

    Install

    $ npm i @libp2p/peer-store
    

    Loading this module through a script tag will make its exports available as Libp2pPeerStore in the global namespace.

    <script src="https://unpkg.com/@libp2p/peer-store/dist/index.min.js"></script>
    

    API Docs

    License

    Licensed under either of

    Contribution

    Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

    Interfaces

    AddressFilter
    PersistentPeerStoreComponents
    PersistentPeerStoreInit

    Functions

    persistentPeerStore