DAOCHI_TRASH_PURGE_DAYS sets how long a blob stays in an account's trash before the node deletes it: 30 days by default, as on the public node. A private node that archives its owner's photos sets 0 and keeps them, while trashed blobs still stop counting toward storage.
Deleting a sync account now moves every row it owns, found through the
schema's ON DELETE CASCADE keys, into <db>.held/<account>.db and its blob
files beside it. The live tables keep nothing, so it stops syncing, counting
toward storage and appearing to others at once. A login with "restore": true
brings it back during the hold; a plain login starts an empty account and
reports held_until. The retention job deletes holds after 30 days.
Deleted records drop their content as the deletion arrives and cost nothing,
and a deletion wins an equal-time mesh tie. Blobs can be moved to and from
the trash with POST .../trash and .../restore: trashed blobs stay readable,
cost nothing and are deleted after 30 days. Deploy backups are pruned at 28
days so no copy outlives the 30-day window.