aboutsummaryrefslogtreecommitdiff
path: root/src/daemon/rpc_command_executor.cpp
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2019-05-07 17:31:45 +0200
committerRiccardo Spagni <ric@spagni.net>2019-05-07 17:31:45 +0200
commit2d04b0e50089639e471312c580a81c5e378e8880 (patch)
tree7692fc200a1c7a89c9c7ea5fbf6a7aacb91eb070 /src/daemon/rpc_command_executor.cpp
parent9d91301faa27e5ed94dab99c5a157baa4ffb47da (diff)
parenta4c4a2d8aa921b6eba0ac4c57b7a55a1e895a6e3 (diff)
downloadmonzero-core-2d04b0e50089639e471312c580a81c5e378e8880.tar.gz
monzero-core-2d04b0e50089639e471312c580a81c5e378e8880.tar.xz
monzero-core-2d04b0e50089639e471312c580a81c5e378e8880.zip
Merge pull request #5499
a4c4a2d8 blockchain: keep a rolling long term block weight median (moneromooo-monero)
Diffstat (limited to 'src/daemon/rpc_command_executor.cpp')
-rw-r--r--src/daemon/rpc_command_executor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/daemon/rpc_command_executor.cpp b/src/daemon/rpc_command_executor.cpp
index 186296dc9..151baa33f 100644
--- a/src/daemon/rpc_command_executor.cpp
+++ b/src/daemon/rpc_command_executor.cpp
@@ -722,7 +722,7 @@ bool t_rpc_command_executor::print_blockchain_info(uint64_t start_block_index, u
tools::msg_writer() << "" << std::endl;
tools::msg_writer()
<< "height: " << header.height << ", timestamp: " << header.timestamp << " (" << tools::get_human_readable_timestamp(header.timestamp) << ")"
- << ", size: " << header.block_size << ", weight: " << header.block_weight << ", transactions: " << header.num_txes << std::endl
+ << ", size: " << header.block_size << ", weight: " << header.block_weight << " (long term " << header.long_term_weight << "), transactions: " << header.num_txes << std::endl
<< "major version: " << (unsigned)header.major_version << ", minor version: " << (unsigned)header.minor_version << std::endl
<< "block id: " << header.hash << ", previous block id: " << header.prev_hash << std::endl
<< "difficulty: " << header.difficulty << ", nonce " << header.nonce << ", reward " << cryptonote::print_money(header.reward) << std::endl;