mirror of https://github.com/status-im/js-waku.git
fix: outdated doc & links
This commit is contained in:
parent
889ec4d45c
commit
8c27975830
|
@ -44,12 +44,7 @@ export interface CreateOptions {
|
|||
*/
|
||||
staticNoiseKey?: Uint8Array;
|
||||
/**
|
||||
* Use libp2p-bootstrap to discover and connect to new nodes.
|
||||
*
|
||||
* See [[BootstrapOptions]] for available parameters.
|
||||
*
|
||||
* Note: It overrides any other peerDiscovery modules that may have been set via
|
||||
* {@link CreateOptions.libp2p}.
|
||||
* Use recommended bootstrap method to discovery and connect to new nodes.
|
||||
*/
|
||||
defaultBootstrap?: boolean;
|
||||
}
|
||||
|
|
|
@ -22,7 +22,8 @@ interface WakuGossipSubProtocol extends GossipSub {
|
|||
|
||||
/**
|
||||
* Wait for a remote peer to be ready given the passed protocols.
|
||||
* Useful when using the [[CreateOptions.bootstrap]] with [[createWaku]].
|
||||
* Must be used after attempting to connect to nodes, using {@link Waku.dial} or
|
||||
* a bootstrap method with {@link Waku.constructor}.
|
||||
*
|
||||
* If the passed protocols is a GossipSub protocol, then it resolves only once
|
||||
* a peer is in a mesh, to help ensure that other peers will send and receive
|
||||
|
|
Loading…
Reference in New Issue