diff --git a/src/currency_core/bc_attachments_service_manager.h b/src/currency_core/bc_attachments_service_manager.h index bd4f2640..632126a9 100644 --- a/src/currency_core/bc_attachments_service_manager.h +++ b/src/currency_core/bc_attachments_service_manager.h @@ -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 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; }; diff --git a/src/currency_core/blockchain_storage.cpp b/src/currency_core/blockchain_storage.cpp index a823d278..c3538879 100644 --- a/src/currency_core/blockchain_storage.cpp +++ b/src/currency_core/blockchain_storage.cpp @@ -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), diff --git a/src/currency_core/miner.cpp b/src/currency_core/miner.cpp index afb77055..ff2579e2 100644 --- a/src/currency_core/miner.cpp +++ b/src/currency_core/miner.cpp @@ -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()), m_template_no(0), m_diffic(0), diff --git a/src/currency_core/miner.h b/src/currency_core/miner.h index 1e9d030e..c1bd83f0 100644 --- a/src/currency_core/miner.h +++ b/src/currency_core/miner.h @@ -105,7 +105,7 @@ namespace currency std::list 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;