Messages.dat

From Bitmessage Wiki
Revision as of 09:47, 6 June 2013 by AyrA (talk | contribs) (Created page with "Messages.dat is an SQLite database containing messages and some configuration. == Tables == === inbox === Contains Messages that were successfully decrypted. Contains tra...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Messages.dat is an SQLite database containing messages and some configuration.

Tables

inbox

Contains Messages that were successfully decrypted. Contains trashed received messages too.

sent

Contains Messages that were sent. Contains trashed sent messages too.

subscriptions

Contains Addresses the user is subscribed to.

addressbook

Contains the users address book

blacklist

Contains blacklisted addresses

whitelist

Contains whitelisted addresses

inventory

Contains pubkeys and messages received

knownnodes

Empty table. Will probably contain known nodes once the system is developed and deployed further.

settings

Contains some settings, currently the version (probably of the database) and the time the database was last cleaned up

pubkeys

Contains public keys created by the user and the time it was last transmitted.

Deleted messages

Internally a message is deleted by setting its folder to "trash" but leaving it in its table. The current version has an option to delete trashed messages definitely, this also shrinks the database. Allows the user to clean up the database more than once per month.