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).
f_obfuscate = false parameter
#34048
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
For details see: https://corecheck.dev/bitcoin/bitcoin/pulls/34048.
See the guideline for information on the review process. A summary of reviews will appear here.
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.
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
l0rinc
DrahtBot
maflcko
Ataraxia009
Labels
Refactoring