aboutsummaryrefslogtreecommitdiff
path: root/src/include/taler_exchangedb_plugin.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-07-05 12:56:55 +0200
committerChristian Grothoff <christian@grothoff.org>2022-07-05 12:56:55 +0200
commit7201ce3166127e45f924c3119c3037917d32e594 (patch)
tree040aa858fbf78611081fb73239c71ee1ea735ec8 /src/include/taler_exchangedb_plugin.h
parent82cff16eea29fda6636b48d5980b48b1bc01236f (diff)
downloadexchange-7201ce3166127e45f924c3119c3037917d32e594.tar.xz
-handle withdraw CS nonce reuse more nicely
Diffstat (limited to 'src/include/taler_exchangedb_plugin.h')
-rw-r--r--src/include/taler_exchangedb_plugin.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/taler_exchangedb_plugin.h b/src/include/taler_exchangedb_plugin.h
index c3661d83b..4a871786f 100644
--- a/src/include/taler_exchangedb_plugin.h
+++ b/src/include/taler_exchangedb_plugin.h
@@ -3171,6 +3171,7 @@ struct TALER_EXCHANGEDB_Plugin
* @param now current time (rounded)
* @param[out] found set to true if the reserve was found
* @param[out] balance_ok set to true if the balance was sufficient
+ * @param[out] nonce_ok set to false if the nonce was reused
* @param[out] kyc set to the KYC status of the reserve
* @param[out] ruuid set to the reserve's UUID (reserves table row)
* @return query execution status
@@ -3183,6 +3184,7 @@ struct TALER_EXCHANGEDB_Plugin
struct GNUNET_TIME_Timestamp now,
bool *found,
bool *balance_ok,
+ bool *nonce_ok,
struct TALER_EXCHANGEDB_KycStatus *kyc_ok,
uint64_t *ruuid);