mirror of
https://github.com/jwinterm/myriadcoin.git
synced 2026-10-19 05:58:38 +02:00
set hardfork block numbers and remove auxpow on qubit
This commit is contained in:
+3
-3
@@ -43,11 +43,11 @@ static const int BLOCK_VERSION_CHAIN_START = (1 << 16);
|
||||
static const int BLOCK_VERSION_CHAIN_END = (1 << 30);
|
||||
|
||||
static const int AUXPOW_CHAIN_ID = 0x005A;
|
||||
static const int AUXPOW_START_MAINNET = 1333000;
|
||||
static const int AUXPOW_START_MAINNET = 1400000;
|
||||
static const int AUXPOW_START_TESTNET = 1;
|
||||
|
||||
static const int Phase2Timespan_Start = 1333010;
|
||||
static const int GeoAvgWork_Start = 1333020;
|
||||
static const int Phase2Timespan_Start = 1400010;
|
||||
static const int GeoAvgWork_Start = 1400020;
|
||||
|
||||
inline int GetAlgo(int nVersion)
|
||||
{
|
||||
|
||||
+1
-1
@@ -1524,7 +1524,7 @@ bool CBlockHeader::CheckProofOfWork(int nHeight) const
|
||||
{
|
||||
int algo = GetAlgo();
|
||||
if ( (nHeight >= GetAuxPowStartBlock()) &&
|
||||
((algo == ALGO_SHA256D) || (algo == ALGO_SCRYPT) || (algo == ALGO_QUBIT)) )
|
||||
((algo == ALGO_SHA256D) || (algo == ALGO_SCRYPT))
|
||||
{
|
||||
// Prevent same work from being submitted twice:
|
||||
// - this block must have our chain ID
|
||||
|
||||
Reference in New Issue
Block a user