wip functorize secmod
This commit is contained in:
parent
0fed6735db
commit
0bf16a6320
1 changed files with 41 additions and 39 deletions
|
|
@ -1,4 +1,4 @@
|
|||
(* TODO functorize *)
|
||||
module type S = sig
|
||||
open Crypto
|
||||
|
||||
type t
|
||||
|
|
@ -23,7 +23,6 @@ val find_denom_section_name : t -> denomination_hash -> string option
|
|||
(* TODO
|
||||
problem of keeping db and secmod state syncronized
|
||||
do db interaction from secmod? *)
|
||||
val init : (module Pg.CONN) -> t
|
||||
|
||||
val add_signkey_master_signatures :
|
||||
(module Pg.CONN) ->
|
||||
|
|
@ -48,3 +47,6 @@ val revoke_denomination :
|
|||
denomination_hash ->
|
||||
Bin_sig.MasterDenominationKeyRevocation.t ->
|
||||
(unit, string) result
|
||||
end
|
||||
|
||||
module Make (_ : Pg.CONN) : S
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue