mte/src/denom_data.ml

22 lines
553 B
OCaml
Raw Normal View History

2025-12-15 16:43:49 +01:00
open Crypto
type t = {
pub: rsa_pub;
value: Amount.t;
stamp_start: Timestamp.t;
stamp_expire_withdraw: Timestamp.t;
stamp_expire_deposit: Timestamp.t;
stamp_expire_legal: Timestamp.t;
fee_withdraw: Amount.t;
fee_deposit: Amount.t;
fee_refresh: Amount.t;
fee_refund: Amount.t;
age_mask: int;
h_pub: denomination_hash;
2026-02-05 19:26:59 +01:00
master_sig: Signatures.DenominationKeyValidity.t option;
revoked_sig: Signatures.MasterDenominationKeyRevocation.t option;
2025-12-15 16:43:49 +01:00
}
2026-02-17 09:11:57 +01:00
let section_name_ht: (denomination_hash, string) Hashtbl.t
= Hashtbl.create 0xff