mirror of
https://github.com/logos-messaging/logos-messaging-rust-bindings.git
synced 2026-01-08 17:03:08 +00:00
NodeConfig -> WakuNodeConfig
This commit is contained in:
parent
597aceab33
commit
d7c685c1d8
@ -8,7 +8,7 @@ use serde::{Deserialize, Serialize};
|
|||||||
/// Waku node configuration
|
/// Waku node configuration
|
||||||
#[derive(Clone, Default, Serialize, Deserialize)]
|
#[derive(Clone, Default, Serialize, Deserialize)]
|
||||||
#[serde(rename_all = "camelCase")]
|
#[serde(rename_all = "camelCase")]
|
||||||
pub struct NodeConfig {
|
pub struct WakuNodeConfig {
|
||||||
/// Listening IP address. Default `0.0.0.0`
|
/// Listening IP address. Default `0.0.0.0`
|
||||||
host: Option<std::net::IpAddr>,
|
host: Option<std::net::IpAddr>,
|
||||||
/// Libp2p TCP listening port. Default `60000`. Use `0` for **random**
|
/// Libp2p TCP listening port. Default `60000`. Use `0` for **random**
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user