diff options
author | Linus Nordberg <linus@nordberg.se> | 2014-09-20 15:33:06 +0200 |
---|---|---|
committer | Linus Nordberg <linus@nordberg.se> | 2014-09-20 15:33:06 +0200 |
commit | 4f1a715a3f2a6b049dcb9dcc5b38f6f2716e4101 (patch) | |
tree | 035e8e4e93da8629de125d5036b1f5c8c3b0b6cb /src/db.hrl | |
parent | 209fc7ed4d44f0d613aabdb9b1c59b8621dc1339 (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.hrl | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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{}. |