Skip to main content

Mailboxes and the Blobchain

A mailbox can be seen as a directory containing a number of content addressed files, each of which represent an individual unit of mail. In other words, the filename of each mail file is the SHA256 hash of its content which is to contain a timestamp at the very beginning, followed by two newlines and the mail body.

To prevent tampering of the mailbox, a blobchain is to be present as an "INDEX" file within the same directory. Blobchains are a form of blockchains that have been serialized to disk. A blobchain barley differs from a typical blockchain other than that its usage is meant to make files tamper proof. Each block is to be referred to as a "blob". A blob is to contain the data contents, the SHA256 hash of its contents, and reference to the next and previous blobs. Tampering of the mailbox would result in the chain being broken in a detectable way.