1
0
Fork 0
forked from lthn/blockchain

removed unused code

This commit is contained in:
cryptozoidberg 2019-10-25 22:59:45 +02:00
parent ecf5183a77
commit 2e51748cfb
No known key found for this signature in database
GPG key ID: 22DEB97A54C6FDEC
4 changed files with 4 additions and 5 deletions

View file

@ -27,7 +27,7 @@ namespace currency
class bc_attachment_services_manager
{
public:
bc_attachment_services_manager(i_core_event_handler* pcore_event_handler) : m_pcore_event_handler(pcore_event_handler), m_core_runtime_config(get_default_core_runtime_config())
bc_attachment_services_manager(/* i_core_event_handler* pcore_event_handler*/) : /*m_pcore_event_handler(pcore_event_handler),*/ m_core_runtime_config(get_default_core_runtime_config())
{}
@ -43,7 +43,7 @@ namespace currency
private:
std::map<std::string, i_bc_service*> m_services;
i_core_event_handler* m_pcore_event_handler;
//i_core_event_handler* m_pcore_event_handler;
core_runtime_config m_core_runtime_config;
};

View file

@ -103,7 +103,6 @@ blockchain_storage::blockchain_storage(tx_memory_pool& tx_pool) :m_db(nullptr, m
m_core_runtime_config(get_default_core_runtime_config()),
//m_bei_stub(AUTO_VAL_INIT(m_bei_stub)),
m_event_handler(&m_event_handler_stub),
m_services_mgr(nullptr),
m_interprocess_locker_file(0),
m_current_fee_median(0),
m_current_fee_median_effective_index(0),

View file

@ -41,7 +41,7 @@ namespace currency
miner::miner(i_miner_handler* phandler, blockchain_storage& bc):m_stop(1),
m_bc(bc),
//m_bc(bc),
m_template(boost::value_initialized<block>()),
m_template_no(0),
m_diffic(0),

View file

@ -105,7 +105,7 @@ namespace currency
std::list<boost::thread> m_threads;
::critical_section m_threads_lock;
i_miner_handler* m_phandler;
blockchain_storage& m_bc;
//blockchain_storage& m_bc;
account_public_address m_mine_address;
math_helper::once_a_time_seconds<5> m_update_block_template_interval;
math_helper::once_a_time_seconds<2> m_update_merge_hr_interval;