Skip to content

Commit 0787900

Browse files
ryan-shawaaruel
authored andcommitted
Allium: Add main net fork at 58671 (#41)
* Switch mainnet at block 58671
1 parent 5cc3f05 commit 0787900

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/chainparams.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,9 @@ class CChainParams
8686
void UpdateVersionBitsParameters(Consensus::DeploymentPos d, int64_t nStartTime, int64_t nTimeout);
8787
int GetPoWAlgo(int nHeight) const {
8888
if (strNetworkID == CBaseChainParams::TESTNET && nHeight > 10){
89-
return ALGO_ALLIUM ;
89+
return ALGO_ALLIUM ;
90+
} else if(strNetworkID == CBaseChainParams::MAIN && nHeight > 58670){ // Approx 19:00 2018-02-16 UTC
91+
return ALGO_ALLIUM;
9092
} else {
9193
return ALGO_SCRYPT;
9294
}

0 commit comments

Comments
 (0)