@@ -13,7 +13,7 @@ static const mc_OneMultichainParam MultichainParamArray[] =
1313 { "chaindescription" , "chain-description" ,
1414 MC_PRM_STRING | MC_PRM_USER | MC_PRM_CLONE | MC_PRM_SPECIAL ,256 , 0 , 0 , 0 , 0.0 , 10001 , 0 , "-mc-chaindescription" ,
1515 "rootstreamname" ,"" ,
16- "Chain description, embedded in genesis block coinbase, max 256 chars." },
16+ "Chain description, embedded in genesis block coinbase, max 90 chars." },
1717 { "rootstreamname" , "root-stream-name" ,
1818 MC_PRM_STRING | MC_PRM_USER | MC_PRM_CLONE | MC_PRM_SPECIAL ,256 , 0 , 0 , 0 , 0.0 , 10006 , 0 , "-mc-rootstreamname" ,
1919 "rootstreamopen" ,"" ,
@@ -27,13 +27,17 @@ static const mc_OneMultichainParam MultichainParamArray[] =
2727 "targetblocktime" ,"" ,
2828 "Content of the 'testnet' field of API responses, for compatibility." },
2929 { "targetblocktime" , "target-block-time" ,
30- MC_PRM_UINT32 | MC_PRM_USER | MC_PRM_CLONE , -1 , 15 , 2 , 86400 , 0.0 , 10001 , 0 , "-mc-targetblocktime" ,
30+ MC_PRM_UINT32 | MC_PRM_USER | MC_PRM_CLONE | MC_PRM_TIME , -1 , 15 , 2 , 86400 , 0.0 , 10001 , 0 , "-mc-targetblocktime" ,
3131 "maximumblocksize" ,"" ,
3232 "Target time between blocks (transaction confirmation delay), seconds." },
3333 { "maximumblocksize" , "maximum-block-size" ,
34- MC_PRM_UINT32 | MC_PRM_USER | MC_PRM_CLONE , -1 , 8388608 , 1000 ,1000000000 , 0.0 , 10001 , 0 , "-mc-maximumblocksize" ,
35- "defaultnetworkport " ,"" ,
34+ MC_PRM_UINT32 | MC_PRM_USER | MC_PRM_CLONE , -1 , 8388608 , 5000 ,1000000000 , 0.0 , 10001 , 0 , "-mc-maximumblocksize" ,
35+ "timingupgrademingap " ,"" ,
3636 "Maximum block size in bytes." },
37+ { "timingupgrademingap" , "timing-upgrade-min-gap" ,
38+ MC_PRM_UINT32 | MC_PRM_USER | MC_PRM_CLONE | MC_PRM_HIDDEN , -1 , 100 , 1 , 31536000 , 0.0 , 20002 , 0 , "-mc-timingupgrademingap" ,
39+ "defaultnetworkport" ,"" ,
40+ "Minimal gap between time-related parameter upgrades. In blocks." },
3741 { "defaultnetworkport" , "default-network-port" ,
3842 MC_PRM_UINT32 | MC_PRM_GENERATED | MC_PRM_CLONE , -1 , MC_DEFAULT_NETWORK_PORT , 1024 , 65535 , 0.0 , 10001 , 0 , "-mc-defaultnetworkport" ,
3943 "defaultrpcport" ,"" ,
@@ -159,7 +163,7 @@ static const mc_OneMultichainParam MultichainParamArray[] =
159163 "firstblockreward" ,"Native blockchain currency (likely not required)" ,
160164 "Initial block mining reward in raw native currency units." },
161165 { "rewardhalvinginterval" , "reward-halving-interval" ,
162- MC_PRM_UINT32 | MC_PRM_USER | MC_PRM_CLONE , -1 , 52560000 , 60 ,4294967295U , 0.0 , 10001 , 0 , "-mc-rewardhalvinginterval" ,
166+ MC_PRM_UINT32 | MC_PRM_USER | MC_PRM_CLONE , -1 , 52560000 , 60 ,1000000000 , 0.0 , 10001 , 0 , "-mc-rewardhalvinginterval" ,
163167 "rewardspendabledelay" ,"" ,
164168 "Interval for halving of mining rewards, in blocks." },
165169 { "rewardspendabledelay" , "reward-spendable-delay" ,
0 commit comments