aboutsummaryrefslogtreecommitdiff
path: root/src/include/taler_exchangedb_plugin.h
diff options
context:
space:
mode:
authorÖzgür Kesim <oec-taler@kesim.org>2022-02-22 18:35:10 +0100
committerÖzgür Kesim <oec-taler@kesim.org>2022-02-22 18:35:10 +0100
commit7910ca183f40a544dae4add5e7b5ff4775e65e12 (patch)
treec7ea92bc5f255c94f17e8359a2cc611c1b1ec872 /src/include/taler_exchangedb_plugin.h
parentfbdc1996a6166893415c59ed830e75a8ccf79a51 (diff)
double melt test no works with age restriction
- added missing field h_age_commitment in exchange's error response - slight refactoring
Diffstat (limited to 'src/include/taler_exchangedb_plugin.h')
-rw-r--r--src/include/taler_exchangedb_plugin.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/include/taler_exchangedb_plugin.h b/src/include/taler_exchangedb_plugin.h
index 529d4943..dfe9ab7f 100644
--- a/src/include/taler_exchangedb_plugin.h
+++ b/src/include/taler_exchangedb_plugin.h
@@ -1127,6 +1127,11 @@ struct TALER_EXCHANGEDB_DepositListEntry
struct TALER_AgeCommitmentHash h_age_commitment;
/**
+ * true, if age commitment is not applicable
+ */
+ bool no_age_commitment;
+
+ /**
* Detailed information about the receiver for executing the transaction.
* URL in payto://-format.
*/
@@ -1322,6 +1327,11 @@ struct TALER_EXCHANGEDB_MeltListEntry
struct TALER_AgeCommitmentHash h_age_commitment;
/**
+ * true, if no h_age_commitment is applicable
+ */
+ bool no_age_commitment;
+
+ /**
* How much value is being melted? This amount includes the fees,
* so the final amount contributed to the melt is this value minus
* the fee for melting the coin. We include the fee in what is