summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/plop.hrl4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/plop.hrl b/include/plop.hrl
index 8115374..17d81c8 100644
--- a/include/plop.hrl
+++ b/include/plop.hrl
@@ -16,13 +16,13 @@
}).
-type mtl() :: #mtl{}.
--record(spt_on_wire, {
+-record(spt, {
version :: pos_integer(), % uint8
logid :: binary(), % SHA-256 over DER encoded public log key
timestamp :: integer(), % uint64
signature :: binary()
}).
--type spt_on_wire() :: #spt_on_wire{}.
+-type spt() :: #spt{}.
%% @doc What's signed in an SPT. Used for serialisation before hasning
%% and signing. FIXME: Overlapping #spt{} -- merge somehow.