Skip to content
This repository was archived by the owner on Jun 4, 2025. It is now read-only.

Commit 344092e

Browse files
authored
display randomx seed in miner
1 parent 423766c commit 344092e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

RandomX_Miner/XDagCore/XTaskProcessor.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ void XTaskProcessor::SwitchTask()
9191
exit(-1);
9292
}
9393
}
94+
std::cout << "SEED:" << std::hex << newKey[3]<< std::hex << newKey[2]<< std::hex << newKey[1]<< std::hex << newKey[0] << std::endl;
9495
randomx_init_cache(_cache, newKey, sizeof(xdag_hash_t));
9596
uint32_t datasetItemCount = randomx_dataset_item_count();
9697
InitDataset(_dataset, _cache, 4, datasetItemCount);

0 commit comments

Comments
 (0)