mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-04-06 21:57:54 +02:00
qt: show GetDefaultDBCache() in settings
This commit is contained in:
@@ -469,7 +469,7 @@ QVariant OptionsModel::getOption(OptionID option, const std::string& suffix) con
|
||||
suffix.empty() ? getOption(option, "-prev") :
|
||||
DEFAULT_PRUNE_TARGET_GB;
|
||||
case DatabaseCache:
|
||||
return qlonglong(SettingTo<int64_t>(setting(), DEFAULT_DB_CACHE >> 20));
|
||||
return qlonglong(SettingTo<int64_t>(setting(), node::GetDefaultDBCache() >> 20));
|
||||
case ThreadsScriptVerif:
|
||||
return qlonglong(SettingTo<int64_t>(setting(), DEFAULT_SCRIPTCHECK_THREADS));
|
||||
case Listen:
|
||||
|
||||
Reference in New Issue
Block a user