add last_change timestamp to secmod_rsa
This commit is contained in:
parent
0526675e52
commit
6fb33ee8f2
6 changed files with 30 additions and 30 deletions
|
|
@ -11,6 +11,9 @@ module type S = sig
|
|||
val find_denomination : denom_hash -> Denomination.t option result
|
||||
val signkeys : unit -> Signkey.t list result
|
||||
val denominations : unit -> Denomination.t list result
|
||||
val denominations_last_change : unit -> Timestamp.t
|
||||
|
||||
(* future keys *)
|
||||
val make_future_keys_response : unit -> Api.FutureKeysResponse.t result
|
||||
val verify_future_signkey : Api.SignKeySignature.t -> unit result
|
||||
val verify_future_denomination : Api.DenomSignature.t -> unit result
|
||||
|
|
@ -90,6 +93,8 @@ module Make (Conn : Pg.CONN) : S = struct
|
|||
m "found %d active denomination(s)" (List.length l));
|
||||
l
|
||||
|
||||
let denominations_last_change () = Sm_rsa.last_change ()
|
||||
|
||||
let make_future_sk (pub, (start, expire)) =
|
||||
Logs.debug (fun m -> m "make_future_sk: `%s`" (EddsaPublicKey.to_b32 pub));
|
||||
let open Time in
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue