gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-taler-util] branch master updated: big EC rename, part II


From: gnunet
Subject: [taler-taler-util] branch master updated: big EC rename, part II
Date: Sun, 22 Mar 2020 01:03:48 +0100

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository taler-util.

The following commit(s) were added to refs/heads/master by this push:
     new 5440631  big EC rename, part II
5440631 is described below

commit 54406313ea84c9f868eacd8c88f9440f291d96cb
Author: Christian Grothoff <address@hidden>
AuthorDate: Sun Mar 22 01:03:45 2020 +0100

    big EC rename, part II
---
 taler/util/errorcodes.py | 114 +++++++++++++++++++++++------------------------
 1 file changed, 57 insertions(+), 57 deletions(-)

diff --git a/taler/util/errorcodes.py b/taler/util/errorcodes.py
index e025848..e07a46d 100644
--- a/taler/util/errorcodes.py
+++ b/taler/util/errorcodes.py
@@ -825,7 +825,7 @@ ec._add_ec(
 
 
 ec._add_ec(
-    "REFRESH_MELT_INSUFFICIENT_FUNDS",
+    "MELT_INSUFFICIENT_FUNDS",
     1300,
     """
     The respective coin did not have sufficient residual value
@@ -837,7 +837,7 @@ ec._add_ec(
 )
 
 ec._add_ec(
-    "REFRESH_MELT_DENOMINATION_KEY_NOT_FOUND",
+    "MELT_DENOMINATION_KEY_NOT_FOUND",
     1301,
     """
     The respective coin did not have sufficient residual value
@@ -849,7 +849,7 @@ ec._add_ec(
 )
 
 ec._add_ec(
-    "REFRESH_MELT_COIN_HISTORY_COMPUTATION_FAILED",
+    "MELT_COIN_HISTORY_COMPUTATION_FAILED",
     1302,
     """
     The exchange had an internal error reconstructing the
@@ -860,7 +860,7 @@ ec._add_ec(
 )
 
 ec._add_ec(
-    "REFRESH_MELT_DB_FETCH_ERROR",
+    "MELT_DB_FETCH_ERROR",
     1303,
     """
     The exchange failed to check against historic melt data from
@@ -871,7 +871,7 @@ ec._add_ec(
 )
 
 ec._add_ec(
-    "REFRESH_MELT_DB_STORE_SESSION_ERROR",
+    "MELT_DB_STORE_SESSION_ERROR",
     1304,
     """
     The exchange failed to store session data in the
@@ -882,7 +882,7 @@ ec._add_ec(
 )
 
 ec._add_ec(
-    "REFRESH_MELT_FEES_EXCEED_CONTRIBUTION",
+    "MELT_FEES_EXCEED_CONTRIBUTION",
     1305,
     """
     The exchange encountered melt fees exceeding the melted
@@ -892,7 +892,7 @@ ec._add_ec(
 )
 
 ec._add_ec(
-    "REFRESH_MELT_DENOMINATION_SIGNATURE_INVALID",
+    "MELT_DENOMINATION_SIGNATURE_INVALID",
     1306,
     """
     The denomination key signature on the melted coin is invalid.
@@ -902,7 +902,7 @@ ec._add_ec(
 )
 
 ec._add_ec(
-    "REFRESH_MELT_COIN_SIGNATURE_INVALID",
+    "MELT_COIN_SIGNATURE_INVALID",
     1307,
     """
     The signature made with the coin to be melted is invalid.
@@ -912,7 +912,7 @@ ec._add_ec(
 )
 
 ec._add_ec(
-    "REFRESH_MELT_HISTORY_DB_ERROR_INSUFFICIENT_FUNDS",
+    "MELT_HISTORY_DB_ERROR_INSUFFICIENT_FUNDS",
     1308,
     """
     The exchange failed to obtain the transaction history of the
@@ -924,7 +924,7 @@ ec._add_ec(
 )
 
 ec._add_ec(
-    "REFRESH_MELT_COIN_EXPIRED_NO_ZOMBIE",
+    "MELT_COIN_EXPIRED_NO_ZOMBIE",
     1309,
     """
     The denomination of the given coin has past its expiration date and
@@ -992,7 +992,7 @@ ec._add_ec(
 )
 
 ec._add_ec(
-    "REFRESH_REVEAL_COMMITMENT_VIOLATION",
+    "REVEAL_COMMITMENT_VIOLATION",
     1370,
     """
     The provided transfer keys do not match up with the
@@ -1003,7 +1003,7 @@ ec._add_ec(
 )
 
 ec._add_ec(
-    "REFRESH_REVEAL_SIGNING_ERROR",
+    "REVEAL_SIGNING_ERROR",
     1371,
     """
     Failed to produce the blinded signatures over the coins
@@ -1014,7 +1014,7 @@ ec._add_ec(
 )
 
 ec._add_ec(
-    "REFRESH_REVEAL_SESSION_UNKNOWN",
+    "REVEAL_SESSION_UNKNOWN",
     1372,
     """
     The exchange is unaware of the refresh session specified in
@@ -1025,7 +1025,7 @@ ec._add_ec(
 )
 
 ec._add_ec(
-    "REFRESH_REVEAL_DB_FETCH_SESSION_ERROR",
+    "REVEAL_DB_FETCH_SESSION_ERROR",
     1373,
     """
     The exchange failed to retrieve valid session data from the
@@ -1036,7 +1036,7 @@ ec._add_ec(
 )
 
 ec._add_ec(
-    "REFRESH_REVEAL_DB_FETCH_REVEAL_ERROR",
+    "REVEAL_DB_FETCH_REVEAL_ERROR",
     1374,
     """
     The exchange failed to retrieve previously revealed data from the
@@ -1046,7 +1046,7 @@ ec._add_ec(
 )
 
 ec._add_ec(
-    "REFRESH_REVEAL_DB_COMMIT_ERROR",
+    "REVEAL_DB_COMMIT_ERROR",
     1375,
     """
     The exchange failed to retrieve commitment data from the
@@ -1057,7 +1057,7 @@ ec._add_ec(
 )
 
 ec._add_ec(
-    "REFRESH_REVEAL_CNC_TRANSFER_ARRAY_SIZE_INVALID",
+    "REVEAL_CNC_TRANSFER_ARRAY_SIZE_INVALID",
     1376,
     """
     The size of the cut-and-choose dimension of the
@@ -1068,7 +1068,7 @@ ec._add_ec(
 )
 
 ec._add_ec(
-    "REFRESH_REVEAL_NEW_DENOMS_ARRAY_SIZE_EXCESSIVE",
+    "REVEAL_NEW_DENOMS_ARRAY_SIZE_EXCESSIVE",
     1377,
     """
     The number of coins to be created in refresh exceeds the limits
@@ -1080,7 +1080,7 @@ ec._add_ec(
 )
 
 ec._add_ec(
-    "REFRESH_REVEAL_NEW_DENOMS_ARRAY_SIZE_MISSMATCH",
+    "REVEAL_NEW_DENOMS_ARRAY_SIZE_MISSMATCH",
     1378,
     """
     The number of envelopes given does not match the number
@@ -1091,7 +1091,7 @@ ec._add_ec(
 )
 
 ec._add_ec(
-    "REFRESH_REVEAL_COST_CALCULATION_OVERFLOW",
+    "REVEAL_COST_CALCULATION_OVERFLOW",
     1379,
     """
     The exchange encountered a numeric overflow totaling up
@@ -1101,7 +1101,7 @@ ec._add_ec(
 )
 
 ec._add_ec(
-    "REFRESH_REVEAL_AMOUNT_INSUFFICIENT",
+    "REVEAL_AMOUNT_INSUFFICIENT",
     1380,
     """
     The exchange's cost calculation shows that the melt amount
@@ -1111,7 +1111,7 @@ ec._add_ec(
 )
 
 ec._add_ec(
-    "REFRESH_REVEAL_FRESH_DENOMINATION_KEY_NOT_FOUND",
+    "REVEAL_FRESH_DENOMINATION_KEY_NOT_FOUND",
     1381,
     """
     The exchange is unaware of the denomination key that was
@@ -1122,7 +1122,7 @@ ec._add_ec(
 
 
 ec._add_ec(
-    "REFRESH_REVEAL_LINK_SIGNATURE_INVALID",
+    "REVEAL_LINK_SIGNATURE_INVALID",
     1382,
     """
     The signature made with the coin over the link data is invalid.
@@ -1132,7 +1132,7 @@ ec._add_ec(
 )
 
 ec._add_ec(
-    "REFRESH_REVEAL_KEYS_MISSING",
+    "REVEAL_KEYS_MISSING",
     1383,
     """
     The exchange failed to generate the signature as
@@ -1143,7 +1143,7 @@ ec._add_ec(
 )
 
 ec._add_ec(
-    "REFRESHES_INVALID_RCH",
+    "REVEAL_INVALID_RCH",
     1384,
     """
     The refresh session hash given to a /refreshes/ handler was malformed.
@@ -1151,7 +1151,7 @@ ec._add_ec(
 )
 
 ec._add_ec(
-    "REFRESH_REVEAL_REPLY_MALFORMED",
+    "REVEAL_REPLY_MALFORMED",
     1385,
     """
     The exchange responded with a reply that did not satsify the protocol.
@@ -1161,7 +1161,7 @@ ec._add_ec(
 
 
 ec._add_ec(
-    "REFRESH_LINK_COIN_UNKNOWN",
+    "LINK_COIN_UNKNOWN",
     1400,
     """
     The coin specified in the link request is unknown to the exchange.
@@ -1171,7 +1171,7 @@ ec._add_ec(
 )
 
 ec._add_ec(
-    "REFRESH_LINK_REPLY_MALFORMED",
+    "LINK_REPLY_MALFORMED",
     1401,
     """
     The exchange responded with a reply that did not satsify the protocol.
@@ -1378,7 +1378,7 @@ ec._add_ec(
 )
 
 ec._add_ec(
-    "TRACK_TRANSFER_DB_FETCH_FAILED",
+    "TRANSFERS_GET_DB_FETCH_FAILED",
     1700,
     """
     The exchange encountered an error (that is not about not finding
@@ -1389,7 +1389,7 @@ ec._add_ec(
 )
 
 ec._add_ec(
-    "TRACK_TRANSFER_DB_INCONSISTENT",
+    "TRANSFERS_GET_DB_INCONSISTENT",
     1701,
     """
     The exchange found internally inconsistent data when resolving a
@@ -1399,7 +1399,7 @@ ec._add_ec(
 )
 
 ec._add_ec(
-    "TRACK_TRANSFER_WTID_NOT_FOUND",
+    "TRANSFERS_GET_WTID_NOT_FOUND",
     1702,
     """
     The exchange did not find information about the specified
@@ -1409,7 +1409,7 @@ ec._add_ec(
 )
 
 ec._add_ec(
-    "TRACK_TRANSFER_WIRE_FEE_NOT_FOUND",
+    "TRANSFERS_GET_WIRE_FEE_NOT_FOUND",
     1703,
     """
     The exchange did not find information about the wire transfer
@@ -1419,7 +1419,7 @@ ec._add_ec(
 )
 
 ec._add_ec(
-    "TRACK_TRANSFER_WIRE_FEE_INCONSISTENT",
+    "TRANSFERS_GET_WIRE_FEE_INCONSISTENT",
     1704,
     """
     The exchange found a wire fee that was above the total transfer
@@ -1429,7 +1429,7 @@ ec._add_ec(
 )
 
 ec._add_ec(
-    "TRACK_TRANSFER_REPLY_MALFORMED",
+    "TRANSFERS_GET_REPLY_MALFORMED",
     1705,
     """
     The exchange responded with a reply that did not satsify the protocol.
@@ -1438,7 +1438,7 @@ ec._add_ec(
 )
 
 ec._add_ec(
-    "TRACK_TRANSACTION_DB_FEE_INCONSISTENT",
+    "DEPOSITS_GET_DB_FEE_INCONSISTENT",
     1800,
     """
     The exchange found internally inconsistent fee data when
@@ -1449,7 +1449,7 @@ ec._add_ec(
 )
 
 ec._add_ec(
-    "TRACK_TRANSACTION_DB_FETCH_FAILED",
+    "DEPOSITS_GET_DB_FETCH_FAILED",
     1801,
     """
     The exchange encountered an error (that is not about not finding
@@ -1460,7 +1460,7 @@ ec._add_ec(
 )
 
 ec._add_ec(
-    "TRACK_TRANSACTION_NOT_FOUND",
+    "DEPOSITS_GET_NOT_FOUND",
     1802,
     """
     The exchange did not find information about the specified
@@ -1470,7 +1470,7 @@ ec._add_ec(
 )
 
 ec._add_ec(
-    "TRACK_TRANSACTION_WTID_RESOLUTION_ERROR",
+    "DEPOSITS_GET_WTID_RESOLUTION_ERROR",
     1803,
     """
     The exchange failed to identify the wire transfer of the
@@ -1481,7 +1481,7 @@ ec._add_ec(
 )
 
 ec._add_ec(
-    "TRACK_TRANSACTION_MERCHANT_SIGNATURE_INVALID",
+    "DEPOSITS_GET_MERCHANT_SIGNATURE_INVALID",
     1804,
     """
     The signature of the merchant is invalid.
@@ -1957,7 +1957,7 @@ ec._add_ec(
 )
 
 ec._add_ec(
-    "TRACK_TRANSACTION_EXCHANGE_TIMEOUT",
+    "DEPOSITS_GET_EXCHANGE_TIMEOUT",
     2300,
     """
     We failed to contact the exchange for the /track/transaction
@@ -1967,7 +1967,7 @@ ec._add_ec(
 )
 
 ec._add_ec(
-    "TRACK_TRANSACTION_TRANSACTION_UNKNOWN",
+    "DEPOSITS_GET_TRANSACTION_UNKNOWN",
     2302,
     """
     The backend could not find the transaction specified
@@ -1977,7 +1977,7 @@ ec._add_ec(
 )
 
 ec._add_ec(
-    "TRACK_TRANSACTION_DB_FETCH_TRANSACTION_ERROR",
+    "DEPOSITS_GET_DB_FETCH_TRANSACTION_ERROR",
     2303,
     """
     The backend had a database access error trying to
@@ -1988,7 +1988,7 @@ ec._add_ec(
 )
 
 ec._add_ec(
-    "TRACK_TRANSACTION_DB_FETCH_PAYMENT_ERROR",
+    "DEPOSITS_GET_DB_FETCH_PAYMENT_ERROR",
     2304,
     """
     The backend had a database access error trying to
@@ -1999,7 +1999,7 @@ ec._add_ec(
 )
 
 ec._add_ec(
-    "TRACK_TRANSACTION_DB_NO_DEPOSITS_ERROR",
+    "DEPOSITS_GET_DB_NO_DEPOSITS_ERROR",
     2305,
     """
     The backend found no applicable deposits in the database.
@@ -2010,7 +2010,7 @@ ec._add_ec(
 )
 
 ec._add_ec(
-    "TRACK_TRANSACTION_COIN_TRACE_ERROR",
+    "DEPOSITS_GET_COIN_TRACE_ERROR",
     2306,
     """
     We failed to obtain a wire transfer identifier for one
@@ -2022,7 +2022,7 @@ ec._add_ec(
 )
 
 ec._add_ec(
-    "TRACK_TRANSACTION_WIRE_TRANSFER_TRACE_ERROR",
+    "DEPOSITS_GET_WIRE_TRANSFER_TRACE_ERROR",
     2307,
     """
     We failed to obtain the full wire transfer identifier for the
@@ -2033,7 +2033,7 @@ ec._add_ec(
 )
 
 ec._add_ec(
-    "TRACK_TRANSACTION_CONFLICTING_REPORTS",
+    "DEPOSITS_GET_CONFLICTING_REPORTS",
     2308,
     """
     We got conflicting reports from the exhange with
@@ -2046,7 +2046,7 @@ ec._add_ec(
 
 
 ec._add_ec(
-    "TRACK_TRANSFER_EXCHANGE_TIMEOUT",
+    "TRANSFERS_GET_EXCHANGE_TIMEOUT",
     2400,
     """
     We failed to contact the exchange for the /track/transfer
@@ -2056,7 +2056,7 @@ ec._add_ec(
 )
 
 ec._add_ec(
-    "TRACK_TRANSFER_DB_STORE_COIN_ERROR",
+    "TRANSFERS_GET_DB_STORE_COIN_ERROR",
     2402,
     """
     We failed to persist coin wire transfer information in
@@ -2067,7 +2067,7 @@ ec._add_ec(
 )
 
 ec._add_ec(
-    "TRACK_TRANSFER_REQUEST_ERROR",
+    "TRANSFERS_GET_REQUEST_ERROR",
     2403,
     """
     We internally failed to execute the /track/transfer request.
@@ -2077,7 +2077,7 @@ ec._add_ec(
 )
 
 ec._add_ec(
-    "TRACK_TRANSFER_DB_STORE_TRANSFER_ERROR",
+    "TRANSFERS_GET_DB_STORE_TRANSFER_ERROR",
     2404,
     """
     We failed to persist wire transfer information in
@@ -2088,7 +2088,7 @@ ec._add_ec(
 )
 
 ec._add_ec(
-    "TRACK_TRANSFER_EXCHANGE_ERROR",
+    "TRANSFERS_GET_EXCHANGE_ERROR",
     2405,
     """
     The exchange returned an error from /track/transfer.
@@ -2098,7 +2098,7 @@ ec._add_ec(
 )
 
 ec._add_ec(
-    "TRACK_TRANSFER_DB_FETCH_DEPOSIT_ERROR",
+    "TRANSFERS_GET_DB_FETCH_DEPOSIT_ERROR",
     2406,
     """
     We failed to fetch deposit information from
@@ -2109,7 +2109,7 @@ ec._add_ec(
 )
 
 ec._add_ec(
-    "TRACK_TRANSFER_DB_INTERNAL_LOGIC_ERROR",
+    "TRANSFERS_GET_DB_INTERNAL_LOGIC_ERROR",
     2407,
     """
     We encountered an internal logic error.
@@ -2119,7 +2119,7 @@ ec._add_ec(
 )
 
 ec._add_ec(
-    "TRACK_TRANSFER_CONFLICTING_REPORTS",
+    "TRANSFERS_GET_CONFLICTING_REPORTS",
     2408,
     """
     The exchange gave conflicting information about a coin which has
@@ -2130,7 +2130,7 @@ ec._add_ec(
 )
 
 ec._add_ec(
-    "TRACK_TRANSFER_JSON_RESPONSE_ERROR",
+    "TRANSFERS_GET_JSON_RESPONSE_ERROR",
     2409,
     """
     The merchant backend had problems in creating the JSON response.
@@ -2138,7 +2138,7 @@ ec._add_ec(
 )
 
 ec._add_ec(
-    "TRACK_TRANSFER_JSON_BAD_WIRE_FEE",
+    "TRANSFERS_GET_JSON_BAD_WIRE_FEE",
     2410,
     """
     The exchange charged a different wire fee than what it

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]