mirror of
https://github.com/fluencelabs/js-libp2p
synced 2025-06-28 16:31:35 +00:00
docs(examples): Peer and Content Routing 1 and 2 (#107)
This commit is contained in:
@ -28,6 +28,8 @@ class Node extends EventEmitter {
|
||||
this.modules = _modules
|
||||
this.peerInfo = _peerInfo
|
||||
this.peerBook = _peerBook || new PeerBook()
|
||||
_options = _options || {}
|
||||
|
||||
this._isStarted = false
|
||||
|
||||
this.swarm = new Swarm(this.peerInfo, this.peerBook)
|
||||
|
Reference in New Issue
Block a user