add constant for shared (GUI/core) setting -dbcache#3687
add constant for shared (GUI/core) setting -dbcache#3687laanwj merged 2 commits intobitcoin:masterfrom Diapolo:dbcache
Conversation
Diapolo
commented
Feb 16, 2014
- adds nDefaultDbCache, nMaxDbCache and nMinDbCache in txdb.h
|
ACK, if pulltester is happy. |
|
ACK |
1 similar comment
|
ACK |
There was a problem hiding this comment.
We could make this nMinDbCache and use it in the GUI as well. AFAIK there is currently no lower bound there.
|
I added nMinDbCache and also use it for the GUI now. |
|
@laanwj Have you got a nice and clean idea, how we could share |
|
@Diapolo IMO the default, min and max do not need to be in the tooltip at all, it should just explain what the setting does. We don't need that in the GUI: the limits are enforced by the widget, and the default is already shown by default :) |
- adds nDefaultDbCache, nMaxDbCache and nMinDbCache in txdb.h
|
I removed the tooltip and unneeded defaults from the .ui file but left the min and max in the description, for par we also have such extended infos for example :). |
|
Automatic sanity-testing: PASSED, see http://jenkins.bluematt.me/pull-tester/82e96006ae03a7debebb9ad36f939ddabb0d2f9f for binaries and test log. |
|
ACK |