JJ: Description from the destination commit:
implement hash TODO good handling of 0-terminated C-string JJ: Description from source commit: wip
This commit is contained in:
parent
6220bbdae1
commit
e696841b2b
5 changed files with 148 additions and 71 deletions
|
|
@ -28,16 +28,8 @@ let mk_future_denom denom_secmod_sign_f
|
|||
in
|
||||
let denom_secmod_sig =
|
||||
let open Binary_formats in
|
||||
let h_denom_pub =
|
||||
(* TODO hash *)
|
||||
let hash = pub |> Types.RsaPublicKey.to_b32 in
|
||||
DenominationHash.{ hash }
|
||||
in
|
||||
let h_section_name =
|
||||
(* TODO hash *)
|
||||
let hash = section_name in
|
||||
HashCode.{ hash }
|
||||
in
|
||||
let h_denom_pub = DenominationHash.mk pub in
|
||||
let h_section_name = HashCode.of_string section_name in
|
||||
let anchor_time =
|
||||
TimeAbsoluteNBO.{ v= Util.ptime_to_int64_us stamp_start }
|
||||
in
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue