diff options
author | Riccardo Spagni <ric@spagni.net> | 2017-01-15 14:48:08 -0500 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2017-01-15 14:48:09 -0500 |
commit | 91083a43be8b6bbd3164369baad0baed21f2b05c (patch) | |
tree | bfbc77b2aaef14a96abb907d3f74c4cc9008b093 /src/rpc/core_rpc_server.cpp | |
parent | Merge pull request #1567 (diff) | |
parent | rpc: add a command to get info about the current blockchain (diff) | |
download | monero-91083a43be8b6bbd3164369baad0baed21f2b05c.tar.xz |
Merge pull request #1568
5b5017e2 rpc: add a command to get info about the current blockchain (moneromooo-monero)
Diffstat (limited to 'src/rpc/core_rpc_server.cpp')
-rw-r--r-- | src/rpc/core_rpc_server.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rpc/core_rpc_server.cpp b/src/rpc/core_rpc_server.cpp index ddf892cae..fc93b3a51 100644 --- a/src/rpc/core_rpc_server.cpp +++ b/src/rpc/core_rpc_server.cpp @@ -896,6 +896,7 @@ namespace cryptonote response.difficulty = m_core.get_blockchain_storage().block_difficulty(height); response.reward = get_block_reward(blk); response.block_size = m_core.get_blockchain_storage().get_db().get_block_size(height); + response.num_txes = blk.tx_hashes.size(); return true; } //------------------------------------------------------------------------------------------------------------------------------ |