mainParams

This commit is contained in:
jl777
2019-02-09 03:51:36 -11:00
parent cec11785df
commit d103970fed

View File

@@ -278,8 +278,8 @@ void *chainparams_commandline(void *ptr)
{ {
if ( ASSETCHAINS_BLOCKTIME != 60 ) if ( ASSETCHAINS_BLOCKTIME != 60 )
{ {
consensusParams.nMaxFutureBlockTime = 7 * ASSETCHAINS_BLOCKTIME; // 7 blocks mainParams.nMaxFutureBlockTime = 7 * ASSETCHAINS_BLOCKTIME; // 7 blocks
consensusParams.nPowTargetSpacing = ASSETCHAINS_BLOCKTIME; mainParams.nPowTargetSpacing = ASSETCHAINS_BLOCKTIME;
} }
mainParams.SetDefaultPort(ASSETCHAINS_P2PPORT); mainParams.SetDefaultPort(ASSETCHAINS_P2PPORT);
if ( ASSETCHAINS_RPCPORT == 0 ) if ( ASSETCHAINS_RPCPORT == 0 )