From f0db63e3992a8fa947a74d71d57ed4ce6b719c07 Mon Sep 17 00:00:00 2001 From: swrup Date: Thu, 9 Oct 2025 02:38:34 +0200 Subject: [PATCH] --- src/binary_formats.ml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/binary_formats.ml b/src/binary_formats.ml index 120f6839..c2e45739 100644 --- a/src/binary_formats.ml +++ b/src/binary_formats.ml @@ -34,8 +34,8 @@ module TimeAbsolute = MK_TIME () module TimeAbsoluteNBO = MK_TIME_NBO () module TimeRelative = MK_TIME () module TimeRelativeNBO = MK_TIME_NBO () -module TimeTimestamp = MK_TIME () -module TimeTimestampNBO = MK_TIME_NBO () +module Timestamp = MK_TIME () +module TimestampNBO = MK_TIME_NBO () (* -- Cryptographic primitives -- *) @@ -920,7 +920,7 @@ end module MasterAmlOfficerStatusPS = struct (* purpose.purpose = TALER_SIGNATURE_MASTER_AML_KEY *) type t = { - change_date: TimeTimestampNBO.t; + change_date: TimestampNBO.t; officer_pub: AmlOfficerPublicKeyP.t; h_officer_name: HashCode.t; is_active: int; @@ -931,7 +931,7 @@ module AmlDecisionPS = struct (* purpose.purpose = TALER_SIGNATURE_AML_DECISION *) type t = { h_justification: HashCode.t; - decision_time: TimeTimestampNBO.t; + decision_time: TimestampNBO.t; new_threshold: AmountNBO.t; h_payto: NormalizedPaytoHash.t; h_kyc_requirements: HashCode.t; @@ -943,8 +943,8 @@ module PartnerConfigurationPS = struct (* purpose.purpose = TALER_SIGNATURE_MASTER_PARNTER_DETAILS *) type t = { partner_pub: MasterPublicKeyP.t; - start_date: TimeTimestampNBO.t; - end_date: TimeTimestampNBO.t; + start_date: TimestampNBO.t; + end_date: TimestampNBO.t; wad_frequency: TimeRelativeNBO.t; wad_fee: AmountNBO.t; h_url: HashCode.t; @@ -955,8 +955,8 @@ module ReserveOpenPS = struct (* purpose.purpose = TALER_SIGNATURE_WALLET_RESERVE_OPEN *) type t = { reserve_payment: AmountNBO.t; - request_timestamp: TimeTimestampNBO.t; - reserve_expiration: TimeTimestampNBO.t; + request_timestamp: TimestampNBO.t; + reserve_expiration: TimestampNBO.t; purse_limit: int; } end @@ -964,7 +964,7 @@ end module ReserveClosePS = struct (* purpose.purpose = TALER_SIGNATURE_WALLET_RESERVE_CLOSE *) type t = { - request_timestamp: TimeTimestampNBO.t; + request_timestamp: TimestampNBO.t; target_account_h_payto: FullPaytoHash.t; } end @@ -972,7 +972,7 @@ end module ReserveAttestRequestPS = struct (* purpose.purpose = TALER_SIGNATURE_WALLET_ATTEST_REQUEST *) type t = { - request_timestamp: TimeTimestampNBO.t; + request_timestamp: TimestampNBO.t; h_details: HashCode.t; } end @@ -980,8 +980,8 @@ end module ExchangeAttestPS = struct (* purpose.purpose = TALER_SIGNATURE_EXCHANGE_RESERVE_ATTEST_DETAILS *) type t = { - attest_timestamp: TimeTimestampNBO.t; - expiration_time: TimeTimestampNBO.t; + attest_timestamp: TimestampNBO.t; + expiration_time: TimestampNBO.t; reserve_pub: ReservePublicKeyP.t; h_attributes: HashCode.t; }