Skip to content

Backup data in case of a snapshot

David Hawig edited this page Jun 30, 2018 · 5 revisions

One of the problems if you want to store data constant on the tangle are snapshots. A snapshot removes all zero value transactions or data-only transactions from the tangle. One way to solve this is to set up a Permanode. A Permanode stores the entire tangle data in it permanently. Since this requires a lot of resources and you probably only want to store a specific part of the tangle, I have been looking for other ways to backup Chiota’s encrypted messages:

Local SQLite database

Currently Chiota stores all messages by a user local on the user’s device inside an SQLite Database. If a user doesn’t delete his app he will have access to all his old messages and contacts even after a snapshot. This also improves the overall performance, since Chiota doesn’t need to reload all messages from the tangle.

IPFS

Soon