summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-06-05 15:26:41 +0200
committerChristian Grothoff <christian@grothoff.org>2015-06-05 15:26:41 +0200
commit776482ef85673528abd417b087f7e9262e65abea (patch)
tree34ecf41d37714a95c60cbdbe69031f312a777440 /src/include
parentdcbb8d1cb68b8bcaaa87cfbe1d11c99e02492afc (diff)
downloadexchange-776482ef85673528abd417b087f7e9262e65abea.tar.gz
exchange-776482ef85673528abd417b087f7e9262e65abea.tar.bz2
exchange-776482ef85673528abd417b087f7e9262e65abea.zip
more docu and bug notes
Diffstat (limited to 'src/include')
-rw-r--r--src/include/taler_mintdb_plugin.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/include/taler_mintdb_plugin.h b/src/include/taler_mintdb_plugin.h
index e7f5751e6..71cc81a58 100644
--- a/src/include/taler_mintdb_plugin.h
+++ b/src/include/taler_mintdb_plugin.h
@@ -190,7 +190,15 @@ struct TALER_MINTDB_ReserveHistory
/**
- * @brief Specification for a /deposit operation.
+ * @brief Specification for a /deposit operation. The combination of
+ * the coin's public key, the merchant's public key and the
+ * transaction ID must be unique. While a coin can (theoretically) be
+ * deposited at the same merchant twice (with partial spending), the
+ * merchant must either use a different public key or a different
+ * transaction ID for the two transactions. The same coin must not
+ * be used twice at the same merchant for the same transaction
+ * (as determined by transaction ID). (Note: we might want to
+ * fix #3819 and include at least h_contract as well.)
*/
struct TALER_MINTDB_Deposit
{