Skip to content

Commit c308282

Browse files
committed
Move Esplora default server out of Config grouping
1 parent c183f1a commit c308282

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/lib.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,6 @@ const DEFAULT_STORAGE_DIR_PATH: &str = "/tmp/ldk_node/";
173173
const DEFAULT_NETWORK: Network = Network::Bitcoin;
174174
const DEFAULT_LISTENING_ADDR: &str = "0.0.0.0:9735";
175175
const DEFAULT_CLTV_EXPIRY_DELTA: u32 = 144;
176-
const DEFAULT_ESPLORA_SERVER_URL: &str = "https://blockstream.info/api";
177176
const DEFAULT_LOG_LEVEL: LogLevel = LogLevel::Debug;
178177

179178
// The 'stop gap' parameter used by BDK's wallet sync. This seems to configure the threshold
@@ -183,6 +182,9 @@ const BDK_CLIENT_STOP_GAP: usize = 20;
183182
// The number of concurrent requests made against the API provider.
184183
const BDK_CLIENT_CONCURRENCY: u8 = 8;
185184

185+
// The default Esplora server we're using.
186+
const DEFAULT_ESPLORA_SERVER_URL: &str = "https://blockstream.info/api";
187+
186188
// The timeout after which we abandon retrying failed payments.
187189
const LDK_PAYMENT_RETRY_TIMEOUT: Duration = Duration::from_secs(10);
188190

0 commit comments

Comments
 (0)