This commit is contained in:
parent
9fe1d76dc4
commit
8e6ceb1416
3 changed files with 3 additions and 15 deletions
|
|
@ -17,10 +17,6 @@ type t = {
|
||||||
master_sig: EddsaSignature.t option;
|
master_sig: EddsaSignature.t option;
|
||||||
}
|
}
|
||||||
|
|
||||||
let hash_pub _pub =
|
|
||||||
(* todo public key converted to Crockford Base32 *)
|
|
||||||
assert false
|
|
||||||
|
|
||||||
let make
|
let make
|
||||||
({
|
({
|
||||||
section_name;
|
section_name;
|
||||||
|
|
|
||||||
2
src/dune
2
src/dune
|
|
@ -20,8 +20,6 @@
|
||||||
caqti-miou.unix
|
caqti-miou.unix
|
||||||
caqti-driver-pgx
|
caqti-driver-pgx
|
||||||
bin
|
bin
|
||||||
angstrom
|
|
||||||
zarith ;
|
|
||||||
mirage-crypto
|
mirage-crypto
|
||||||
digestif
|
digestif
|
||||||
duration
|
duration
|
||||||
|
|
|
||||||
12
src/util.ml
12
src/util.ml
|
|
@ -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 -- *)
|
(* -- 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_to_int64 ptime = ptime |> Ptime.to_float_s |> Int64.of_float
|
||||||
|
|
||||||
let ptime_of_int64 i =
|
let ptime_of_int64 i =
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue