aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/message_data_structs.h
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2019-04-01 17:19:10 +0200
committerRiccardo Spagni <ric@spagni.net>2019-04-01 17:19:10 +0200
commite55b3f9dda39a5fe6a7fff86a50125cec15596a0 (patch)
treeaaf0dcfd82ea9fda8b428a788d6b732c4ee43d90 /src/rpc/message_data_structs.h
parentMerge pull request #5359 (diff)
parentMake difficulty 128 bit instead of 64 bit (diff)
downloadmonero-e55b3f9dda39a5fe6a7fff86a50125cec15596a0.tar.xz
Merge pull request #5239
91f4c7f4 Make difficulty 128 bit instead of 64 bit (moneromooo-monero)
Diffstat (limited to 'src/rpc/message_data_structs.h')
-rw-r--r--src/rpc/message_data_structs.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/rpc/message_data_structs.h b/src/rpc/message_data_structs.h
index 26c5038f6..2a43811cf 100644
--- a/src/rpc/message_data_structs.h
+++ b/src/rpc/message_data_structs.h
@@ -30,6 +30,7 @@
#include "crypto/hash.h"
#include "cryptonote_basic/cryptonote_basic.h"
+#include "cryptonote_basic/difficulty.h"
#include "ringct/rctSigs.h"
#include "rpc/rpc_handler.h"
@@ -165,6 +166,7 @@ namespace rpc
uint64_t height;
uint64_t depth;
crypto::hash hash;
+ cryptonote::difficulty_type wide_difficulty;
uint64_t difficulty;
uint64_t reward;
};
@@ -173,6 +175,7 @@ namespace rpc
{
uint64_t height;
uint64_t target_height;
+ cryptonote::difficulty_type wide_difficulty;
uint64_t difficulty;
uint64_t target;
uint64_t tx_count;
@@ -187,6 +190,7 @@ namespace rpc
bool stagenet;
std::string nettype;
crypto::hash top_block_hash;
+ cryptonote::difficulty_type wide_cumulative_difficulty;
uint64_t cumulative_difficulty;
uint64_t block_size_limit;
uint64_t block_weight_limit;