forked from lthn/blockchain
fixed #483, thanks to @gurglespuge for reporting it and proposing fix
This commit is contained in:
parent
430d31ba5e
commit
6a4d6e1fc6
2 changed files with 3 additions and 3 deletions
|
|
@ -74,8 +74,8 @@ using namespace currency;
|
||||||
|
|
||||||
DISABLE_VS_WARNINGS(4267)
|
DISABLE_VS_WARNINGS(4267)
|
||||||
|
|
||||||
const command_line::arg_descriptor<uint32_t> arg_db_cache_l1 ( "db-cache-l1", "Specify size of memory mapped db cache file");
|
const command_line::arg_descriptor<uint64_t> arg_db_cache_l1 ( "db-cache-l1", "Specify size of memory mapped db cache file");
|
||||||
const command_line::arg_descriptor<uint32_t> arg_db_cache_l2 ( "db-cache-l2", "Specify cached elements in db helpers");
|
const command_line::arg_descriptor<uint64_t> arg_db_cache_l2 ( "db-cache-l2", "Specify cached elements in db helpers");
|
||||||
|
|
||||||
//------------------------------------------------------------------
|
//------------------------------------------------------------------
|
||||||
blockchain_storage::blockchain_storage(tx_memory_pool& tx_pool) :m_db(nullptr, m_rw_lock),
|
blockchain_storage::blockchain_storage(tx_memory_pool& tx_pool) :m_db(nullptr, m_rw_lock),
|
||||||
|
|
|
||||||
|
|
@ -50,7 +50,7 @@ MARK_AS_POD_C11(macro_alias_1);
|
||||||
#undef LOG_DEFAULT_CHANNEL
|
#undef LOG_DEFAULT_CHANNEL
|
||||||
#define LOG_DEFAULT_CHANNEL "core"
|
#define LOG_DEFAULT_CHANNEL "core"
|
||||||
|
|
||||||
extern const command_line::arg_descriptor<uint32_t> arg_db_cache_l2;
|
extern const command_line::arg_descriptor<uint64_t> arg_db_cache_l2;
|
||||||
|
|
||||||
namespace currency
|
namespace currency
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue