[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-exchange] 56/152: update ECs
From: |
gnunet |
Subject: |
[taler-exchange] 56/152: update ECs |
Date: |
Sun, 05 Jul 2020 20:46:52 +0200 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository exchange.
commit 6801e8e560e3dc7e35cf9b3dcd5bd6673d352b72
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Sun May 31 17:39:26 2020 +0200
update ECs
---
src/include/taler_error_codes.h | 55 +++++++++++++++++++++++++++++++++++++++++
src/lib/exchange_api_melt.c | 10 ++++----
2 files changed, 60 insertions(+), 5 deletions(-)
diff --git a/src/include/taler_error_codes.h b/src/include/taler_error_codes.h
index 1e031f4b..87feea2d 100644
--- a/src/include/taler_error_codes.h
+++ b/src/include/taler_error_codes.h
@@ -2165,6 +2165,61 @@ enum TALER_ErrorCode
*/
TALER_EC_RESERVES_DELETE_NO_SUCH_RESERVE = 2722,
+ /**
+ * The backend got an unexpected error trying to lookup reserve
+ * details from the backend. This response is provided with HTTP
+ * status code #MHD_HTTP_INTERNAL_SERVER_ERROR.
+ */
+ TALER_EC_TIP_LOOKUP_RESERVE_DB_FAILURE = 2723,
+
+ /**
+ * The backend repeatedly failed to serialize the transaction to
+ * authorize the tip. This response is provided with HTTP status code
+ * #MHD_HTTP_INTERNAL_SERVER_ERROR.
+ */
+ TALER_EC_TIP_AUTHORIZE_DB_SERIALIZATION_FAILURE = 2724,
+
+ /**
+ * The backend failed to start the transaction to authorize the tip.
+ * This response is provided with HTTP status code
+ * #MHD_HTTP_INTERNAL_SERVER_ERROR.
+ */
+ TALER_EC_TIP_AUTHORIZE_DB_START_FAILURE = 2725,
+
+ /**
+ * The backend failed looking up the reserve needed to authorize the
+ * tip. This response is provided with HTTP status code
+ * #MHD_HTTP_INTERNAL_SERVER_ERROR.
+ */
+ TALER_EC_TIP_AUTHORIZE_DB_LOOKUP_RESERVE_FAILURE = 2726,
+
+ /**
+ * The backend failed to find a reserve needed to authorize the tip.
+ * This response is provided with HTTP status code
+ * #MHD_HTTP_SERVICE_UNAVAILABLE.
+ */
+ TALER_EC_TIP_AUTHORIZE_DB_RESERVE_NOT_FOUND = 2727,
+
+ /**
+ * The backend encountered an internal invariant violation. This
+ * response is provided with HTTP status code
+ * #MHD_HTTP_INTERNAL_SERVER_ERROR.
+ */
+ TALER_EC_TIP_AUTHORIZE_DB_RESERVE_INVARIANT_FAILURE = 2728,
+
+ /**
+ * The selected exchange expired. This response is provided with HTTP
+ * status code #MHD_HTTP_GONE.
+ */
+ TALER_EC_TIP_AUTHORIZE_DB_RESERVE_EXPIRED = 2729,
+
+ /**
+ * The backend failed updating the reserve needed to authorize the
+ * tip. This response is provided with HTTP status code
+ * #MHD_HTTP_INTERNAL_SERVER_ERROR.
+ */
+ TALER_EC_TIP_AUTHORIZE_DB_UPDATE_RESERVE_FAILURE = 2730,
+
/**
* The backend had trouble accessing the database to persist
* information about enabling tips. Returned with an HTTP status code
diff --git a/src/lib/exchange_api_melt.c b/src/lib/exchange_api_melt.c
index f89036e4..0695f997 100644
--- a/src/lib/exchange_api_melt.c
+++ b/src/lib/exchange_api_melt.c
@@ -445,11 +445,11 @@ TALER_EXCHANGE_melt (struct TALER_EXCHANGE_Handle
*exchange,
char pub_str[sizeof (struct TALER_CoinSpendPublicKeyP) * 2];
char *end;
- end = GNUNET_STRINGS_data_to_string (&melt.coin_pub,
- sizeof (struct
- TALER_CoinSpendPublicKeyP),
- pub_str,
- sizeof (pub_str));
+ end = GNUNET_STRINGS_data_to_string (
+ &melt.coin_pub,
+ sizeof (struct TALER_CoinSpendPublicKeyP),
+ pub_str,
+ sizeof (pub_str));
*end = '\0';
GNUNET_snprintf (arg_str,
sizeof (arg_str),
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [taler-exchange] 32/152: v8 bump, (continued)
- [taler-exchange] 32/152: v8 bump, gnunet, 2020/07/05
- [taler-exchange] 46/152: modify TALER_EXCHANGE_deposits_get() API to avoid NULL pointers and need for deep copies, gnunet, 2020/07/05
- [taler-exchange] 42/152: return fee as well, gnunet, 2020/07/05
- [taler-exchange] 44/152: sleep to ensure aggregator has work, gnunet, 2020/07/05
- [taler-exchange] 47/152: return fee as well, gnunet, 2020/07/05
- [taler-exchange] 48/152: update, gnunet, 2020/07/05
- [taler-exchange] 43/152: towards changing timestamp in deposit confirmation (tests failing), gnunet, 2020/07/05
- [taler-exchange] 52/152: fix drop call, gnunet, 2020/07/05
- [taler-exchange] 51/152: merge, gnunet, 2020/07/05
- [taler-exchange] 54/152: ecs, gnunet, 2020/07/05
- [taler-exchange] 56/152: update ECs,
gnunet <=
- [taler-exchange] 61/152: bringing gana up to date so uncrustify accepts taler_error_codes.h, gnunet, 2020/07/05
- [taler-exchange] 59/152: fixed endianness in taler_sq_lib, gnunet, 2020/07/05
- [taler-exchange] 57/152: created taler_sq_lib, gnunet, 2020/07/05
- [taler-exchange] 62/152: do init submodules, gnunet, 2020/07/05
- [taler-exchange] 68/152: synchronize with latest GANA, gnunet, 2020/07/05
- [taler-exchange] 66/152: moved yna to exchange, gnunet, 2020/07/05
- [taler-exchange] 69/152: TALER_TESTING_cmd_admin_add_incoming_with_ref finds reserve_pub if reserve_priv doesn't exist, gnunet, 2020/07/05
- [taler-exchange] 72/152: Merge branch 'protocolv8' of git+ssh://git.taler.net/exchange into protocolv8, gnunet, 2020/07/05
- [taler-exchange] 75/152: clarify with/without wire fee issue, sanity checks on currencies, gnunet, 2020/07/05
- [taler-exchange] 78/152: fix #6236, gnunet, 2020/07/05