This commit is contained in:
swrup 2026-02-16 17:55:21 +01:00 committed by Swrup
parent 0b6f5e3db5
commit 53debfd866
11 changed files with 40 additions and 165 deletions

View file

@ -1,8 +1,9 @@
(* TODO debug sig
(* TODO signatures
check with taler-wallet-core/src/crypto/cryptoImplementation.js
unsigned-ints
check signed/unsigned ints
check endianness
can we skip defining a specific record for signatures and directly use Api records? *)
better handling of decoding failure *)
open Hash
module Aliases = struct
@ -185,7 +186,7 @@ end
module DenominationKeyAnnouncement = struct
module R = struct
(* TODO CS: use purpose TALER_SIGNATURE_SM_CS_DENOMINATION_KEY *)
(* CS: use purpose TALER_SIGNATURE_SM_CS_DENOMINATION_KEY *)
(* purpose.purpose = TALER_SIGNATURE_SM_RSA_DENOMINATION_KEY *)
type r = {
h_denom_pub: DenominationHash.t;
@ -252,8 +253,7 @@ module DenominationKeyValidity = struct
fee_withdraw: AmountNBO.t;
fee_deposit: AmountNBO.t;
fee_refresh: AmountNBO.t;
(* TODO debug sig
missing field from taler doc *)
(* TODO signatures taler doc *)
fee_refund: AmountNBO.t;
denom_hash: DenominationHash.t;
}
@ -424,8 +424,7 @@ end
module GlobalFees = struct
module R = struct
(* TODO debug sig
taler doc *)
(* TODO signatures taler doc *)
(* purpose.purpose = TALER_SIGNATURE_MASTER_GLOBAL_FEES *)
type r = {
start_date: TimestampNBO.t;