Appendable Data discussion

The following is probably not that easy or even possible. And probably already discussed in the past on this forum.
But anyway: what if stored chunks on the network could have a ‘deletable’ flag/field.

For each data chunk that you store on the Safe Network:

  • if chunk doesn’t exist yet:
    • if chunk of type ‘private’: set ‘deletable’ flag
    • if chunk of type ‘public’: don’t set ‘deletable’ flag
  • if chunk already exists: unset ‘deletable’ flag

And if you want to delete a file: go through all data chunks and only delete the ones where the ‘deletable’ flag is set.

Or something along these lines.

Edit: an owner field is probably necessary to prevent others to delete your private chunks.
In that case the presence (or being not empty) of an owner field can be the ‘deletable’ flag.

2 Likes