aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_core/cryptonote_core.cpp
diff options
context:
space:
mode:
authorThomas Winget <tewinget@gmail.com>2015-10-07 22:28:54 -0400
committerThomas Winget <tewinget@gmail.com>2016-03-24 03:39:58 -0400
commitc835215ea9756bf374b4cc7a8e7a95699b00de1d (patch)
treef95b6c66621920755e55726c7f47092194c63f03 /src/cryptonote_core/cryptonote_core.cpp
parent50dba6d30110336047cc45e5bbf9b8e59639277c (diff)
downloadmonzero-core-c835215ea9756bf374b4cc7a8e7a95699b00de1d.tar.gz
monzero-core-c835215ea9756bf374b4cc7a8e7a95699b00de1d.tar.xz
monzero-core-c835215ea9756bf374b4cc7a8e7a95699b00de1d.zip
remove defunct code from cryptonote::core
Diffstat (limited to 'src/cryptonote_core/cryptonote_core.cpp')
-rw-r--r--src/cryptonote_core/cryptonote_core.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/cryptonote_core/cryptonote_core.cpp b/src/cryptonote_core/cryptonote_core.cpp
index eb9718958..c31be5acf 100644
--- a/src/cryptonote_core/cryptonote_core.cpp
+++ b/src/cryptonote_core/cryptonote_core.cpp
@@ -634,11 +634,6 @@ namespace cryptonote
return m_blockchain_storage.get_total_transactions();
}
//-----------------------------------------------------------------------------------------------
- //bool core::get_outs(uint64_t amount, std::list<crypto::public_key>& pkeys)
- //{
- // return m_blockchain_storage.get_outs(amount, pkeys);
- //}
- //-----------------------------------------------------------------------------------------------
bool core::add_new_tx(const transaction& tx, const crypto::hash& tx_hash, const crypto::hash& tx_prefix_hash, size_t blob_size, tx_verification_context& tvc, bool keeped_by_block, bool relayed)
{
if(m_mempool.have_tx(tx_hash))
@@ -770,10 +765,6 @@ namespace cryptonote
{
m_miner.on_synchronized();
}
- //bool core::get_backward_blocks_sizes(uint64_t from_height, std::vector<size_t>& sizes, size_t count)
- //{
- // return m_blockchain_storage.get_backward_blocks_sizes(from_height, sizes, count);
- //}
//-----------------------------------------------------------------------------------------------
bool core::add_new_block(const block& b, block_verification_context& bvc)
{
@@ -894,10 +885,6 @@ namespace cryptonote
return m_blockchain_storage.get_block_by_hash(h, blk);
}
//-----------------------------------------------------------------------------------------------
- //void core::get_all_known_block_ids(std::list<crypto::hash> &main, std::list<crypto::hash> &alt, std::list<crypto::hash> &invalid) {
- // m_blockchain_storage.get_all_known_block_ids(main, alt, invalid);
- //}
- //-----------------------------------------------------------------------------------------------
std::string core::print_pool(bool short_format) const
{
return m_mempool.print_pool(short_format);