blob: 01bd63f2ad5db441e795569f64a13f5eb2bc6f80 (
plain)
1
2
3
4
5
6
7
8
|
%% @doc What's stored in the database.
%% 'index' is the primary key, 'hash' is also indexed.
-record(plop, {
index :: non_neg_integer(), % Primary key.
hash :: binary(), % Hash over #plop_entry{} in mtl.
mtl :: mtl(), % Merkle Tree Leaf.
spt :: spt_on_wire() % Signed Plop Timestamp.
}).
|