You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 10, 2020. It is now read-only.
-`addr` is a [multiaddr](https://github.com/multiformats/js-multiaddr) to a peer node
19
+
-`opts.default` if true, add the default peers to the list
20
+
-`callback` must follow `function (err, res) {}` signature, where `err` is an error if the operation was not successful. `res.Peers` is an array of added addresses.
-`callback` must follow `function (err, res) {}` signature, where `err` is an error if the operation was not successful. `res.Peers` is an array of addresses.
-`addr` is a [multiaddr](https://github.com/multiformats/js-multiaddr) to a peer node
42
+
-`opts.all` if true, remove all peers from the list
43
+
-`callback` must follow `function (err, res) {}` signature, where `err` is an error if the operation was not successful. `res.Peers` is an array of removed addresses.
0 commit comments