simplewallet: new net_stats command

displays total sent and received bytes
This commit is contained in:
moneromooo-monero
2019-04-11 10:46:41 +00:00
parent 19e37c05d6
commit 9f8dc4ce51
6 changed files with 56 additions and 2 deletions
+10
View File
@@ -12969,4 +12969,14 @@ void wallet2::finish_rescan_bc_keep_key_images(uint64_t transfer_height, const c
m_transfers[it->second].m_key_image_known = true;
}
}
//----------------------------------------------------------------------------------------------------
uint64_t wallet2::get_bytes_sent() const
{
return m_http_client.get_bytes_sent();
}
//----------------------------------------------------------------------------------------------------
uint64_t wallet2::get_bytes_received() const
{
return m_http_client.get_bytes_received();
}
}