We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a90e84 commit b1efad0Copy full SHA for b1efad0
src/builder.rs
@@ -847,6 +847,11 @@ impl ArcedNodeBuilder {
847
self.inner.write().unwrap().set_node_alias(node_alias).map(|_| ())
848
}
849
850
+ /// Sets the default dns_resolvers to be used when sending payments to HRNs.
851
+ pub fn set_dns_resolvers(&self, dns_resolvers: Vec<Destination>) -> Result<(), BuildError> {
852
+ self.inner.write().unwrap().set_dns_resolvers(dns_resolvers).map(|_| ());
853
+ }
854
+
855
/// Builds a [`Node`] instance with a [`SqliteStore`] backend and according to the options
856
/// previously configured.
857
pub fn build(&self) -> Result<Arc<Node>, BuildError> {
0 commit comments