0

Suppose I have a merkle tree containing the blockchain implementation of a system and I have used databases along with it to do search operations on it. So my question is that how does blockchain verifies if someone has changed any values in the database? Do we verify the database with the chain on regular intervals? If yes, how do we do that and at what interval?

Take an example of customer loyalty points:

If someone gets the root access of the database, they can directly change values in the database and get benefited from it by getting the loyalty points which they don't have, and redeem these points(Since before making a transaction, we search for user's points balance). So in such cases, should there be some verification of data in the implemented database? If yes, how often should that take place? And how to implement that since this would require us going through the entire merkel tree and then verifying the database. and this would be a time taking process.

In real life blockchain implementation, how do we cope up with such situations? Any suggestions or help would be appreciated.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.