mirror of
https://github.com/monero-project/monero.git
synced 2025-07-23 05:50:46 -04:00
Merge pull request #1534
1607cb7e
tx_pool: better block template filling algorithm (moneromooo-monero)9731b4e5
rpc: add block size to GET_BLOCK_HEADER RPC (moneromooo-monero)9188b346
rpc: add current block size to the getinfo call (moneromooo-monero)
This commit is contained in:
commit
15dcc5afd3
6 changed files with 46 additions and 22 deletions
|
@ -473,8 +473,9 @@ bool t_rpc_command_executor::print_blockchain_info(uint64_t start_block_index, u
|
|||
if (!first)
|
||||
std::cout << std::endl;
|
||||
std::cout
|
||||
<< "height: " << header.height << ", timestamp: " << header.timestamp << ", difficulty: " << header.difficulty
|
||||
<< ", size: " << header.block_size << std::endl
|
||||
<< "major version: " << (unsigned)header.major_version << ", minor version: " << (unsigned)header.minor_version << std::endl
|
||||
<< "height: " << header.height << ", timestamp: " << header.timestamp << ", difficulty: " << header.difficulty << 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;
|
||||
first = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue