@@ -148,15 +148,15 @@ impl LdkLiteBuilder {
148148 /// Sets the used storage directory path.
149149 ///
150150 /// Default: `/tmp/ldk_lite/`
151- pub fn storage_dir_path ( & mut self , storage_dir_path : String ) -> & mut Self {
151+ pub fn set_storage_dir_path ( & mut self , storage_dir_path : String ) -> & mut Self {
152152 self . config . storage_dir_path = storage_dir_path;
153153 self
154154 }
155155
156156 /// Sets the Esplora server URL.
157157 ///
158158 /// Default: `https://blockstream.info/api`
159- pub fn esplora_server_url ( & mut self , esplora_server_url : String ) -> & mut Self {
159+ pub fn set_esplora_server_url ( & mut self , esplora_server_url : String ) -> & mut Self {
160160 self . config . esplora_server_url = esplora_server_url;
161161 self
162162 }
@@ -166,7 +166,7 @@ impl LdkLiteBuilder {
166166 /// Options: `mainnet`/`bitcoin`, `testnet`, `regtest`, `signet`
167167 ///
168168 /// Default: `testnet`
169- pub fn network ( & mut self , network : & str ) -> & mut Self {
169+ pub fn set_network ( & mut self , network : & str ) -> & mut Self {
170170 self . config . network = match network {
171171 "mainnet" => bitcoin:: Network :: Bitcoin ,
172172 "bitcoin" => bitcoin:: Network :: Bitcoin ,
@@ -181,7 +181,7 @@ impl LdkLiteBuilder {
181181 /// Sets the port on which [`LdkLite`] will listen for incoming network connections.
182182 ///
183183 /// Default: `9735`
184- pub fn listening_port ( & mut self , listening_port : u16 ) -> & mut Self {
184+ pub fn set_listening_port ( & mut self , listening_port : u16 ) -> & mut Self {
185185 self . config . listening_port = listening_port;
186186 self
187187 }
0 commit comments