@@ -99,7 +99,7 @@ void UpdateTime(CBlockHeader* pblock, const Consensus::Params& consensusParams,
|
|||||||
}
|
}
|
||||||
|
|
||||||
#define ASSETCHAINS_MINHEIGHT 100
|
#define ASSETCHAINS_MINHEIGHT 100
|
||||||
#define ROUNDROBIN_DELAY 58
|
#define ROUNDROBIN_DELAY 59
|
||||||
extern int32_t ASSETCHAINS_SEED,IS_KOMODO_NOTARY,USE_EXTERNAL_PUBKEY,KOMODO_CHOSEN_ONE,ASSETCHAIN_INIT,KOMODO_INITDONE,KOMODO_ON_DEMAND,KOMODO_INITDONE;
|
extern int32_t ASSETCHAINS_SEED,IS_KOMODO_NOTARY,USE_EXTERNAL_PUBKEY,KOMODO_CHOSEN_ONE,ASSETCHAIN_INIT,KOMODO_INITDONE,KOMODO_ON_DEMAND,KOMODO_INITDONE;
|
||||||
extern char ASSETCHAINS_SYMBOL[16];
|
extern char ASSETCHAINS_SYMBOL[16];
|
||||||
extern std::string NOTARY_PUBKEY;
|
extern std::string NOTARY_PUBKEY;
|
||||||
@@ -661,7 +661,7 @@ void static BitcoinMiner(CWallet *pwallet)
|
|||||||
int32_t nseconds = Mining_start+ROUNDROBIN_DELAY-time(NULL);
|
int32_t nseconds = Mining_start+ROUNDROBIN_DELAY-time(NULL);
|
||||||
if ( nseconds > 0 )
|
if ( nseconds > 0 )
|
||||||
sleep(nseconds);
|
sleep(nseconds);
|
||||||
MilliSleep((rand() % 5000) + 1);
|
MilliSleep((rand() % 3700) + 1);
|
||||||
}
|
}
|
||||||
KOMODO_CHOSEN_ONE = 1;
|
KOMODO_CHOSEN_ONE = 1;
|
||||||
// Found a solution
|
// Found a solution
|
||||||
|
|||||||
Reference in New Issue
Block a user