The new obfuscation patch & GetStats



Summary:

The author of this message is asking about the recently merged "obfuscation" patch that obfuscates the content of the "chainstate" LevelDB by XOR'ing it against a random key. The CLevelDBWrapper's Read/Write methods are handling this, but the author is questioning whether it should also be handled when iterating over the database. Specifically, they are wondering if the obfuscation key should be applied before line 119 in txdb.cpp while iterating over the coin database in CCoinsViewDB::GetStats.The author is seeking clarification on whether or not this was an oversight and if there is a reason why the obfuscation key does not need to be applied during iteration. They are reaching out to the community for help before opening a Github ticket.


Updated on: 2023-06-11T00:01:03.879931+00:00