-
Notifications
You must be signed in to change notification settings - Fork 60
Conversation
.travis.yml
Outdated
@@ -0,0 +1,13 @@ | |||
language: node_js | |||
node_js: | |||
- 4 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
6 and stable too
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
update CI
README.md
Outdated
|
||
> JavaScript implementation of the DHT for libp2p | ||
> JavaScript implementation of the Kademlia DHT for libp2p, based on [go-kad-dht](https://github.com/libp2p/go-libp2p-kad-dht). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/go-kad-dht/go-libp2p-kad-dht
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
update
@dignifiedquire seeing an error in occasionally:
|
* @param {number} [maxTimeout=10000] - how long to wait for the the bootstrap query to run, in milliseconds (10s) | ||
* @returns {void} | ||
*/ | ||
bootstrapStart (queries, period, maxTimeout) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is, in fact, a discovery service that DHT provides and so as any discovery service it needs to be passed into the discovery mechanisms
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hmm
@dignifiedquire can you elaborate on the work behind (and importance of)
|
These are nice to haves to check for specific failure behaviour but not crucial for shipping. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- rm yarn.lock
- create issues for the remaining items
.travis.yml
Outdated
@@ -0,0 +1,13 @@ | |||
language: node_js | |||
node_js: | |||
- 4 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
update CI
README.md
Outdated
|
||
> JavaScript implementation of the DHT for libp2p | ||
> JavaScript implementation of the Kademlia DHT for libp2p, based on [go-kad-dht](https://github.com/libp2p/go-libp2p-kad-dht). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
update
### npm | ||
|
||
```sh | ||
> npm i libp2p-dht |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/libp2p-dht/libp2p-kad-dht/g
README.md
Outdated
### Use in Node.js | ||
|
||
```js | ||
const KadDHT = require('libp2p-dht') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/libp2p-dht/libp2p-kad-dht/g
README.md
Outdated
|
||
## API | ||
|
||
See https://libp2p.github.io/js-libp2p-dht |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/libp2p-dht/libp2p-kad-dht/g
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- david finishes missing things
The dragons still live here. So beware of them.
Things left to do
peer:disconnect
js-libp2p#74[external] Add latency recording to peer-book(moved to Add ability to record latency information js-peer-book#34)[external] Add close method to interface-connection(moved to https://github.com/libp2p/js-libp2p-swarm/issues/205)Figure out if go uses lp messages or not, It does, need to implement itdht_test.go
findPeersConnectedToPeer(removing, doesn't work in go and will be implemented at a later point)ext_test.go
start
andstop