mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-17 19:03:42 +01:00
elements: Add liquidv1 mainnet chainparams
Signed-off-by: Christian Decker <decker.christian@gmail.com>
This commit is contained in:
parent
17af57e504
commit
9e333f2416
@ -167,6 +167,26 @@ const struct chainparams networks[] = {
|
||||
.bip32_key_version = {.bip32_pubkey_version = BIP32_VER_TEST_PUBLIC,
|
||||
.bip32_privkey_version = BIP32_VER_TEST_PRIVATE},
|
||||
.is_elements = true},
|
||||
{.network_name = "liquid",
|
||||
.bip173_name = "ex",
|
||||
.genesis_blockhash = {{{.u.u8 = {0x14, 0x66, 0x27, 0x58, 0x36, 0x22, 0x0d,
|
||||
0xb2, 0x94, 0x4c, 0xa0, 0x59, 0xa3, 0xa1,
|
||||
0x0e, 0xf6, 0xfd, 0x2e, 0xa6, 0x84, 0xb0,
|
||||
0x68, 0x8d, 0x2c, 0x37, 0x92, 0x96, 0x88,
|
||||
0x8a, 0x20, 0x60, 0x03}}}},
|
||||
.rpc_port = 7041,
|
||||
.cli = "elements-cli",
|
||||
.cli_args = "-chain=liquidv1",
|
||||
.dust_limit = {546},
|
||||
.max_funding = AMOUNT_SAT_INIT((1 << 24) - 1),
|
||||
.max_payment = AMOUNT_MSAT_INIT(0xFFFFFFFFULL),
|
||||
.when_lightning_became_cool = 1,
|
||||
.p2pkh_version = 57,
|
||||
.p2sh_version = 39,
|
||||
.testnet = false,
|
||||
.bip32_key_version = {.bip32_pubkey_version = BIP32_VER_MAIN_PUBLIC,
|
||||
.bip32_privkey_version = BIP32_VER_MAIN_PRIVATE},
|
||||
.is_elements = true},
|
||||
};
|
||||
|
||||
const struct chainparams *chainparams_for_network(const char *network_name)
|
||||
|
Loading…
Reference in New Issue
Block a user