summaryrefslogtreecommitdiff
path: root/src/db.hrl
Commit message (Collapse)AuthorAgeFilesLines
* Add licensing information.Linus Nordberg2014-06-091-0/+3
|
* Rename spt_on_wire -> spt.Linus Nordberg2014-05-041-1/+1
|
* Adopt to first user -- ctls.Linus Nordberg2014-05-041-2/+2
| | | | | | | | | | Return #spt_on_wire instead of serialised version of it -- user wants the timestamp in there. Store that in db too. Export serialise/1 for user to do it themselves. Add get_logid/1 -- user needs that for the CST. Make sure 'now' is turned into a proper timestamp at all levels. Debug printout in plop start_link.
* Sign using ECDSA and fix a couple bugs.Linus Nordberg2014-05-021-2/+2
| | | | | | | | | | | Revive the plop_entry and hash over that instead of the full MTL, for the db hash. We don't want the timestamp in that hash! Use ECDSA instead of RSA for signing stuff. That's what Google does and we want to use their test suites. An annoyance with DSA is that the signature isn't deterministic. Testing just became less easy. Fix db:find() now that the hash is no longer the primary key.
* Move some records out of public header file. Improve db initialisation some.Linus Nordberg2014-05-011-0/+8
Wait for mnesia tables in init() and make the init-functions do some more.