From 344092edb524aff416890dd69dff069714a558cf Mon Sep 17 00:00:00 2001 From: swordlet Date: Fri, 23 Apr 2021 13:50:30 +0800 Subject: [PATCH] display randomx seed in miner --- RandomX_Miner/XDagCore/XTaskProcessor.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/RandomX_Miner/XDagCore/XTaskProcessor.cpp b/RandomX_Miner/XDagCore/XTaskProcessor.cpp index 9ffac35..f9c7744 100644 --- a/RandomX_Miner/XDagCore/XTaskProcessor.cpp +++ b/RandomX_Miner/XDagCore/XTaskProcessor.cpp @@ -91,6 +91,7 @@ void XTaskProcessor::SwitchTask() exit(-1); } } + std::cout << "SEED:" << std::hex << newKey[3]<< std::hex << newKey[2]<< std::hex << newKey[1]<< std::hex << newKey[0] << std::endl; randomx_init_cache(_cache, newKey, sizeof(xdag_hash_t)); uint32_t datasetItemCount = randomx_dataset_item_count(); InitDataset(_dataset, _cache, 4, datasetItemCount);