initialize block_size_limit_str and block_size_median_str

master
moneroexamples 7 years ago
parent c5a89500bd
commit c103a34eba

@ -227,6 +227,8 @@ main(int ac, const char* av[])
xmreg::MempoolStatus::set_blockchain_variables(
&mcore, core_storage);
strcpy(xmreg::MempoolStatus::current_network_info.block_size_limit_str, "0.0");
strcpy(xmreg::MempoolStatus::current_network_info.block_size_median_str, "0.0");
try
{

@ -329,4 +329,4 @@ atomic<uint64_t> MempoolStatus::mempool_no {0}; // no of txs
atomic<uint64_t> MempoolStatus::mempool_size {0}; // size in bytes.
uint64_t MempoolStatus::mempool_refresh_time {10};
mutex MempoolStatus::mempool_mutx;
}
}

Loading…
Cancel
Save