Skip to content

Commit 5ff8e7e

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 faad6dd commit 5ff8e7e

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

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
@@ -329,7 +329,7 @@ static std::map<std::string, std::shared_ptr<nlohmann::json>> registered_network
329329
{ "asset_registry_url", "https://assets-testnet.blockstream.info/" },
330330
{ "asset_registry_onion_url", "http://lhquhzzpzg5tyymcqep24fynpzzqqg3m3rlh7ascnw5cpqsro35bfxyd.onion/testnet/" },
331331
{ "bech32_prefix", "tex" },
332-
{ "bip21_prefix", "liquidtestnet" },
332+
{ "bip21_prefix", "liquidnetwork" },
333333
{ "blech32_prefix", "tlq" },
334334
{ "blinded_prefix", 23u },
335335
{ "blob_server_url", std::string() },
@@ -713,7 +713,7 @@ static std::map<std::string, std::shared_ptr<nlohmann::json>> registered_network
713713
{ "asset_registry_url", "https://assets-testnet.blockstream.info/" },
714714
{ "asset_registry_onion_url", "http://lhquhzzpzg5tyymcqep24fynpzzqqg3m3rlh7ascnw5cpqsro35bfxyd.onion/testnet/" },
715715
{ "bech32_prefix", "tex" },
716-
{ "bip21_prefix", "liquidtestnet" },
716+
{ "bip21_prefix", "liquidnetwork" },
717717
{ "blech32_prefix", "tlq" },
718718
{ "blinded_prefix", 23u },
719719
{ "blob_server_url", std::string() },

0 commit comments

Comments
 (0)