diff options
author | Riccardo Spagni <ric@spagni.net> | 2016-01-28 11:24:26 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2016-01-28 11:24:26 +0200 |
commit | afe2d1a09f1d3a119d0bb8f87f5a2da9e75c5def (patch) | |
tree | add3d9e2bcc0fc2f0aad1741a9f85547e638cd24 /src | |
parent | Merge pull request #623 (diff) | |
download | monero-afe2d1a09f1d3a119d0bb8f87f5a2da9e75c5def.tar.xz |
add received time to print_pool and print_pool_sh
Diffstat (limited to 'src')
-rw-r--r-- | src/daemon/rpc_command_executor.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/daemon/rpc_command_executor.cpp b/src/daemon/rpc_command_executor.cpp index edf04bc82..6809f68b9 100644 --- a/src/daemon/rpc_command_executor.cpp +++ b/src/daemon/rpc_command_executor.cpp @@ -596,7 +596,7 @@ bool t_rpc_command_executor::is_key_image_spent(const crypto::key_image &ki) { cryptonote::COMMAND_RPC_IS_KEY_IMAGE_SPENT::request req; cryptonote::COMMAND_RPC_IS_KEY_IMAGE_SPENT::response res; - std::string fail_message = "Problem checkking key image"; + std::string fail_message = "Problem checking key image"; req.key_images.push_back(epee::string_tools::pod_to_hex(ki)); if (m_is_rpc) @@ -663,6 +663,7 @@ bool t_rpc_command_executor::print_transaction_pool_long() { << tx_info.tx_json << std::endl << "blob_size: " << tx_info.blob_size << std::endl << "fee: " << cryptonote::print_money(tx_info.fee) << std::endl + << "receive_time: " << tx_info.receive_time << std::endl << "kept_by_block: " << (tx_info.kept_by_block ? 'T' : 'F') << std::endl << "max_used_block_height: " << tx_info.max_used_block_height << std::endl << "max_used_block_id: " << tx_info.max_used_block_id_hash << std::endl @@ -738,6 +739,7 @@ bool t_rpc_command_executor::print_transaction_pool_short() { tools::msg_writer() << "id: " << tx_info.id_hash << std::endl << "blob_size: " << tx_info.blob_size << std::endl << "fee: " << cryptonote::print_money(tx_info.fee) << std::endl + << "receive_time: " << tx_info.receive_time << std::endl << "kept_by_block: " << (tx_info.kept_by_block ? 'T' : 'F') << std::endl << "max_used_block_height: " << tx_info.max_used_block_height << std::endl << "max_used_block_id: " << tx_info.max_used_block_id_hash << std::endl |