diff --git a/waku-bindings/src/node/config.rs b/waku-bindings/src/node/config.rs index f1a6945..d596aff 100644 --- a/waku-bindings/src/node/config.rs +++ b/waku-bindings/src/node/config.rs @@ -68,6 +68,13 @@ pub struct WakuNodeConfig { #[default(Some(9000))] #[serde(rename = "discV5UDPPort")] pub discv5_udp_port: Option, + /// Array of DNS discovery URLs + #[serde(rename = "dnsDiscoveryURLs", default)] + pub dns_discovery_urls: Vec, + /// Use custom nameserver. Default `` (uses the OS nameserver) + #[default(Some("".to_string()))] + #[serde(rename = "dnsDiscoveryNameServer")] + pub dns_discovery_nameserver: Option, /// Gossipsub custom configuration. pub gossipsub_params: Option, /// The domain name resolving to the node's public IPv4 address. diff --git a/waku-bindings/src/node/mod.rs b/waku-bindings/src/node/mod.rs index 8339741..54c005e 100644 --- a/waku-bindings/src/node/mod.rs +++ b/waku-bindings/src/node/mod.rs @@ -29,7 +29,6 @@ pub use config::{GossipSubParams, WakuLogLevel, WakuNodeConfig, WebsocketParams} pub use discovery::{waku_discv5_update_bootnodes, waku_dns_discovery, DnsInfo}; pub use peers::{Protocol, WakuPeerData, WakuPeers}; pub use relay::{waku_create_content_topic, waku_default_pubsub_topic}; -pub use store::{waku_local_store_query, waku_store_query}; /// Shared flag to check if a waku node is already running in the current process static WAKU_NODE_INITIALIZED: Mutex = Mutex::new(false);