add hash.ml + refacto
This commit is contained in:
parent
55ccc6f18a
commit
63e711f7dd
11 changed files with 193 additions and 199 deletions
|
|
@ -1,8 +1,7 @@
|
|||
(* this module defines caqti encoding/decodings *)
|
||||
open Crypto
|
||||
open Bin_type
|
||||
open Api
|
||||
open Caqti_type
|
||||
open Crypto
|
||||
open Api
|
||||
|
||||
(* TODO
|
||||
check that we use Caqti_type.octets for binary data *)
|
||||
|
|
@ -32,6 +31,7 @@ let b32 = B32.caqti
|
|||
|
||||
include struct
|
||||
(* alias for hash *)
|
||||
open Hash
|
||||
|
||||
let fullpayto_hash = FullPaytoHash.caqti
|
||||
let nomalizaedpayto_hash = NormalizedPaytoHash.caqti
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue