diff options
author | Linus Nordberg <linus@nordu.net> | 2014-05-04 19:56:38 +0200 |
---|---|---|
committer | Linus Nordberg <linus@nordu.net> | 2014-05-04 19:56:44 +0200 |
commit | 87757c2219744426a1d5c9c698e109c47ea892da (patch) | |
tree | c935b209f566a175994a797a910ba45da3243adf /src/db.hrl | |
parent | b95fac93ba4bcdfcff7a18718eb587593660bb6c (diff) |
Adopt to first user -- ctls.
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.
Diffstat (limited to 'src/db.hrl')
-rw-r--r-- | src/db.hrl | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -3,6 +3,6 @@ -record(plop, { index :: non_neg_integer(), % Primary key. hash :: binary(), % Hash over #plop_entry{} in mtl. - mtl :: mtl(), % Merkle Tree Leaf, an #mtl{}. - spt_text :: binary() % Signed Plop Timestamp, an #spt_on_wire{}. + mtl :: mtl(), % Merkle Tree Leaf. + spt :: spt_on_wire() % Signed Plop Timestamp. }). |