summaryrefslogtreecommitdiff
path: root/src/db.hrl
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordberg.se>2014-09-20 15:33:06 +0200
committerLinus Nordberg <linus@nordberg.se>2014-09-20 15:33:06 +0200
commit4f1a715a3f2a6b049dcb9dcc5b38f6f2716e4101 (patch)
tree035e8e4e93da8629de125d5036b1f5c8c3b0b6cb /src/db.hrl
parent209fc7ed4d44f0d613aabdb9b1c59b8621dc1339 (diff)
Store and retrieve extra-data in/from db.
Also, add more specs to db.
Diffstat (limited to 'src/db.hrl')
-rw-r--r--src/db.hrl2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/db.hrl b/src/db.hrl
index b5ceb2e..bea9131 100644
--- a/src/db.hrl
+++ b/src/db.hrl
@@ -11,5 +11,7 @@
entryhash :: binary(), % Hash over #plop_entry{} in mtl.
mtlhash :: binary(), % Merkle Tree Leaf hash.
mtl :: mtl(), % Merkle Tree Leaf.
+ extra_data :: binary(), % Data not part of mtl.
spt :: spt() % Signed Plop Timestamp.
}).
+-type plop() :: #plop{}.