vls_util/
config.rs

1/// Network names
2pub const NETWORK_NAMES: [&'static str; 4] = ["testnet", "regtest", "signet", "bitcoin"];
3
4/// Useful with clap's `Arg::default_value_ifs`
5pub const CLAP_NETWORK_URL_MAPPING: [(&'static str, &'static str, Option<&'static str>); 4] = [
6    ("network", "bitcoin", Some("http://user:pass@127.0.0.1:8332")),
7    ("network", "testnet", Some("http://user:pass@127.0.0.1:18332")),
8    ("network", "regtest", Some("http://user:pass@127.0.0.1:18443")),
9    ("network", "signet", Some("http://user:pass@127.0.0.1:18443")),
10];
11
12pub const DEFAULT_DIR: &str = ".lightning-signer";