Parse full 128-bit difficulty from monerod

This commit is contained in:
SChernykh
2021-09-03 22:28:54 +02:00
parent 661d596107
commit 08d2fbdbd1
3 changed files with 34 additions and 6 deletions

View File

@@ -258,9 +258,9 @@ struct MinerData
struct ChainMain
{
FORCEINLINE ChainMain() : difficulty(0), height(0), timestamp(0), reward(0), id() {}
FORCEINLINE ChainMain() : difficulty(), height(0), timestamp(0), reward(0), id() {}
uint64_t difficulty;
difficulty_type difficulty;
uint64_t height;
uint64_t timestamp;
uint64_t reward;