Replace tabs with two spaces for consistency with rest of codebase
Remove trailing whitespace in same files.
This commit is contained in:
parent
042e85396c
commit
725acc7f17
26 changed files with 1321 additions and 1323 deletions
|
@ -99,8 +99,8 @@ static const uint64_t testnet_hard_fork_version_1_till = 624633;
|
||||||
|
|
||||||
//------------------------------------------------------------------
|
//------------------------------------------------------------------
|
||||||
Blockchain::Blockchain(tx_memory_pool& tx_pool) :
|
Blockchain::Blockchain(tx_memory_pool& tx_pool) :
|
||||||
m_db(), m_tx_pool(tx_pool), m_timestamps_and_difficulties_height(0), m_current_block_cumul_sz_limit(0), m_is_in_checkpoint_zone(false),
|
m_db(), m_tx_pool(tx_pool), m_timestamps_and_difficulties_height(0), m_current_block_cumul_sz_limit(0), m_is_in_checkpoint_zone(false),
|
||||||
m_is_blockchain_storing(false), m_enforce_dns_checkpoints(false), m_max_prepare_blocks_threads(4), m_db_blocks_per_sync(1), m_db_sync_mode(db_async), m_fast_sync(true)
|
m_is_blockchain_storing(false), m_enforce_dns_checkpoints(false), m_max_prepare_blocks_threads(4), m_db_blocks_per_sync(1), m_db_sync_mode(db_async), m_fast_sync(true)
|
||||||
{
|
{
|
||||||
LOG_PRINT_L3("Blockchain::" << __func__);
|
LOG_PRINT_L3("Blockchain::" << __func__);
|
||||||
}
|
}
|
||||||
|
|
|
@ -357,7 +357,6 @@ namespace cryptonote
|
||||||
|
|
||||||
if(local_template_ver != m_template_no)
|
if(local_template_ver != m_template_no)
|
||||||
{
|
{
|
||||||
|
|
||||||
CRITICAL_REGION_BEGIN(m_template_lock);
|
CRITICAL_REGION_BEGIN(m_template_lock);
|
||||||
b = m_template;
|
b = m_template;
|
||||||
local_diff = m_diffic;
|
local_diff = m_diffic;
|
||||||
|
|
|
@ -592,7 +592,6 @@ namespace cryptonote
|
||||||
epee::net_utils::data_logger::get_instance().add_data("calc_time", block_process_time + transactions_process_time);
|
epee::net_utils::data_logger::get_instance().add_data("calc_time", block_process_time + transactions_process_time);
|
||||||
epee::net_utils::data_logger::get_instance().add_data("block_processing", 1);
|
epee::net_utils::data_logger::get_instance().add_data("block_processing", 1);
|
||||||
|
|
||||||
|
|
||||||
} // each download block
|
} // each download block
|
||||||
m_core.cleanup_handle_incoming_blocks();
|
m_core.cleanup_handle_incoming_blocks();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue