aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_core/cryptonote_core.cpp
diff options
context:
space:
mode:
authorAlexander Blair <snipa@jagtech.io>2020-03-27 12:16:29 -0700
committerAlexander Blair <snipa@jagtech.io>2020-03-27 12:16:30 -0700
commita22cf5de1bb044bfa4bd7af2036c0f8276c6dcf7 (patch)
treecc0d489d07f8eabcd632e8504f0d71545aff6b87 /src/cryptonote_core/cryptonote_core.cpp
parent338824add3211db3cb2342ffceb1111b1482c3b2 (diff)
parentaa93e3886211621e8c3367954b35260df731fc72 (diff)
downloadmonzero-core-a22cf5de1bb044bfa4bd7af2036c0f8276c6dcf7.tar.gz
monzero-core-a22cf5de1bb044bfa4bd7af2036c0f8276c6dcf7.tar.xz
monzero-core-a22cf5de1bb044bfa4bd7af2036c0f8276c6dcf7.zip
Merge pull request #6275
aa93e388 p2p: remove old debug commands (Aaron Hook)
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())