Deletion in a blockchain network

Viewed 38

I was working on a crud D-app, coding in solidity. I am unable to figure out how does deletion and updation work on the blockchain network?

1 Answers

There is none. You can only add new transactions. You have to add a new transaction saying something was deleted or updated, and then, whoever is displaying the data needs to see the new transaction and stop displaying the data.

If you are writing a smart contract, you can delete or update data in storage, but other people can still see that data since it's in the previous transactions - there is no privacy.

Related