mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-18 21:35:11 +01:00
bitcoin: Add the cli_min_supported_version
field in chainparams
Set the min supported numeric version of cli as 150000.
This commit is contained in:
parent
201b531eb6
commit
cdbfa4229c
@ -20,6 +20,7 @@ const struct chainparams networks[] = {
|
||||
.rpc_port = 8332,
|
||||
.cli = "bitcoin-cli",
|
||||
.cli_args = NULL,
|
||||
.cli_min_supported_version = 150000,
|
||||
.dust_limit = { 546 },
|
||||
/* BOLT #2:
|
||||
*
|
||||
@ -42,6 +43,7 @@ const struct chainparams networks[] = {
|
||||
.rpc_port = 18332,
|
||||
.cli = "bitcoin-cli",
|
||||
.cli_args = "-regtest",
|
||||
.cli_min_supported_version = 150000,
|
||||
.dust_limit = { 546 },
|
||||
.max_funding = AMOUNT_SAT_INIT((1 << 24) - 1),
|
||||
.max_payment = AMOUNT_MSAT_INIT(0xFFFFFFFFULL),
|
||||
@ -57,6 +59,7 @@ const struct chainparams networks[] = {
|
||||
.rpc_port = 38332,
|
||||
.cli = "bitcoin-cli",
|
||||
.cli_args = "-signet",
|
||||
.cli_min_supported_version = 150000,
|
||||
.dust_limit = { 546 },
|
||||
.max_funding = AMOUNT_SAT_INIT((1 << 24) - 1),
|
||||
.max_payment = AMOUNT_MSAT_INIT(0xFFFFFFFFULL),
|
||||
@ -72,6 +75,7 @@ const struct chainparams networks[] = {
|
||||
.rpc_port = 18332,
|
||||
.cli = "bitcoin-cli",
|
||||
.cli_args = "-testnet",
|
||||
.cli_min_supported_version = 150000,
|
||||
.dust_limit = { 546 },
|
||||
.max_funding = AMOUNT_SAT_INIT((1 << 24) - 1),
|
||||
.max_payment = AMOUNT_MSAT_INIT(0xFFFFFFFFULL),
|
||||
@ -86,6 +90,7 @@ const struct chainparams networks[] = {
|
||||
.rpc_port = 9332,
|
||||
.cli = "litecoin-cli",
|
||||
.cli_args = NULL,
|
||||
.cli_min_supported_version = 150000,
|
||||
.dust_limit = { 100000 },
|
||||
.max_funding = AMOUNT_SAT_INIT(60 * ((1 << 24) - 1)),
|
||||
.max_payment = AMOUNT_MSAT_INIT(60 * 0xFFFFFFFFULL),
|
||||
@ -101,6 +106,7 @@ const struct chainparams networks[] = {
|
||||
.rpc_port = 19332,
|
||||
.cli = "litecoin-cli",
|
||||
.cli_args = "-testnet",
|
||||
.cli_min_supported_version = 150000,
|
||||
.dust_limit = { 100000 },
|
||||
.max_funding = AMOUNT_SAT_INIT(60 * ((1 << 24) - 1)),
|
||||
.max_payment = AMOUNT_MSAT_INIT(60 * 0xFFFFFFFFULL),
|
||||
|
@ -23,6 +23,8 @@ struct chainparams {
|
||||
const int rpc_port;
|
||||
const char *cli;
|
||||
const char *cli_args;
|
||||
/* The min numeric version of cli supported */
|
||||
const u64 cli_min_supported_version;
|
||||
const struct amount_sat dust_limit;
|
||||
const struct amount_sat max_funding;
|
||||
const struct amount_msat max_payment;
|
||||
|
Loading…
Reference in New Issue
Block a user