feat: new super simplified API

This commit is contained in:
David Dias
2017-03-27 12:26:34 +01:00
parent 5d4d94e75f
commit a6623c1ba2
3 changed files with 53 additions and 124 deletions

View File

@ -168,6 +168,10 @@ class Node extends libp2p {
> Check if libp2p is started
#### `libp2p.ping(peer [, options], callback)`
> Ping a node in the network
#### `libp2p.peerBook`
> PeerBook instance of the node