add timestamps; use Ptime

This commit is contained in:
swrup 2025-10-17 15:09:47 +02:00
parent 112ece6d9a
commit a27af0ecf1
8 changed files with 163 additions and 77 deletions

View file

@ -22,6 +22,8 @@
exchange and gana master branch are not in sync
and we should use a specific git tag instead *)
module Taler_signatures = Include.Taler_signatures
(* -- Crypto keys -- *)
module RsaPublicKey = struct
@ -77,13 +79,12 @@ module RsaPublicKey = struct
|> sealr
end
open Include
let int32_size = 4
let int64_size = 8
(* -- Time -- *)
(* microseconds since the UNIX Epoch. UINT64_MAX represents "never" *)
module MK_TIME () = struct
type t = { v: int64 }