diff options
author | Riccardo Spagni <ric@spagni.net> | 2017-12-28 08:59:31 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2017-12-28 08:59:31 +0200 |
commit | 3bbe2481ce8d6b5cd01f82496254bba477c8edad (patch) | |
tree | a82729c92fe6c2781146d52f3465efa24ac75be1 | |
parent | Merge pull request #2945 (diff) | |
parent | daemon: print num txes in print_bc (diff) | |
download | monero-3bbe2481ce8d6b5cd01f82496254bba477c8edad.tar.xz |
Merge pull request #2946
1a686bf8 daemon: print num txes in print_bc (moneromooo-monero)
-rw-r--r-- | src/daemon/rpc_command_executor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/daemon/rpc_command_executor.cpp b/src/daemon/rpc_command_executor.cpp index 8aca668ad..2e2411708 100644 --- a/src/daemon/rpc_command_executor.cpp +++ b/src/daemon/rpc_command_executor.cpp @@ -538,7 +538,7 @@ bool t_rpc_command_executor::print_blockchain_info(uint64_t start_block_index, u std::cout << std::endl; std::cout << "height: " << header.height << ", timestamp: " << header.timestamp << ", difficulty: " << header.difficulty - << ", size: " << header.block_size << std::endl + << ", size: " << header.block_size << ", 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; |