From 4f1a715a3f2a6b049dcb9dcc5b38f6f2716e4101 Mon Sep 17 00:00:00 2001 From: Linus Nordberg Date: Sat, 20 Sep 2014 15:33:06 +0200 Subject: Store and retrieve extra-data in/from db. Also, add more specs to db. --- src/db.hrl | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/db.hrl') 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{}. -- cgit v1.1