mainParams.consensus.
This commit is contained in:
@@ -278,8 +278,8 @@ void *chainparams_commandline(void *ptr)
|
|||||||
{
|
{
|
||||||
if ( ASSETCHAINS_BLOCKTIME != 60 )
|
if ( ASSETCHAINS_BLOCKTIME != 60 )
|
||||||
{
|
{
|
||||||
mainParams.nMaxFutureBlockTime = 7 * ASSETCHAINS_BLOCKTIME; // 7 blocks
|
mainParams.consensus.nMaxFutureBlockTime = 7 * ASSETCHAINS_BLOCKTIME; // 7 blocks
|
||||||
mainParams.nPowTargetSpacing = ASSETCHAINS_BLOCKTIME;
|
mainParams.consensus.nPowTargetSpacing = ASSETCHAINS_BLOCKTIME;
|
||||||
}
|
}
|
||||||
mainParams.SetDefaultPort(ASSETCHAINS_P2PPORT);
|
mainParams.SetDefaultPort(ASSETCHAINS_P2PPORT);
|
||||||
if ( ASSETCHAINS_RPCPORT == 0 )
|
if ( ASSETCHAINS_RPCPORT == 0 )
|
||||||
|
|||||||
Reference in New Issue
Block a user