Correctly link against librandomx in build
This commit is contained in:
@@ -116,6 +116,7 @@ public:
|
||||
};
|
||||
|
||||
extern int8_t ASSETCHAINS_ADAPTIVEPOW;
|
||||
extern uint32_t ASSETCHAINS_RANDOMX;
|
||||
|
||||
void UpdateTime(CBlockHeader* pblock, const Consensus::Params& consensusParams, const CBlockIndex* pindexPrev)
|
||||
{
|
||||
@@ -1025,8 +1026,9 @@ void static RandomXMiner()
|
||||
miningTimer.start();
|
||||
|
||||
try {
|
||||
if ( SMART_CHAIN_SYMBOL[0] != 0 )
|
||||
fprintf(stderr,"try %s Mining with %s\n",SMART_CHAIN_SYMBOL,solver.c_str());
|
||||
if ( SMART_CHAIN_SYMBOL[0] != 0 ) {
|
||||
fprintf(stderr,"trying %s Mining with randomx\n",SMART_CHAIN_SYMBOL);
|
||||
}
|
||||
while (true)
|
||||
{
|
||||
if (chainparams.MiningRequiresPeers()) {
|
||||
@@ -1109,7 +1111,7 @@ void static RandomXMiner()
|
||||
}
|
||||
IncrementExtraNonce(pblock, pindexPrev, nExtraNonce);
|
||||
//fprintf(stderr,"Running HushMiner.%s with %u transactions in block\n",solver.c_str(),(int32_t)pblock->vtx.size());
|
||||
LogPrintf("Running HushRandomXMiner with %u transactions in block (%u bytes)\n",,pblock->vtx.size(),::GetSerializeSize(*pblock,SER_NETWORK,PROTOCOL_VERSION));
|
||||
LogPrintf("Running HushRandomXMiner with %u transactions in block (%u bytes)\n",pblock->vtx.size(),::GetSerializeSize(*pblock,SER_NETWORK,PROTOCOL_VERSION));
|
||||
|
||||
// Search
|
||||
uint8_t pubkeys[66][33]; arith_uint256 bnMaxPoSdiff; uint32_t blocktimes[66]; int mids[256],nonzpkeys,i,j,externalflag; uint32_t savebits; int64_t nStart = GetTime();
|
||||
|
||||
Reference in New Issue
Block a user