diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-09-13 12:41:36 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-09-13 12:41:59 +0000 |
commit | 4f81cd3a3ce75a3a125ae7cb99b17683fd7e809f (patch) | |
tree | 44a41f9ee487bb91bc1b5dcfd09efdae2ae77582 /src/rpc/core_rpc_server_commands_defs.h | |
parent | Merge pull request #4219 (diff) | |
download | monero-4f81cd3a3ce75a3a125ae7cb99b17683fd7e809f.tar.xz |
rpc: add cumulative difficulty in block header data
Diffstat (limited to 'src/rpc/core_rpc_server_commands_defs.h')
-rw-r--r-- | src/rpc/core_rpc_server_commands_defs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rpc/core_rpc_server_commands_defs.h b/src/rpc/core_rpc_server_commands_defs.h index da4c8b6cf..8e2cec706 100644 --- a/src/rpc/core_rpc_server_commands_defs.h +++ b/src/rpc/core_rpc_server_commands_defs.h @@ -1197,6 +1197,7 @@ namespace cryptonote uint64_t depth; std::string hash; difficulty_type difficulty; + difficulty_type cumulative_difficulty; uint64_t reward; uint64_t block_size; uint64_t block_weight; @@ -1214,6 +1215,7 @@ namespace cryptonote KV_SERIALIZE(depth) KV_SERIALIZE(hash) KV_SERIALIZE(difficulty) + KV_SERIALIZE(cumulative_difficulty) KV_SERIALIZE(reward) KV_SERIALIZE(block_size) KV_SERIALIZE_OPT(block_weight, (uint64_t)0) |