add protocol_version
This commit is contained in:
parent
46f7bed948
commit
f63236fe74
4 changed files with 12 additions and 34 deletions
|
|
@ -1,9 +1,3 @@
|
|||
(* TODO
|
||||
json:
|
||||
"A JSON object is canonicalized by converting it to an ASCII byte array
|
||||
with the algorithm specified in RFC 8785. The resulting bytes are
|
||||
terminated with a single 0-byte and then hashed with SHA512." *)
|
||||
|
||||
open Digestif
|
||||
|
||||
module type S = sig
|
||||
|
|
@ -99,6 +93,8 @@ module Cstring = struct
|
|||
end
|
||||
end
|
||||
|
||||
(* TODO
|
||||
check which hash algorithm to use for each hash type *)
|
||||
module FullPaytoHash : S = H32
|
||||
module NormalizedPaytoHash : S = H32
|
||||
module DenominationHash : S = H64
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue