Skip to content

Commit

Permalink
Allium: Add main net fork at 58671 (#41)
Browse files Browse the repository at this point in the history
* Switch mainnet at block 58671
  • Loading branch information
ryan-shaw authored and aaruel committed Feb 12, 2018
1 parent 5cc3f05 commit 0787900
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/chainparams.h
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,9 @@ class CChainParams
void UpdateVersionBitsParameters(Consensus::DeploymentPos d, int64_t nStartTime, int64_t nTimeout);
int GetPoWAlgo(int nHeight) const {
if (strNetworkID == CBaseChainParams::TESTNET && nHeight > 10){
return ALGO_ALLIUM ;
return ALGO_ALLIUM ;
} else if(strNetworkID == CBaseChainParams::MAIN && nHeight > 58670){ // Approx 19:00 2018-02-16 UTC
return ALGO_ALLIUM;
} else {
return ALGO_SCRYPT;
}
Expand Down

0 comments on commit 0787900

Please sign in to comment.