blob: 16b91037443388f6c40df16a596c732be15c2095 (
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 mtl.
mtl :: mtl(), % Merkle Tree Leaf, an #mtl{}.
spt_text :: binary() % Signed Plop Timestamp, an #spt_on_wire{}.
}).
|