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 27058a8 commit 605d45dCopy full SHA for 605d45d
src/builder.rs
@@ -845,6 +845,11 @@ impl ArcedNodeBuilder {
845
self.inner.write().unwrap().set_node_alias(node_alias).map(|_| ())
846
}
847
848
+ /// Sets the default dns_resolvers to be used when sending payments to HRNs.
849
+ pub fn set_dns_resolvers(&self, dns_resolvers: Vec<Destination>) -> Result<(), BuildError> {
850
+ self.inner.write().unwrap().set_dns_resolvers(dns_resolvers).map(|_| ());
851
+ }
852
+
853
/// Builds a [`Node`] instance with a [`SqliteStore`] backend and according to the options
854
/// previously configured.
855
pub fn build(&self) -> Result<Arc<Node>, BuildError> {
0 commit comments