NodeConfig -> WakuNodeConfig

This commit is contained in:
Daniel Sanchez Quiros 2022-09-30 08:50:37 +02:00
parent 597aceab33
commit d7c685c1d8
1 changed files with 1 additions and 1 deletions

View File

@ -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**