summaryrefslogtreecommitdiff
path: root/src/include/taler_signatures.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-03-05 15:13:07 +0100
committerChristian Grothoff <christian@grothoff.org>2022-03-05 15:13:07 +0100
commit5fa977cc05daca469044711ffb6a497287094c70 (patch)
tree2d6aa23e13f0ec088bdcc20074285bf2493a0a0d /src/include/taler_signatures.h
parent841e56bafd64e8c1aea29dc542a2d9d0cd1bc74e (diff)
downloadexchange-5fa977cc05daca469044711ffb6a497287094c70.tar.gz
exchange-5fa977cc05daca469044711ffb6a497287094c70.tar.bz2
exchange-5fa977cc05daca469044711ffb6a497287094c70.zip
work on global fee structure
Diffstat (limited to 'src/include/taler_signatures.h')
-rw-r--r--src/include/taler_signatures.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/include/taler_signatures.h b/src/include/taler_signatures.h
index 77a234218..5c5aaeebf 100644
--- a/src/include/taler_signatures.h
+++ b/src/include/taler_signatures.h
@@ -1275,10 +1275,42 @@ struct TALER_MasterGlobalFeePS
struct GNUNET_TIME_TimestampNBO end_date;
/**
+ * How long does an exchange keep a purse around after a purse
+ * has expired (or been successfully merged)? A 'GET' request
+ * for a purse will succeed until the purse expiration time
+ * plus this value.
+ */
+ struct GNUNET_TIME_RelativeNBO purse_timeout;
+
+ /**
+ * How long does the exchange promise to keep funds
+ * an account for which the KYC has never happened
+ * after a purse was merged into an account? Basically,
+ * after this time funds in an account without KYC are
+ * forfeit.
+ */
+ struct GNUNET_TIME_RelativeNBO kyc_timeout;
+
+ /**
+ * How long will the exchange preserve the account history? After an
+ * account was deleted/closed, the exchange will retain the account history
+ * for legal reasons until this time.
+ */
+ struct GNUNET_TIME_RelativeNBO history_expiration;
+
+ /**
* Fee charged to the merchant per wire transfer.
*/
struct TALER_GlobalFeeSetNBOP fees;
+ /**
+ * Number of concurrent purses that any
+ * account holder is allowed to create without having
+ * to pay the @e purse_fee. Here given in NBO.
+ */
+ uint32_t purse_account_limit;
+
+
};