Skip to content

Commit 71937f6

Browse files
committed
network_parameters: change bip21 schema liquidtestnet->liquidnetwork
the schema doesn't need to convey the network, indeed for bitcoin we have only `bitcoin:` as schema for every network (mainnet, testnet, signet, regtest) This is indeed a breaking change and the liquidtesnet schema is used in the wild, however, since it's breaking only for testnet networks, it makes sense to change it.
1 parent f2963b2 commit 71937f6

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/source/examples/get_networks.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@
220220
"asset_registry_onion_url": "http://lhquhzzpzg5tyymcqep24fynpzzqqg3m3rlh7ascnw5cpqsro35bfxyd.onion/testnet/",
221221
"asset_registry_url": "https://assets-testnet.blockstream.info/",
222222
"bech32_prefix": "tex",
223-
"bip21_prefix": "liquidtestnet",
223+
"bip21_prefix": "liquidnetwork",
224224
"blech32_prefix": "tlq",
225225
"blinded_prefix": 23,
226226
"blob_server_onion_url": "",
@@ -480,7 +480,7 @@
480480
"asset_registry_onion_url": "http://lhquhzzpzg5tyymcqep24fynpzzqqg3m3rlh7ascnw5cpqsro35bfxyd.onion/testnet/",
481481
"asset_registry_url": "https://assets-testnet.blockstream.info/",
482482
"bech32_prefix": "tex",
483-
"bip21_prefix": "liquidtestnet",
483+
"bip21_prefix": "liquidnetwork",
484484
"blech32_prefix": "tlq",
485485
"blinded_prefix": 23,
486486
"blob_server_onion_url": "",

src/network_parameters.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ static std::map<std::string, std::shared_ptr<nlohmann::json>> registered_network
291291
{ "asset_registry_onion_url", "http://lhquhzzpzg5tyymcqep24fynpzzqqg3m3rlh7ascnw5cpqsro35bfxyd.onion/testnet/" },
292292
{ "asset_registry_url", "https://assets-testnet.blockstream.info/" },
293293
{ "bech32_prefix", "tex" },
294-
{ "bip21_prefix", "liquidtestnet" },
294+
{ "bip21_prefix", "liquidnetwork" },
295295
{ "blech32_prefix", "tlq" },
296296
{ "blinded_prefix", 23u },
297297
{ "blob_server_url", std::string() },
@@ -602,7 +602,7 @@ static std::map<std::string, std::shared_ptr<nlohmann::json>> registered_network
602602
{ "asset_registry_onion_url", "http://lhquhzzpzg5tyymcqep24fynpzzqqg3m3rlh7ascnw5cpqsro35bfxyd.onion/testnet/" },
603603
{ "asset_registry_url", "https://assets-testnet.blockstream.info/" },
604604
{ "bech32_prefix", "tex" },
605-
{ "bip21_prefix", "liquidtestnet" },
605+
{ "bip21_prefix", "liquidnetwork" },
606606
{ "blech32_prefix", "tlq" },
607607
{ "blinded_prefix", 23u },
608608
{ "blob_server_url", std::string() },

0 commit comments

Comments
 (0)