From 6c8799f118e3f4eec444a7087c29f8e506e7aa75 Mon Sep 17 00:00:00 2001 From: Linus Nordberg Date: Mon, 5 May 2014 00:17:55 +0200 Subject: Rename #sth -> #sth_signed and make it private. --- include/plop.hrl | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'include') diff --git a/include/plop.hrl b/include/plop.hrl index 17d81c8..62793fa 100644 --- a/include/plop.hrl +++ b/include/plop.hrl @@ -51,16 +51,4 @@ }). -type plop_entry() :: #plop_entry{}. -%% @doc The parts of an STH which is to be signed. Used as the -%% interface to plop:sth/1, for testing. Should probably be internal -%% to plop, if that can be arranged wrt testing. --record(sth, { - version = 1 :: pos_integer(), - signature_type :: signature_type(), - timestamp = now :: 'now' | integer(), - tree_size :: integer(), - root_hash :: binary() % SHA-256 - }). --type sth() :: #sth{}. - -export_type([timestamped_entry/0, mtl/0, entry_type/0]). -- cgit v1.1