Happy Coding
Happy Coding

Reputation: 2525

Corda - Deletion of data/states

For epcis unpacking event, i eventually had to remove some of reference states to delete parent child relationship. This is one of the use cases that makes it mandatory to delete data.

are there any way how it could be implemented? what will be cons of it? is it sufficient to delete data in the SQL database?

Upvotes: 0

Views: 139

Answers (1)

Peter Li
Peter Li

Reputation: 1032

There is not any limitation on the deletion of data/states in Corda. But, keep in mind that immutability and provenance are crucial characteristics of Corda.

That means, your future flows will not be able to reach your deleted states.

And it doesn't really matter how you delete your data/states. SQL delete will do.

Upvotes: 1

Related Questions