wip secmod
This commit is contained in:
parent
77d5327745
commit
1e30753ba9
13 changed files with 465 additions and 546 deletions
18
src/denomination.ml
Normal file
18
src/denomination.ml
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
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: denom_hash;
|
||||
master_sig: Signatures.DenominationKeyValidity.t;
|
||||
revoked_sig: Signatures.MasterDenominationKeyRevocation.t option;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue