Skip to content

Commit 4f3b33b

Browse files
committed
Switch DEFAULT_NETWORK over to Bitcoin mainnet
As we're getting ready for release
1 parent 44d628a commit 4f3b33b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ uniffi::include_scaffolding!("ldk_node");
163163

164164
// Config defaults
165165
const DEFAULT_STORAGE_DIR_PATH: &str = "/tmp/ldk_node/";
166-
const DEFAULT_NETWORK: Network = Network::Regtest;
166+
const DEFAULT_NETWORK: Network = Network::Bitcoin;
167167
const DEFAULT_LISTENING_ADDR: &str = "0.0.0.0:9735";
168168
const DEFAULT_CLTV_EXPIRY_DELTA: u32 = 144;
169169
const DEFAULT_ESPLORA_SERVER_URL: &str = "https://blockstream.info/api";
@@ -198,7 +198,7 @@ const WALLET_KEYS_SEED_LEN: usize = 64;
198198
/// | Parameter | Value |
199199
/// |-----------------------------|------------------|
200200
/// | `storage_dir_path` | /tmp/ldk_node/ |
201-
/// | `network` | Network::Regtest |
201+
/// | `network` | Network::Bitcoin |
202202
/// | `listening_address` | 0.0.0.0:9735 |
203203
/// | `default_cltv_expiry_delta` | 144 |
204204
///

0 commit comments

Comments
 (0)