{
ClusterConfig: {
RelayNodes: ["/ip4/127.0.0.1/udp/1234"],
StoreNodes: ["/ip4/127.0.0.1/udp/1234"],
FilterNodes: ["/ip4/127.0.0.1/udp/1234"],
LightpushNodes: ["/ip4/127.0.0.1/udp/1234"],
WakuRendezvousNodes: ["/ip4/127.0.0.1/udp/1234"]
}
WakuV2Config: {
Enabled: true,
Host: "0.0.0.0",
Port: 60000,
KeepAliveInterval: 1,
Rendezvous: true,
LightClient: bool,
DiscoveryLimit: 40,
DataDir: "./data",
PeerExchange: true,
MaxMessageSize: 1048576,
}
}
Rendezvous
: indicates if rendezvous protocol is going to be used to discover new peers. Notice that this is not the same protocol from status-im/rendezvous, but the version implemented as part of status-im/go-wakuClusterConfig
:
RelayNodes
: list of libp2p multiaddresses of nodes that support waku-relay. These nodes will be dialed on login.StoreNodes
: list of known store nodes multiaddresses for retrieving message history.FilterNodes
: list of known filter nodes used when running status-go as a Waku2 Light Client.LightpushNodes
: list of known lightpush nodes to use to broadcast messages when running status-go as a Waku2 Light ClientWakuRendezvousNodes
: list of rendezvous nodes to use for discovering new peers when Rendezvous
is enabled.WakuV2Config
:
Enabled
: indicates if Waku v2 protocol is enabled or not. It is not possible to run Waku v1 and v2 at the same time, so if this setting is enabled, Waku v1 will be disabled automatically.Host
: interface to use for the listening addresses of LibP2P. By default it will use 0.0.0.0
, matching both 127.0.0.1
as well as any external address.Port
: tcp port to use for the listening addresses of LibP2P. By default it will use the port 60000
. 0
can be used for listening on a random available port number.KeepAliveInterval
: interval of time in seconds to send a ping to peers to keep the connection to them alive. By default it will do so every second.LightClient
: when true
, it indicates that this status-go node will use Filter and Lightpush protocol. Otherwise it will use Relay protocol. It is intended to be used in resource restricted devices.DiscoveryLimit
: indicates the maximum number of peers to discoverDataDir
: path to a file system folder Waku should use for any data storage needs.PeerExchange
: determines whether GossipSub Peer Exchange is enabled or not when connecting to a peer that has already reached the maximum number of possible peers connectedMaxMessageSize
: is a maximum size of a packet handled by the protocol. Default value is uint32(1024 * 1024)
(1MB)or
or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up
Syntax | Example | Reference | |
---|---|---|---|
# Header | Header | 基本排版 | |
- Unordered List |
|
||
1. Ordered List |
|
||
- [ ] Todo List |
|
||
> Blockquote | Blockquote |
||
**Bold font** | Bold font | ||
*Italics font* | Italics font | ||
~~Strikethrough~~ | |||
19^th^ | 19th | ||
H~2~O | H2O | ||
++Inserted text++ | Inserted text | ||
==Marked text== | Marked text | ||
[link text](https:// "title") | Link | ||
 | Image | ||
`Code` | Code |
在筆記中貼入程式碼 | |
```javascript var i = 0; ``` |
|
||
:smile: | ![]() |
Emoji list | |
{%youtube youtube_id %} | Externals | ||
$L^aT_eX$ | LaTeX | ||
:::info This is a alert area. ::: |
This is a alert area. |
On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?
Please give us some advice and help us improve HackMD.
Do you want to remove this version name and description?
Syncing