Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/vaporyjs/node-devp2p-dpt

An node.js implementation of devp2p's Distrubuted Peer Table
https://github.com/vaporyjs/node-devp2p-dpt

vapory

Last synced: 12 days ago
JSON representation

An node.js implementation of devp2p's Distrubuted Peer Table

Awesome Lists containing this project

README

        

# SYNOPSIS
[![NPM Package](https://img.shields.io/npm/v/devp2p-dpt.svg?style=flat-square)](https://www.npmjs.org/package/devp2p-dpt)
[![Build Status](https://img.shields.io/travis/vaporyjs/node-devp2p-dpt.svg?branch=master&style=flat-square)](https://travis-ci.org/vaporyjs/node-devp2p-dpt)
[![Gitter](https://img.shields.io/gitter/room/vapory/vaporyjs-lib.svg?style=flat-square)](https://gitter.im/vapory/vaporyjs-lib) or #vaporyjs on freenode

[![js-standard-style](https://cdn.rawgit.com/feross/standard/master/badge.svg)](https://github.com/feross/standard)
An node.js implementation of devp2p's Distrubuted Peer Table. A DPT is like DHT but just stores peering info.

# Installation

Because package uses [cryptocoinjs/secp256k1-node](https://github.com/cryptocoinjs/secp256k1-node) you need C++ compiler.

```
npm install devp2p-dpt
```

# Example

See examples in [examples/](examples/)

- [bootstrap](examples/bootstrap.js)

# API

[API.md](API.md)

But don't hesitate check source code, it's always actual and gives much insight.

# Reference

- [RLPx Node Discovery Protocol](https://github.com/vaporyco/go-vapory/wiki/RLPx-----Node-Discovery-Protocol) (outdated)
- [Node discovery protocol](https://github.com/vaporyco/wiki/wiki/Node-discovery-protocol)
- [RLPx: Cryptographic Network & Transport Protocol](https://github.com/vaporyco/devp2p/blob/master/rlpx.md)

# License

[MPL-2.0](https://www.mozilla.org/en-US/MPL/2.0/)