aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_core/cryptonote_core.cpp
diff options
context:
space:
mode:
authorAaron Hook <ahook@protonmail.com>2020-03-20 22:09:44 -0700
committerAaron Hook <ahook@protonmail.com>2020-03-20 22:09:44 -0700
commitaa93e3886211621e8c3367954b35260df731fc72 (patch)
treee07d0ebb38dbbe3c915b2871c7a81b7531cd99db /src/cryptonote_core/cryptonote_core.cpp
parentd1cf16364fb1901c2940ce66024688ea3fe3fc48 (diff)
downloadmonzero-core-aa93e3886211621e8c3367954b35260df731fc72.tar.gz
monzero-core-aa93e3886211621e8c3367954b35260df731fc72.tar.xz
monzero-core-aa93e3886211621e8c3367954b35260df731fc72.zip
p2p: remove old debug commands
Diffstat (limited to 'src/cryptonote_core/cryptonote_core.cpp')
-rw-r--r--src/cryptonote_core/cryptonote_core.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/cryptonote_core/cryptonote_core.cpp b/src/cryptonote_core/cryptonote_core.cpp
index 8b1613b4b..8510e7e98 100644
--- a/src/cryptonote_core/cryptonote_core.cpp
+++ b/src/cryptonote_core/cryptonote_core.cpp
@@ -1056,17 +1056,6 @@ namespace cryptonote
return handle_incoming_txs({std::addressof(tx_blob), 1}, {std::addressof(tvc), 1}, tx_relay, relayed);
}
//-----------------------------------------------------------------------------------------------
- bool core::get_stat_info(core_stat_info& st_inf) const
- {
- st_inf.mining_speed = m_miner.get_speed();
- st_inf.alternative_blocks = m_blockchain_storage.get_alternative_blocks_count();
- st_inf.blockchain_height = m_blockchain_storage.get_current_blockchain_height();
- st_inf.tx_pool_size = m_mempool.get_transactions_count();
- st_inf.top_block_id_str = epee::string_tools::pod_to_hex(m_blockchain_storage.get_tail_id());
- return true;
- }
-
- //-----------------------------------------------------------------------------------------------
bool core::check_tx_semantic(const transaction& tx, bool keeped_by_block) const
{
if(!tx.vin.size())