diff options
author | Riccardo Spagni <ric@spagni.net> | 2018-12-04 17:28:24 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2018-12-04 17:28:24 +0200 |
commit | e282e9fa407b9a6dd44a72354142fcaaeb8c97b8 (patch) | |
tree | 7762d868657119fa9c9ca0ae16981cf5fc3a3778 /src/rpc/daemon_handler.cpp | |
parent | Merge pull request #4877 (diff) | |
parent | rpc: add version to get_info (diff) | |
download | monero-e282e9fa407b9a6dd44a72354142fcaaeb8c97b8.tar.xz |
Merge pull request #4878
517f25ef rpc: add version to get_info (Jethro Grassie)
Diffstat (limited to 'src/rpc/daemon_handler.cpp')
-rw-r--r-- | src/rpc/daemon_handler.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rpc/daemon_handler.cpp b/src/rpc/daemon_handler.cpp index 64a5cc858..e2885dbb5 100644 --- a/src/rpc/daemon_handler.cpp +++ b/src/rpc/daemon_handler.cpp @@ -34,6 +34,7 @@ #include "cryptonote_basic/cryptonote_format_utils.h" #include "cryptonote_basic/blobdatatype.h" #include "ringct/rctSigs.h" +#include "version.h" namespace cryptonote { @@ -437,6 +438,7 @@ namespace rpc res.info.block_size_limit = res.info.block_weight_limit = m_core.get_blockchain_storage().get_current_cumulative_block_weight_limit(); res.info.block_size_median = res.info.block_weight_median = m_core.get_blockchain_storage().get_current_cumulative_block_weight_median(); res.info.start_time = (uint64_t)m_core.get_start_time(); + res.info.version = MONERO_VERSION; res.status = Message::STATUS_OK; res.error_details = ""; |