Split out of #33324 since it makes sense on its own.
Currently the parameter is only called with a single constant parameter, it doesn't make sense to needlessly obfuscate the constructor (pun intended).
<!--e57a25ab6845829454e8d69fc972939a-->
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
<!--006a51241073e994b41acfe9ec718e94-->
For details see: https://corecheck.dev/bitcoin/bitcoin/pulls/34048.
<!--021abf342d371248e50ceaed478a90ca-->
See the guideline for information on the review process. A summary of reviews will appear here.
<!--174a7506f384e20aa4161008e828411d-->
No conflicts as of last run.
<!--5faf32d7da4f0f540f40219e4f7537a3-->
63 | @@ -64,8 +64,7 @@ class BaseIndex : public CValidationInterface 64 | class DB : public CDBWrapper 65 | { 66 | public: 67 | - DB(const fs::path& path, size_t n_cache_size, 68 | - bool f_memory = false, bool f_wipe = false, bool f_obfuscate = false);
i presume this exists to allow indexes to obfuscate, if there is need to? E.g. when storing remote-user-provided data. E.g. an addrindex?
I understand this isn't needed right now, so no strong opinion.
Yes, it's an unused argument - it's clearer to remove the fake single-instance-abstraction
Concept NAck, could be needed in the future, no point in hiding it
if it's needed in the future, it's trivial to reintroduce it.
if it's needed in the future, it's trivial to reintroduce it.
It seems like a strong enough option to leave as is still but ill defer to others i dont have a strong opinion
Closing for lack of interest, will keep it in the original PR only