Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/vaporyjs/node-devp2p-dpt
- Owner: vaporyjs
- Created: 2018-03-04T04:42:59.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2022-04-29T15:38:04.000Z (over 2 years ago)
- Last Synced: 2024-12-14T23:11:39.611Z (about 1 month ago)
- Topics: vapory
- Language: JavaScript
- Homepage: https://vapory.org
- Size: 227 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
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/)