File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -274,6 +274,12 @@ impl NodeBuilder {
274274 self
275275 }
276276
277+ /// Configures the [`Node`] instance to source its external scores from the given URL.
278+ pub fn set_external_scores_source ( & mut self , url : String ) -> & mut Self {
279+ self . config . external_scores_url = Some ( url) ;
280+ self
281+ }
282+
277283 /// Configures the [`Node`] instance to source its inbound liquidity from the given
278284 /// [LSPS2](https://github.com/BitcoinAndLightningLayerSpecs/lsp/blob/main/LSPS2/README.md)
279285 /// service.
Original file line number Diff line number Diff line change @@ -311,6 +311,8 @@ impl Node {
311311 }
312312
313313 if let Some ( url) = & self . config . external_scores_url {
314+ log_trace ! ( self . logger, "External scores background syncing from {} enabled" , url) ;
315+
314316 let external_scores_sync_logger = Arc :: clone ( & self . logger ) ;
315317 let external_scores_scorer = Arc :: clone ( & self . scorer ) ;
316318 let mut stop_sync = self . stop_sender . subscribe ( ) ;
You can’t perform that action at this time.
0 commit comments