mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-20 13:37:28 +02:00
liquidtestnet: Add chainparams
This commit is contained in:
parent
0fa20d006d
commit
f955cb3d9c
3 changed files with 45 additions and 0 deletions
|
|
@ -16,6 +16,7 @@ const std::string CBaseChainParams::SIGNET = "signet";
|
|||
const std::string CBaseChainParams::REGTEST = "regtest";
|
||||
const std::string CBaseChainParams::LIQUID1 = "liquidv1";
|
||||
const std::string CBaseChainParams::LIQUID1TEST = "liquidv1test";
|
||||
const std::string CBaseChainParams::LIQUIDTESTNET = "liquidtestnet";
|
||||
|
||||
const std::string CBaseChainParams::DEFAULT = CBaseChainParams::LIQUID1;
|
||||
|
||||
|
|
@ -89,6 +90,8 @@ std::unique_ptr<CBaseChainParams> CreateBaseChainParams(const std::string& chain
|
|||
return std::make_unique<CBaseChainParams>("liquidv1", 7041, 8332, 37041);
|
||||
} else if (chain == CBaseChainParams::LIQUID1TEST) {
|
||||
return std::make_unique<CBaseChainParams>("liquidv1test", 7040, 18332, 37040); // Use same ports as customparams
|
||||
} else if (chain == CBaseChainParams::LIQUIDTESTNET) {
|
||||
return std::make_unique<CBaseChainParams>(chain, 7039, 18331, 37039);
|
||||
}
|
||||
|
||||
// ELEMENTS:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue