File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -196,7 +196,7 @@ std::string HelpMessage(HelpMessageMode hmm)
196
196
strUsage += " -testnet " + _ (" Use the test network" ) + " \n " ;
197
197
strUsage += " -pid=<file> " + _ (" Specify pid file (default: bitcoind.pid)" ) + " \n " ;
198
198
strUsage += " -gen " + _ (" Generate coins (default: 0)" ) + " \n " ;
199
- strUsage += " -dbcache=<n> " + _ (" Set database cache size in megabytes (default: 25 )" ) + " \n " ;
199
+ strUsage += " -dbcache=<n> " + _ (" Set database cache size in megabytes (default: 100 )" ) + " \n " ;
200
200
strUsage += " -timeout=<n> " + _ (" Specify connection timeout in milliseconds (default: 5000)" ) + " \n " ;
201
201
strUsage += " -proxy=<ip:port> " + _ (" Connect through SOCKS proxy" ) + " \n " ;
202
202
strUsage += " -socks=<n> " + _ (" Select SOCKS version for -proxy (4 or 5, default: 5)" ) + " \n " ;
@@ -776,7 +776,7 @@ bool AppInit2(boost::thread_group& threadGroup)
776
776
}
777
777
778
778
// cache size calculations
779
- size_t nTotalCache = GetArg (" -dbcache" , 25 ) << 20 ;
779
+ size_t nTotalCache = GetArg (" -dbcache" , 100 ) << 20 ;
780
780
if (nTotalCache < (1 << 22 ))
781
781
nTotalCache = (1 << 22 ); // total cache cannot be less than 4 MiB
782
782
size_t nBlockTreeDBCache = nTotalCache / 8 ;
Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ void OptionsModel::Init()
84
84
#endif
85
85
86
86
if (!settings.contains (" nDatabaseCache" ))
87
- settings.setValue (" nDatabaseCache" , 25 );
87
+ settings.setValue (" nDatabaseCache" , 100 );
88
88
if (!SoftSetArg (" -dbcache" , settings.value (" nDatabaseCache" ).toString ().toStdString ()))
89
89
strOverriddenByCommandLine += " -dbcache " ;
90
90
You can’t perform that action at this time.
0 commit comments