This commit is contained in:
swrup 2025-11-21 19:29:04 +01:00
parent 9fe1d76dc4
commit d2f334f4b1
3 changed files with 3 additions and 15 deletions

View file

@ -17,10 +17,6 @@ type t = {
master_sig: EddsaSignature.t option;
}
let hash_pub _pub =
(* todo public key converted to Crockford Base32 *)
assert false
let make
({
section_name;

View file

@ -20,8 +20,6 @@
caqti-miou.unix
caqti-driver-pgx
bin
angstrom
zarith ;
mirage-crypto
digestif
duration

View file

@ -1,14 +1,8 @@
module Protocol_version = struct
(* TODO *)
(* libtool version format *)
let current = 0
let revision = 0
let age = 0
let v = Fmt.str "%d:%d:%d"
end
(* -- Ptime -- *)
(* TODO have a Time.t = int64
-> avoid having conversion everywhere
-> avoid using Caqti_type.ptime *)
let ptime_to_int64 ptime = ptime |> Ptime.to_float_s |> Int64.of_float
let ptime_of_int64 i =