gnunet-svn
[Top][All Lists]
Advanced

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

[taler-taler-util] branch master updated: the big EC rename


From: gnunet
Subject: [taler-taler-util] branch master updated: the big EC rename
Date: Sun, 22 Mar 2020 00:50:55 +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 7dd09a3  the big EC rename
7dd09a3 is described below

commit 7dd09a304d53a3e472cb24c579b942e3413be613
Author: Christian Grothoff <address@hidden>
AuthorDate: Sun Mar 22 00:50:52 2020 +0100

    the big EC rename
---
 taler/util/errorcodes.py | 386 +++++++++++++++++++++++------------------------
 taler/util/gnunet_log.py |   0
 tests/test_amount.py     |   0
 tests/test_log.py        |   0
 4 files changed, 193 insertions(+), 193 deletions(-)

diff --git a/taler/util/errorcodes.py b/taler/util/errorcodes.py
index 98668c5..e025848 100644
--- a/taler/util/errorcodes.py
+++ b/taler/util/errorcodes.py
@@ -144,7 +144,7 @@ ec._add_ec(
     10,
     """
     There is no endpoint defined for the URL provided by the client
-    (returned together with a MHD_HTTP_NOT FOUND status code).
+    (returned together with a #MHD_HTTP_NOT FOUND status code).
     """,
 )
 
@@ -154,7 +154,7 @@ ec._add_ec(
     """
      The URI is longer than the longest URI the HTTP server is willing
      to parse. Returned together with an HTTP status code of
-     MHD_HTTP_URI_TOO_LONG.
+     #MHD_HTTP_URI_TOO_LONG.
     """,
 )
 
@@ -164,7 +164,7 @@ ec._add_ec(
     """
     The number of segments included in the URI does not match the
     number of segments expected by the endpoint. (returned together
-    with a MHD_HTTP_NOT FOUND status code).
+    with a #MHD_HTTP_NOT FOUND status code).
     """,
 )
 
@@ -176,7 +176,7 @@ ec._add_ec(
     The exchange failed to even just initialize its connection to the database.
 
     This response is provided with HTTP status code
-    MHD_HTTP_INTERNAL_SERVER_ERROR.
+    #MHD_HTTP_INTERNAL_SERVER_ERROR.
     """,
 )
 
@@ -188,7 +188,7 @@ ec._add_ec(
     transaction.
 
     This response is provided with HTTP status code
-    MHD_HTTP_INTERNAL_SERVER_ERROR.
+    #MHD_HTTP_INTERNAL_SERVER_ERROR.
     """,
 )
 
@@ -200,7 +200,7 @@ ec._add_ec(
     The exchange encountered an error event to commit
     the database transaction (hard, unrecoverable error).
     This response is provided with HTTP status code
-    MHD_HTTP_INTERNAL_SERVER_ERROR.
+    #MHD_HTTP_INTERNAL_SERVER_ERROR.
     """,
 )
 
@@ -215,7 +215,7 @@ ec._add_ec(
     only happen if some client maliciously tries to create
     conflicting concurrent transactions.)
     This response is provided with HTTP status code
-    MHD_HTTP_INTERNAL_SERVER_ERROR.
+    #MHD_HTTP_INTERNAL_SERVER_ERROR.
     """,
 )
 
@@ -226,7 +226,7 @@ ec._add_ec(
     """
     The exchange had insufficient memory to parse the request. This
     response is provided with HTTP status code
-    MHD_HTTP_INTERNAL_SERVER_ERROR.
+    #MHD_HTTP_INTERNAL_SERVER_ERROR.
     """,
 )
 
@@ -238,7 +238,7 @@ ec._add_ec(
     The JSON in the client's request to the exchange was malformed.
     (Generic parse error).
     This response is provided with HTTP status code
-    MHD_HTTP_BAD_REQUEST.
+    #MHD_HTTP_BAD_REQUEST.
     """,
 )
 
@@ -249,7 +249,7 @@ ec._add_ec(
     The JSON in the client's request to the exchange was malformed.
     Details about the location of the parse error are provided.
     This response is provided with HTTP status code
-    MHD_HTTP_BAD_REQUEST.
+    #MHD_HTTP_BAD_REQUEST.
     """,
 )
 
@@ -259,7 +259,7 @@ ec._add_ec(
     """
     A required parameter in the request to the exchange was missing.
     This response is provided with HTTP status code
-    MHD_HTTP_BAD_REQUEST.
+    #MHD_HTTP_BAD_REQUEST.
     """,
 )
 
@@ -269,7 +269,7 @@ ec._add_ec(
     """
     A parameter in the request to the exchange was malformed.
     This response is provided with HTTP status code
-    MHD_HTTP_BAD_REQUEST.
+    #MHD_HTTP_BAD_REQUEST.
     """,
 )
 
@@ -281,7 +281,7 @@ ec._add_ec(
     given coin from the database while generating an insufficient
     funds errors.  This can happen during /deposit or /recoup requests.
     This response is provided with HTTP status code
-    MHD_HTTP_INTERNAL_SERVER_ERROR.
+    #MHD_HTTP_INTERNAL_SERVER_ERROR.
     """,
 )
 
@@ -292,7 +292,7 @@ ec._add_ec(
     Internal logic error.  Some server-side function
     failed that really should not.
     This response is provided with HTTP status code
-    MHD_HTTP_INTERNAL_SERVER_ERROR.
+    #MHD_HTTP_INTERNAL_SERVER_ERROR.
     """,
 )
 
@@ -402,7 +402,7 @@ ec._add_ec(
     requested withdraw operation at this time.  The response includes
     the current "balance" of the reserve as well as the transaction
     "history" that lead to this balance.  This response is provided
-    with HTTP status code MHD_HTTP_CONFLICT.
+    with HTTP status code #MHD_HTTP_CONFLICT.
     """,
 )
 
@@ -412,7 +412,7 @@ ec._add_ec(
     """
     The exchange has no information about the "reserve_pub" that
     was given.
-    This response is provided with HTTP status code MHD_HTTP_NOT_FOUND.
+    This response is provided with HTTP status code #MHD_HTTP_NOT_FOUND.
     """,
 )
 
@@ -424,7 +424,7 @@ ec._add_ec(
     numeric range for Taler amounts.  This is not a client
     failure, as the coin value and fees come from the exchange's
     configuration.
-    This response is provided with HTTP status code MHD_HTTP_INTERNAL_ERROR.
+    This response is provided with HTTP status code #MHD_HTTP_INTERNAL_ERROR.
     """,
 )
 
@@ -436,7 +436,7 @@ ec._add_ec(
     value that is too big for the numeric range for Taler amounts.
     This is not a client failure, as the transaction history comes
     from the exchange's configuration.  This response is provided
-    with HTTP status code MHD_HTTP_INTERNAL_ERROR.
+    with HTTP status code #MHD_HTTP_INTERNAL_ERROR.
     """,
 )
 
@@ -448,7 +448,7 @@ ec._add_ec(
     exchange could not find the denomination key.
     This is not a client failure, as the transaction history comes
     from the exchange's configuration.  This response is provided
-    with HTTP status code MHD_HTTP_INTERNAL_ERROR.
+    with HTTP status code #MHD_HTTP_INTERNAL_ERROR.
     """,
 )
 
@@ -460,7 +460,7 @@ ec._add_ec(
     value that is too big for the numeric range for Taler amounts.
     This is not a client failure, as the transaction history comes
     from the exchange's configuration.  This response is provided
-    with HTTP status code MHD_HTTP_INTERNAL_ERROR.
+    with HTTP status code #MHD_HTTP_INTERNAL_ERROR.
     """,
 )
 
@@ -472,7 +472,7 @@ ec._add_ec(
     have been no wire transfers made.  This is not a client failure,
     as this is a database consistency issue of the exchange.  This
     response is provided with HTTP status code
-    MHD_HTTP_INTERNAL_ERROR.
+    #MHD_HTTP_INTERNAL_ERROR.
     """,
 )
 
@@ -482,7 +482,7 @@ ec._add_ec(
     """
     The exchange failed to create the signature using the
     denomination key.  This response is provided with HTTP status
-    code MHD_HTTP_INTERNAL_ERROR.
+    code #MHD_HTTP_INTERNAL_ERROR.
     """,
 )
 
@@ -492,7 +492,7 @@ ec._add_ec(
     """
     The exchange failed to store the withdraw operation in its
     database.  This response is provided with HTTP status code
-    MHD_HTTP_INTERNAL_ERROR.
+    #MHD_HTTP_INTERNAL_ERROR.
     """,
 )
 
@@ -503,7 +503,7 @@ ec._add_ec(
     The exchange failed to check against historic withdraw data from
     database (as part of ensuring the idempotency of the operation).
     This response is provided with HTTP status code
-    MHD_HTTP_INTERNAL_ERROR.
+    #MHD_HTTP_INTERNAL_ERROR.
     """,
 )
 
@@ -514,7 +514,7 @@ ec._add_ec(
     The exchange is not aware of the denomination key
     the wallet requested for the withdrawal.
     This response is provided
-    with HTTP status code MHD_HTTP_NOT_FOUND.
+    with HTTP status code #MHD_HTTP_NOT_FOUND.
     """,
 )
 
@@ -523,7 +523,7 @@ ec._add_ec(
     1111,
     """
     The signature of the reserve is not valid.  This response is
-    provided with HTTP status code MHD_HTTP_BAD_REQUEST.
+    provided with HTTP status code #MHD_HTTP_BAD_REQUEST.
     """,
 )
 
@@ -534,7 +534,7 @@ ec._add_ec(
     When computing the reserve history, we ended up with a negative
     overall balance, which should be impossible.
     This response is provided with HTTP status code
-    MHD_HTTP_INTERNAL_SERVER_ERROR.
+    #MHD_HTTP_INTERNAL_SERVER_ERROR.
     """,
 )
 
@@ -545,7 +545,7 @@ ec._add_ec(
     When computing the reserve history, we ended up with a negative
     overall balance, which should be impossible.
     This response is provided with HTTP status code
-    MHD_HTTP_INTERNAL_SERVER_ERROR.
+    #MHD_HTTP_INTERNAL_SERVER_ERROR.
     """,
 )
 
@@ -606,7 +606,7 @@ ec._add_ec(
     The exchange failed to obtain the transaction history of the
     given reserve from the database.
     This response is provided with HTTP status code
-    MHD_HTTP_INTERNAL_SERVER_ERROR.
+    #MHD_HTTP_INTERNAL_SERVER_ERROR.
     """,
 )
 
@@ -636,7 +636,7 @@ ec._add_ec(
     for the /deposit operation (i.e. due to double spending).
     The "history" in the respose provides the transaction history
     of the coin proving this fact.  This response is provided
-    with HTTP status code MHD_HTTP_CONFLICT.
+    with HTTP status code #MHD_HTTP_CONFLICT.
     """,
 )
 
@@ -648,7 +648,7 @@ ec._add_ec(
     given coin from the database (this does not happen merely because
     the coin is seen by the exchange for the first time).
     This response is provided with HTTP status code
-    MHD_HTTP_INTERNAL_SERVER_ERROR.
+    #MHD_HTTP_INTERNAL_SERVER_ERROR.
     """,
 )
 
@@ -658,7 +658,7 @@ ec._add_ec(
     """
     The exchange failed to store the /depost information in the
     database.  This response is provided with HTTP status code
-    MHD_HTTP_INTERNAL_SERVER_ERROR.
+    #MHD_HTTP_INTERNAL_SERVER_ERROR.
     """,
 )
 
@@ -671,7 +671,7 @@ ec._add_ec(
     supposed to happen; it can happen if someone decides to purge the
     DB behind the back of the exchange process).  Hence the deposit
     is being refused.  This response is provided with HTTP status
-    code MHD_HTTP_INTERNAL_SERVER_ERROR.
+    code #MHD_HTTP_INTERNAL_SERVER_ERROR.
     """,
 )
 
@@ -685,7 +685,7 @@ ec._add_ec(
     it is entirely unknown to the exchange or not in the validity
     period for the deposit operation.  Hence the deposit
     is being refused.  This response is provided with HTTP status
-    code MHD_HTTP_NOT_FOUND.
+    code #MHD_HTTP_NOT_FOUND.
     """,
 )
 
@@ -695,7 +695,7 @@ ec._add_ec(
     """
     The signature made by the coin over the deposit permission is not
     valid.  This response is provided with HTTP status code
-    MHD_HTTP_BAD_REQUEST.
+    #MHD_HTTP_BAD_REQUEST.
     """,
 )
 
@@ -705,7 +705,7 @@ ec._add_ec(
     """
     The signature of the denomination key over the coin is not valid.
     This response is provided with HTTP status code
-    MHD_HTTP_BAD_REQUEST.
+    #MHD_HTTP_BAD_REQUEST.
     """,
 )
 
@@ -715,7 +715,7 @@ ec._add_ec(
     """
     The stated value of the coin after the deposit fee is subtracted
     would be negative.  This response is provided with HTTP status code
-    MHD_HTTP_BAD_REQUEST.
+    #MHD_HTTP_BAD_REQUEST.
     """,
 )
 
@@ -725,7 +725,7 @@ ec._add_ec(
     """
     The stated refund deadline is after the wire deadline.
     This response is provided with HTTP status code
-    MHD_HTTP_BAD_REQUEST.
+    #MHD_HTTP_BAD_REQUEST.
     """,
 )
 
@@ -736,7 +736,7 @@ ec._add_ec(
     The exchange does not recognize the validity of or support the
     given wire format type.
     This response is provided
-    with HTTP status code MHD_HTTP_BAD_REQUEST.
+    with HTTP status code #MHD_HTTP_BAD_REQUEST.
     """,
 )
 
@@ -750,7 +750,7 @@ ec._add_ec(
     exchange will do some basic sanity checking on the wire details,
     it cannot warrant that the banking system will ultimately be able
     to route to the specified address, even if this check passed.
-    This response is provided with HTTP status code MHD_HTTP_BAD_REQUEST.
+    This response is provided with HTTP status code #MHD_HTTP_BAD_REQUEST.
     """,
 )
 
@@ -760,7 +760,7 @@ ec._add_ec(
     """
     The hash of the given wire address does not match the hash
     specified in the proposal data.  This response is provided with
-    HTTP status code MHD_HTTP_BAD_REQUEST.
+    HTTP status code #MHD_HTTP_BAD_REQUEST.
     """,
 )
 
@@ -770,7 +770,7 @@ ec._add_ec(
     """
     The exchange detected that the given account number is invalid for
     the selected wire format type.  This response is provided with HTTP
-    status code MHD_HTTP_BAD_REQUEST.
+    status code #MHD_HTTP_BAD_REQUEST.
     """,
 )
 
@@ -790,7 +790,7 @@ ec._add_ec(
     """
     Validity period of the denomination key
     is in the future.  Returned with an HTTP
-    status of MHD_HTTP_PRECONDITION_FAILED.
+    status of #MHD_HTTP_PRECONDITION_FAILED.
     """,
 )
 
@@ -819,7 +819,7 @@ ec._add_ec(
     """
     The currency specified for the deposit is different from
     the currency of the coin.  This response is provided with HTTP
-    status code MHD_HTTP_PRECONDITION_FAILED.
+    status code #MHD_HTTP_PRECONDITION_FAILED.
     """,
 )
 
@@ -832,7 +832,7 @@ ec._add_ec(
     for the /refresh/melt operation.  The "history" in this
     response provdes the "residual_value" of the coin, which may
     be less than its "original_value".  This response is provided
-    with HTTP status code MHD_HTTP_CONFLICT.
+    with HTTP status code #MHD_HTTP_CONFLICT.
     """,
 )
 
@@ -844,7 +844,7 @@ ec._add_ec(
     for the /refresh/melt operation.  The "history" in this
     response provdes the "residual_value" of the coin, which may
     be less than its "original_value".  This response is provided
-    with HTTP status code MHD_HTTP_CONFLICT.
+    with HTTP status code #MHD_HTTP_CONFLICT.
     """,
 )
 
@@ -855,7 +855,7 @@ ec._add_ec(
     The exchange had an internal error reconstructing the
     transaction history of the coin that was being melted.
     This response is provided with HTTP status code
-    MHD_HTTP_INTERNAL_SERVER_ERROR.
+    #MHD_HTTP_INTERNAL_SERVER_ERROR.
     """,
 )
 
@@ -866,7 +866,7 @@ ec._add_ec(
     The exchange failed to check against historic melt data from
     database (as part of ensuring the idempotency of the operation).
     This response is provided with HTTP status code
-    MHD_HTTP_INTERNAL_ERROR.
+    #MHD_HTTP_INTERNAL_ERROR.
     """,
 )
 
@@ -877,7 +877,7 @@ ec._add_ec(
     The exchange failed to store session data in the
     database.
     This response is provided with HTTP status code
-    MHD_HTTP_INTERNAL_ERROR.
+    #MHD_HTTP_INTERNAL_ERROR.
     """,
 )
 
@@ -887,7 +887,7 @@ ec._add_ec(
     """
     The exchange encountered melt fees exceeding the melted
     coin's contribution.  This response is provided
-    with HTTP status code MHD_HTTP_BAD_REQUEST.
+    with HTTP status code #MHD_HTTP_BAD_REQUEST.
     """,
 )
 
@@ -897,7 +897,7 @@ ec._add_ec(
     """
     The denomination key signature on the melted coin is invalid.
     This response is provided with HTTP status code
-    MHD_HTTP_BAD_REQUEST.
+    #MHD_HTTP_BAD_REQUEST.
     """,
 )
 
@@ -907,7 +907,7 @@ ec._add_ec(
     """
     The signature made with the coin to be melted is invalid.
     This response is provided with HTTP status code
-    MHD_HTTP_BAD_REQUEST.
+    #MHD_HTTP_BAD_REQUEST.
     """,
 )
 
@@ -919,7 +919,7 @@ ec._add_ec(
     given coin from the database while generating an insufficient
     funds errors.
     This response is provided with HTTP status code
-    MHD_HTTP_INTERNAL_SERVER_ERROR.
+    #MHD_HTTP_INTERNAL_SERVER_ERROR.
     """,
 )
 
@@ -947,7 +947,7 @@ ec._add_ec(
     """
     The currency specified for the melt amount is different from
     the currency of the coin.  This response is provided with HTTP
-    status code MHD_HTTP_PRECONDITION_FAILED.
+    status code #MHD_HTTP_PRECONDITION_FAILED.
     """,
 )
 
@@ -957,7 +957,7 @@ ec._add_ec(
     """
     The exchange is unaware of the denomination key that was
     used to sign the melted zombie coin.  This response is provided
-    with HTTP status code MHD_HTTP_NOT_FOUND.
+    with HTTP status code #MHD_HTTP_NOT_FOUND.
     """,
 )
 
@@ -998,7 +998,7 @@ ec._add_ec(
     The provided transfer keys do not match up with the
     original commitment.  Information about the original
     commitment is included in the response.  This response is
-    provided with HTTP status code MHD_HTTP_CONFLICT.
+    provided with HTTP status code #MHD_HTTP_CONFLICT.
     """,
 )
 
@@ -1009,7 +1009,7 @@ ec._add_ec(
     Failed to produce the blinded signatures over the coins
     to be returned.
     This response is provided with HTTP status code
-    MHD_HTTP_INTERNAL_ERROR.
+    #MHD_HTTP_INTERNAL_ERROR.
     """,
 )
 
@@ -1020,7 +1020,7 @@ ec._add_ec(
     The exchange is unaware of the refresh session specified in
     the request.
     This response is provided with HTTP status code
-    MHD_HTTP_BAD_REQUEST.
+    #MHD_HTTP_BAD_REQUEST.
     """,
 )
 
@@ -1031,7 +1031,7 @@ ec._add_ec(
     The exchange failed to retrieve valid session data from the
     database.
     This response is provided with HTTP status code
-    MHD_HTTP_INTERNAL_ERROR.
+    #MHD_HTTP_INTERNAL_ERROR.
     """,
 )
 
@@ -1041,7 +1041,7 @@ ec._add_ec(
     """
     The exchange failed to retrieve previously revealed data from the
     database.  This response is provided with HTTP status code
-    MHD_HTTP_INTERNAL_ERROR.
+    #MHD_HTTP_INTERNAL_ERROR.
     """,
 )
 
@@ -1052,7 +1052,7 @@ ec._add_ec(
     The exchange failed to retrieve commitment data from the
     database.
     This response is provided with HTTP status code
-    MHD_HTTP_INTERNAL_ERROR.
+    #MHD_HTTP_INTERNAL_ERROR.
     """,
 )
 
@@ -1063,7 +1063,7 @@ ec._add_ec(
     The size of the cut-and-choose dimension of the
     private transfer keys request does not match #TALER_CNC_KAPPA - 1.
     This response is provided with HTTP status code
-    MHD_HTTP_BAD_REQUEST.
+    #MHD_HTTP_BAD_REQUEST.
     """,
 )
 
@@ -1075,7 +1075,7 @@ ec._add_ec(
     of the exchange.
     private transfer keys request does not match #TALER_CNC_KAPPA - 1.
     This response is provided with HTTP status code
-    MHD_HTTP_BAD_REQUEST.
+    #MHD_HTTP_BAD_REQUEST.
     """,
 )
 
@@ -1086,7 +1086,7 @@ ec._add_ec(
     The number of envelopes given does not match the number
     of denomination keys given.
     This response is provided with HTTP status code
-    MHD_HTTP_BAD_REQUEST.
+    #MHD_HTTP_BAD_REQUEST.
     """,
 )
 
@@ -1096,7 +1096,7 @@ ec._add_ec(
     """
     The exchange encountered a numeric overflow totaling up
     the cost for the refresh operation.  This response is provided
-    with HTTP status code MHD_HTTP_INTERNAL_SERVER_ERROR.
+    with HTTP status code #MHD_HTTP_INTERNAL_SERVER_ERROR.
     """,
 )
 
@@ -1106,7 +1106,7 @@ ec._add_ec(
     """
     The exchange's cost calculation shows that the melt amount
     is below the costs of the transaction.  This response is provided
-    with HTTP status code MHD_HTTP_BAD_REQUEST.
+    with HTTP status code #MHD_HTTP_BAD_REQUEST.
     """,
 )
 
@@ -1116,7 +1116,7 @@ ec._add_ec(
     """
     The exchange is unaware of the denomination key that was
     requested for one of the fresh coins.  This response is provided
-    with HTTP status code MHD_HTTP_BAD_REQUEST.
+    with HTTP status code #MHD_HTTP_BAD_REQUEST.
     """,
 )
 
@@ -1127,7 +1127,7 @@ ec._add_ec(
     """
     The signature made with the coin over the link data is invalid.
     This response is provided with HTTP status code
-    MHD_HTTP_BAD_REQUEST.
+    #MHD_HTTP_BAD_REQUEST.
     """,
 )
 
@@ -1138,7 +1138,7 @@ ec._add_ec(
     The exchange failed to generate the signature as
     it could not find the signing key for the denomination.
     This response is provided with HTTP status code
-    MHD_HTTP_INTERNAL_SERVER_ERROR.
+    #MHD_HTTP_INTERNAL_SERVER_ERROR.
     """,
 )
 
@@ -1166,7 +1166,7 @@ ec._add_ec(
     """
     The coin specified in the link request is unknown to the exchange.
     This response is provided with HTTP status code
-    MHD_HTTP_NOT_FOUND.
+    #MHD_HTTP_NOT_FOUND.
     """,
 )
 
@@ -1187,7 +1187,7 @@ ec._add_ec(
     to refund. But without a transaction history, we cannot issue a
     refund.  This is kind-of OK, the owner should just refresh it
     directly without executing the refund.  This response is provided
-    with HTTP status code MHD_HTTP_NOT_FOUND.
+    with HTTP status code #MHD_HTTP_NOT_FOUND.
     """,
 )
 
@@ -1198,7 +1198,7 @@ ec._add_ec(
     We could not process the refund request as the coin's transaction
     history does not permit the requested refund at this time.  The
     "history" in the response proves this.  This response is provided
-    with HTTP status code MHD_HTTP_CONFLICT.
+    with HTTP status code #MHD_HTTP_CONFLICT.
     """,
 )
 
@@ -1210,7 +1210,7 @@ ec._add_ec(
     not about the specific /deposit operation.  Hence, we cannot
     issue a refund (as we do not know if this merchant public key is
     authorized to do a refund).  This response is provided with HTTP
-    status code MHD_HTTP_NOT_FOUND.
+    status code #MHD_HTTP_NOT_FOUND.
     """,
 )
 
@@ -1220,7 +1220,7 @@ ec._add_ec(
     """
     The currency specified for the refund is different from
     the currency of the coin.  This response is provided with HTTP
-    status code MHD_HTTP_PRECONDITION_FAILED.
+    status code #MHD_HTTP_PRECONDITION_FAILED.
     """,
 )
 
@@ -1232,7 +1232,7 @@ ec._add_ec(
     exchange's database suddenly disagreed with data it previously
     provided (internal inconsistency).
     This response is provided with HTTP status code
-    MHD_HTTP_INTERNAL_SERVER_ERROR.
+    #MHD_HTTP_INTERNAL_SERVER_ERROR.
     """,
 )
 
@@ -1244,7 +1244,7 @@ ec._add_ec(
     money was already transferred (paid out) to the merchant.
     (It should be past the refund deadline.)
     This response is provided with HTTP status code
-    MHD_HTTP_GONE.
+    #MHD_HTTP_GONE.
     """,
 )
 
@@ -1255,7 +1255,7 @@ ec._add_ec(
     The amount the exchange was asked to refund exceeds
     (with fees) the total amount of the deposit (including fees).
     This response is provided with HTTP status code
-    MHD_HTTP_PRECONDITION_FAILED.
+    #MHD_HTTP_PRECONDITION_FAILED.
     """,
 )
 
@@ -1268,7 +1268,7 @@ ec._add_ec(
     recognizes the key).  Hence it could not check the fee
     strucutre.
     This response is provided with HTTP status code
-    MHD_HTTP_INTERNAL_SERVER_ERROR.
+    #MHD_HTTP_INTERNAL_SERVER_ERROR.
     """,
 )
 
@@ -1280,7 +1280,7 @@ ec._add_ec(
     the refund fee charged by the exchange for the given
     denomination key of the refunded coin.
     This response is provided with HTTP status code
-    MHD_HTTP_BAD_REQUEST.
+    #MHD_HTTP_BAD_REQUEST.
     """,
 )
 
@@ -1291,7 +1291,7 @@ ec._add_ec(
     The exchange failed to store the refund information to
     its database.
     This response is provided with HTTP status code
-    MHD_HTTP_INTERNAL_SERVER_ERROR.
+    #MHD_HTTP_INTERNAL_SERVER_ERROR.
     """,
 )
 
@@ -1302,7 +1302,7 @@ ec._add_ec(
     The refund fee is specified in a different currency
     than the refund amount.
     This response is provided with HTTP status code
-    MHD_HTTP_BAD_REQUEST.
+    #MHD_HTTP_BAD_REQUEST.
     """,
 )
 
@@ -1313,7 +1313,7 @@ ec._add_ec(
     The refunded amount is smaller than the refund fee,
     which would result in a negative refund.
     This response is provided with HTTP status code
-    MHD_HTTP_BAD_REQUEST.
+    #MHD_HTTP_BAD_REQUEST.
     """,
 )
 
@@ -1323,7 +1323,7 @@ ec._add_ec(
     """
     The signature of the merchant is invalid.
     This response is provided with HTTP status code
-    MHD_HTTP_BAD_REQUEST.
+    #MHD_HTTP_BAD_REQUEST.
     """,
 )
 
@@ -1333,7 +1333,7 @@ ec._add_ec(
     """
     Merchant backend failed to create the refund confirmation signature.
     This response is provided with HTTP status code
-    MHD_HTTP_INTERNAL_SERVER_ERROR.
+    #MHD_HTTP_INTERNAL_SERVER_ERROR.
     """,
 )
 
@@ -1352,7 +1352,7 @@ ec._add_ec(
     """
     The wire format specified in the "sender_account_details"
     is not understood or not supported by this exchange.
-    Returned with an HTTP status code of MHD_HTTP_NOT_FOUND.
+    Returned with an HTTP status code of #MHD_HTTP_NOT_FOUND.
     (As we did not find an interpretation of the wire format.)
     """,
 )
@@ -1363,7 +1363,7 @@ ec._add_ec(
     """
     The currency specified in the "amount" parameter is not
     supported by this exhange.  Returned with an HTTP status
-    code of MHD_HTTP_BAD_REQUEST.
+    code of #MHD_HTTP_BAD_REQUEST.
     """,
 )
 
@@ -1373,7 +1373,7 @@ ec._add_ec(
     """
     The exchange failed to store information about the incoming
     transfer in its database.  This response is provided with HTTP
-    status code MHD_HTTP_INTERNAL_SERVER_ERROR.
+    status code #MHD_HTTP_INTERNAL_SERVER_ERROR.
     """,
 )
 
@@ -1384,7 +1384,7 @@ ec._add_ec(
     The exchange encountered an error (that is not about not finding
     the wire transfer) trying to lookup a wire transfer identifier
     in the database.  This response is provided with HTTP
-    status code MHD_HTTP_INTERNAL_SERVER_ERROR.
+    status code #MHD_HTTP_INTERNAL_SERVER_ERROR.
     """,
 )
 
@@ -1394,7 +1394,7 @@ ec._add_ec(
     """
     The exchange found internally inconsistent data when resolving a
     wire transfer identifier in the database.  This response is
-    provided with HTTP status code MHD_HTTP_INTERNAL_SERVER_ERROR.
+    provided with HTTP status code #MHD_HTTP_INTERNAL_SERVER_ERROR.
     """,
 )
 
@@ -1404,7 +1404,7 @@ ec._add_ec(
     """
     The exchange did not find information about the specified
     wire transfer identifier in the database.  This response is
-    provided with HTTP status code MHD_HTTP_NOT_FOUND.
+    provided with HTTP status code #MHD_HTTP_NOT_FOUND.
     """,
 )
 
@@ -1414,7 +1414,7 @@ ec._add_ec(
     """
     The exchange did not find information about the wire transfer
     fees it charged. This response is
-    provided with HTTP status code MHD_HTTP_INTERNAL_SERVER_ERROR.
+    provided with HTTP status code #MHD_HTTP_INTERNAL_SERVER_ERROR.
     """,
 )
 
@@ -1424,7 +1424,7 @@ ec._add_ec(
     """
     The exchange found a wire fee that was above the total transfer
     value (and thus could not have been charged). This response is
-    provided with HTTP status code MHD_HTTP_INTERNAL_SERVER_ERROR.
+    provided with HTTP status code #MHD_HTTP_INTERNAL_SERVER_ERROR.
     """,
 )
 
@@ -1444,7 +1444,7 @@ ec._add_ec(
     The exchange found internally inconsistent fee data when
     resolving a transaction in the database.  This
     response is provided with HTTP status code
-    MHD_HTTP_INTERNAL_SERVER_ERROR.
+    #MHD_HTTP_INTERNAL_SERVER_ERROR.
     """,
 )
 
@@ -1455,7 +1455,7 @@ ec._add_ec(
     The exchange encountered an error (that is not about not finding
     the transaction) trying to lookup a transaction
     in the database.  This response is provided with HTTP
-    status code MHD_HTTP_INTERNAL_SERVER_ERROR.
+    status code #MHD_HTTP_INTERNAL_SERVER_ERROR.
     """,
 )
 
@@ -1465,7 +1465,7 @@ ec._add_ec(
     """
     The exchange did not find information about the specified
     transaction in the database.  This response is
-    provided with HTTP status code MHD_HTTP_NOT_FOUND.
+    provided with HTTP status code #MHD_HTTP_NOT_FOUND.
     """,
 )
 
@@ -1476,7 +1476,7 @@ ec._add_ec(
     The exchange failed to identify the wire transfer of the
     transaction (or information about the plan that it was supposed
     to still happen in the future).  This response is provided with
-    HTTP status code MHD_HTTP_INTERNAL_SERVER_ERROR.
+    HTTP status code #MHD_HTTP_INTERNAL_SERVER_ERROR.
     """,
 )
 
@@ -1486,7 +1486,7 @@ ec._add_ec(
     """
     The signature of the merchant is invalid.
     This response is provided with HTTP status code
-    MHD_HTTP_BAD_REQUEST.
+    #MHD_HTTP_BAD_REQUEST.
     """,
 )
 
@@ -1496,7 +1496,7 @@ ec._add_ec(
     """
     The given denomination key is not in the "recoup" set of the
     exchange right now.  This response is provided with an
-    HTTP status code of MHD_HTTP_NOT_FOUND.
+    HTTP status code of #MHD_HTTP_NOT_FOUND.
     """,
 )
 
@@ -1506,7 +1506,7 @@ ec._add_ec(
     """
     The given coin signature is invalid for the request.
     This response is provided with an
-    HTTP status code of MHD_HTTP_FORBIDDEN.
+    HTTP status code of #MHD_HTTP_FORBIDDEN.
     """,
 )
 
@@ -1516,7 +1516,7 @@ ec._add_ec(
     """
     The signature of the denomination key over the coin is not valid.
     This response is provided with HTTP status code
-    MHD_HTTP_BAD_REQUEST.
+    #MHD_HTTP_BAD_REQUEST.
     """,
 )
 
@@ -1526,7 +1526,7 @@ ec._add_ec(
     """
     The exchange failed to access its own database about reserves.
     This response is provided with HTTP status code
-    MHD_HTTP_INTERNAL_SERVER_ERROR.
+    #MHD_HTTP_INTERNAL_SERVER_ERROR.
     """,
 )
 
@@ -1536,7 +1536,7 @@ ec._add_ec(
     """
     The exchange could not find the corresponding withdraw operation.
     The request is denied.  This response is provided with an HTTP
-    status code of MHD_HTTP_NOT_FOUND.
+    status code of #MHD_HTTP_NOT_FOUND.
     """,
 )
 
@@ -1546,7 +1546,7 @@ ec._add_ec(
     """
     The exchange obtained an internally inconsistent transaction
     history for the given coin. This response is provided with HTTP
-    status code MHD_HTTP_INTERNAL_SERVER_ERROR.
+    status code #MHD_HTTP_INTERNAL_SERVER_ERROR.
     """,
 )
 
@@ -1556,7 +1556,7 @@ ec._add_ec(
     """
     The exchange failed to store information about the recoup to be
     performed in the database. This response is provided with HTTP
-    status code MHD_HTTP_INTERNAL_SERVER_ERROR.
+    status code #MHD_HTTP_INTERNAL_SERVER_ERROR.
     """,
 )
 
@@ -1566,7 +1566,7 @@ ec._add_ec(
     """
     The coin's remaining balance is zero.  The request is denied.
     This response is provided with an HTTP status code of
-    MHD_HTTP_FORBIDDEN.
+    #MHD_HTTP_FORBIDDEN.
     """,
 )
 
@@ -1576,7 +1576,7 @@ ec._add_ec(
     """
     The exchange failed to reproduce the coin's blinding.
     This response is provided with an HTTP status code of
-    MHD_HTTP_INTERNAL_SERVER_ERROR.
+    #MHD_HTTP_INTERNAL_SERVER_ERROR.
     """,
 )
 
@@ -1586,7 +1586,7 @@ ec._add_ec(
     """
     The coin's remaining balance is zero.  The request is denied.
     This response is provided with an HTTP status code of
-    MHD_HTTP_INTERNAL_SERVER_ERROR
+    #MHD_HTTP_INTERNAL_SERVER_ERROR
     """,
 )
 
@@ -1615,7 +1615,7 @@ ec._add_ec(
     """
     The "have" parameter was not a natural number.
     This reponse is provied with an HTTP status code of
-    MHD_HTTP_BAD_REQUEST.
+    #MHD_HTTP_BAD_REQUEST.
     """,
 )
 
@@ -1625,7 +1625,7 @@ ec._add_ec(
     """
     We currently cannot find any keys.
     This reponse is provied with an HTTP status code of
-    MHD_HTTP_INTERNAL_SERVER_ERROR.
+    #MHD_HTTP_INTERNAL_SERVER_ERROR.
     """,
 )
 
@@ -1636,7 +1636,7 @@ ec._add_ec(
     This exchange does not allow clients to request /keys for
     times other than the current (exchange) time.
     This reponse is provied with an HTTP status code of
-    MHD_HTTP_FORBIDDEN.
+    #MHD_HTTP_FORBIDDEN.
     """,
 )
 
@@ -1647,7 +1647,7 @@ ec._add_ec(
     """
     The backend could not find the merchant instance specified
     in the request.   This response is
-    provided with HTTP status code MHD_HTTP_NOT_FOUND.
+    provided with HTTP status code #MHD_HTTP_NOT_FOUND.
     """,
 )
 
@@ -1667,7 +1667,7 @@ ec._add_ec(
     """
     The exchange failed to provide a meaningful response
     to a /deposit request.  This response is provided
-    with HTTP status code MHD_HTTP_SERVICE_UNAVAILABLE.
+    with HTTP status code #MHD_HTTP_SERVICE_UNAVAILABLE.
     """,
 )
 
@@ -1677,7 +1677,7 @@ ec._add_ec(
     """
     The merchant failed to commit the exchanges' response to
     a /deposit request to its database.  This response is provided
-    with HTTP status code MHD_HTTP_INTERNAL_SERVER_ERROR.
+    with HTTP status code #MHD_HTTP_INTERNAL_SERVER_ERROR.
     """,
 )
 
@@ -1687,7 +1687,7 @@ ec._add_ec(
     """
     The specified exchange is not supported/trusted by
     this merchant.  This response is provided
-    with HTTP status code MHD_HTTP_PRECONDITION_FAILED.
+    with HTTP status code #MHD_HTTP_PRECONDITION_FAILED.
     """,
 )
 
@@ -1697,7 +1697,7 @@ ec._add_ec(
     """
     The denomination key used for payment is not listed among the
     denomination keys of the exchange.  This response is provided
-    with HTTP status code MHD_HTTP_BAD_REQUEST.
+    with HTTP status code #MHD_HTTP_BAD_REQUEST.
     """,
 )
 
@@ -1707,7 +1707,7 @@ ec._add_ec(
     """
     The denomination key used for payment is not audited by an
     auditor approved by the merchant.  This response is provided
-    with HTTP status code MHD_HTTP_BAD_REQUEST.
+    with HTTP status code #MHD_HTTP_BAD_REQUEST.
     """,
 )
 
@@ -1717,7 +1717,7 @@ ec._add_ec(
     """
     There was an integer overflow totaling up the amounts or
     deposit fees in the payment.  This response is provided
-    with HTTP status code MHD_HTTP_BAD_REQUEST.
+    with HTTP status code #MHD_HTTP_BAD_REQUEST.
     """,
 )
 
@@ -1727,7 +1727,7 @@ ec._add_ec(
     """
     The deposit fees exceed the total value of the payment.
     This response is provided
-    with HTTP status code MHD_HTTP_BAD_REQUEST.
+    with HTTP status code #MHD_HTTP_BAD_REQUEST.
     """,
 )
 
@@ -1738,7 +1738,7 @@ ec._add_ec(
     After considering deposit fees, the payment is insufficient
     to satisfy the required amount for the contract.
     This response is provided
-    with HTTP status code MHD_HTTP_BAD_REQUEST.
+    with HTTP status code #MHD_HTTP_BAD_REQUEST.
     """,
 )
 
@@ -1749,7 +1749,7 @@ ec._add_ec(
     While the merchant is happy to cover all applicable deposit fees,
     the payment is insufficient to satisfy the required amount for
     the contract.  This response is provided with HTTP status code
-    MHD_HTTP_BAD_REQUEST.
+    #MHD_HTTP_BAD_REQUEST.
     """,
 )
 
@@ -1759,7 +1759,7 @@ ec._add_ec(
     """
     The signature over the contract of one of the coins
     was invalid. This response is provided with HTTP status code
-    MHD_HTTP_BAD_REQUEST.
+    #MHD_HTTP_BAD_REQUEST.
     """,
 )
 
@@ -1769,7 +1769,7 @@ ec._add_ec(
     """
     We failed to contact the exchange for the /pay request.
     This response is provided
-    with HTTP status code MHD_HTTP_SERVICE_UNAVAILABLE.
+    with HTTP status code #MHD_HTTP_SERVICE_UNAVAILABLE.
     """,
 )
 
@@ -1779,7 +1779,7 @@ ec._add_ec(
     """
     The signature over the contract of the merchant
     was invalid. This response is provided with HTTP status code
-    MHD_HTTP_BAD_REQUEST.
+    #MHD_HTTP_BAD_REQUEST.
     """,
 )
 
@@ -1789,7 +1789,7 @@ ec._add_ec(
     """
     The refund deadline was after the transfer deadline.
     This response is provided with HTTP status code
-    MHD_HTTP_BAD_REQUEST.
+    #MHD_HTTP_BAD_REQUEST.
     """,
 )
 
@@ -1799,7 +1799,7 @@ ec._add_ec(
     """
     The request fails to provide coins for the payment.
     This response is provided with HTTP status code
-    MHD_HTTP_BAD_REQUEST.
+    #MHD_HTTP_BAD_REQUEST.
     """,
 )
 
@@ -1809,7 +1809,7 @@ ec._add_ec(
     """
     The merchant failed to fetch the merchant's previous state with
     respect to a /pay request from its database.  This response is
-    provided with HTTP status code MHD_HTTP_INTERNAL_SERVER_ERROR.
+    provided with HTTP status code #MHD_HTTP_INTERNAL_SERVER_ERROR.
     """,
 )
 
@@ -1819,7 +1819,7 @@ ec._add_ec(
     """
     The merchant failed to fetch the merchant's previous state with
     respect to transactions from its database.  This response is
-    provided with HTTP status code MHD_HTTP_INTERNAL_SERVER_ERROR.
+    provided with HTTP status code #MHD_HTTP_INTERNAL_SERVER_ERROR.
     """,
 )
 
@@ -1829,7 +1829,7 @@ ec._add_ec(
     """
     The transaction ID was used for a conflicing transaction before.
     This response is
-    provided with HTTP status code MHD_HTTP_BAD_REQUEST.
+    provided with HTTP status code #MHD_HTTP_BAD_REQUEST.
     """,
 )
 
@@ -1839,7 +1839,7 @@ ec._add_ec(
     """
     The merchant failed to store the merchant's state with
     respect to the transaction in its database.  This response is
-    provided with HTTP status code MHD_HTTP_INTERNAL_SERVER_ERROR.
+    provided with HTTP status code #MHD_HTTP_INTERNAL_SERVER_ERROR.
     """,
 )
 
@@ -1850,7 +1850,7 @@ ec._add_ec(
     The exchange failed to provide a valid response to
     the merchant's /keys request.
     This response is provided
-    with HTTP status code MHD_HTTP_SERVICE_UNAVAILABLE.
+    with HTTP status code #MHD_HTTP_SERVICE_UNAVAILABLE.
     """,
 )
 
@@ -1860,7 +1860,7 @@ ec._add_ec(
     """
     The payment is too late, the offer has expired.
     This response is
-    provided with HTTP status code MHD_HTTP_BAD_REQUEST.
+    provided with HTTP status code #MHD_HTTP_BAD_REQUEST.
     """,
 )
 
@@ -1870,7 +1870,7 @@ ec._add_ec(
     """
     The "merchant" field is missing in the proposal data.
     This response is
-    provided with HTTP status code MHD_HTTP_BAD_REQUEST.
+    provided with HTTP status code #MHD_HTTP_BAD_REQUEST.
     """,
 )
 
@@ -1880,7 +1880,7 @@ ec._add_ec(
     """
     Failed computing a hash code (likely server out-of-memory).
     This response is
-    provided with HTTP status code MHD_HTTP_INTERNAL_SERVER_ERROR.
+    provided with HTTP status code #MHD_HTTP_INTERNAL_SERVER_ERROR.
     """,
 )
 
@@ -1891,7 +1891,7 @@ ec._add_ec(
     Failed to locate merchant's account information matching the
     wire hash given in the proposal.
     This response is
-    provided with HTTP status code MHD_HTTP_INTERNAL_SERVER_ERROR.
+    provided with HTTP status code #MHD_HTTP_INTERNAL_SERVER_ERROR.
     """,
 )
 
@@ -1901,7 +1901,7 @@ ec._add_ec(
     """
     We got different currencies for the wire fee and the maximum wire
     fee.  This response is provided with HTTP status code of
-    MHD_HTTP_INTERNAL_SERVER_ERROR.
+    #MHD_HTTP_INTERNAL_SERVER_ERROR.
     """,
 )
 
@@ -1912,7 +1912,7 @@ ec._add_ec(
     The merchant refuses to abort and refund the payment
     operation as the payment succeeded already.
     This response is provided with HTTP status code of
-    MHD_HTTP_FORBIDDEN.
+    #MHD_HTTP_FORBIDDEN.
     """,
 )
 
@@ -1932,7 +1932,7 @@ ec._add_ec(
     """
     Integer overflow with sepcified timestamp argument detected.
     This response is provided
-    with HTTP status code MHD_HTTP_BAD_REQUEST.
+    with HTTP status code #MHD_HTTP_BAD_REQUEST.
     """,
 )
 
@@ -1942,7 +1942,7 @@ ec._add_ec(
     """
     Failed to retrieve history from merchant database.
     This response is provided
-    with HTTP status code MHD_HTTP_INTERNAL_SERVER_ERROR.
+    with HTTP status code #MHD_HTTP_INTERNAL_SERVER_ERROR.
     """,
 )
 
@@ -1952,7 +1952,7 @@ ec._add_ec(
     """
     The backend could not find the contract specified
     in the request.   This response is
-    provided with HTTP status code MHD_HTTP_NOT_FOUND.
+    provided with HTTP status code #MHD_HTTP_NOT_FOUND.
     """,
 )
 
@@ -1962,7 +1962,7 @@ ec._add_ec(
     """
     We failed to contact the exchange for the /track/transaction
     request.  This response is provided with HTTP status code
-    MHD_HTTP_SERVICE_UNAVAILABLE.
+    #MHD_HTTP_SERVICE_UNAVAILABLE.
     """,
 )
 
@@ -1972,7 +1972,7 @@ ec._add_ec(
     """
     The backend could not find the transaction specified
     in the request.   This response is
-    provided with HTTP status code MHD_HTTP_NOT_FOUND.
+    provided with HTTP status code #MHD_HTTP_NOT_FOUND.
     """,
 )
 
@@ -1983,7 +1983,7 @@ ec._add_ec(
     The backend had a database access error trying to
     retrieve transaction data from its database.
     The response is
-    provided with HTTP status code MHD_HTTP_INTERNAL_SERVER_ERROR.
+    provided with HTTP status code #MHD_HTTP_INTERNAL_SERVER_ERROR.
     """,
 )
 
@@ -1994,7 +1994,7 @@ ec._add_ec(
     The backend had a database access error trying to
     retrieve payment data from its database.
     The response is
-    provided with HTTP status code MHD_HTTP_INTERNAL_SERVER_ERROR.
+    provided with HTTP status code #MHD_HTTP_INTERNAL_SERVER_ERROR.
     """,
 )
 
@@ -2005,7 +2005,7 @@ ec._add_ec(
     The backend found no applicable deposits in the database.
     This is odd, as we know about the transaction, but not
     about deposits we made for the transaction.  The response is
-    provided with HTTP status code MHD_HTTP_NOT_FOUND.
+    provided with HTTP status code #MHD_HTTP_NOT_FOUND.
     """,
 )
 
@@ -2015,8 +2015,8 @@ ec._add_ec(
     """
     We failed to obtain a wire transfer identifier for one
     of the coins in the transaction.  The response is
-    provided with HTTP status code MHD_HTTP_FAILED_DEPENDENCY if
-    the exchange had a hard error, or MHD_HTTP_ACCEPTED if the
+    provided with HTTP status code #MHD_HTTP_FAILED_DEPENDENCY if
+    the exchange had a hard error, or #MHD_HTTP_ACCEPTED if the
     exchange signaled that the transfer was in progress.
     """,
 )
@@ -2028,7 +2028,7 @@ ec._add_ec(
     We failed to obtain the full wire transfer identifier for the
     transfer one of the coins was aggregated into.
     The response is
-    provided with HTTP status code MHD_HTTP_FAILED_DEPENDENCY.
+    provided with HTTP status code #MHD_HTTP_FAILED_DEPENDENCY.
     """,
 )
 
@@ -2040,7 +2040,7 @@ ec._add_ec(
     respect to which transfers are included in which
     aggregate.
     The response is
-    provided with HTTP status code MHD_HTTP_FAILED_DEPENDENCY.
+    provided with HTTP status code #MHD_HTTP_FAILED_DEPENDENCY.
     """,
 )
 
@@ -2051,7 +2051,7 @@ ec._add_ec(
     """
     We failed to contact the exchange for the /track/transfer
     request.  This response is provided with HTTP status code
-    MHD_HTTP_SERVICE_UNAVAILABLE.
+    #MHD_HTTP_SERVICE_UNAVAILABLE.
     """,
 )
 
@@ -2062,7 +2062,7 @@ ec._add_ec(
     We failed to persist coin wire transfer information in
     our merchant database.
     The response is
-    provided with HTTP status code MHD_HTTP_INTERNAL_SERVER_ERROR.
+    provided with HTTP status code #MHD_HTTP_INTERNAL_SERVER_ERROR.
     """,
 )
 
@@ -2072,7 +2072,7 @@ ec._add_ec(
     """
     We internally failed to execute the /track/transfer request.
     The response is
-    provided with HTTP status code MHD_HTTP_INTERNAL_SERVER_ERROR.
+    provided with HTTP status code #MHD_HTTP_INTERNAL_SERVER_ERROR.
     """,
 )
 
@@ -2083,7 +2083,7 @@ ec._add_ec(
     We failed to persist wire transfer information in
     our merchant database.
     The response is
-    provided with HTTP status code MHD_HTTP_INTERNAL_SERVER_ERROR.
+    provided with HTTP status code #MHD_HTTP_INTERNAL_SERVER_ERROR.
     """,
 )
 
@@ -2093,7 +2093,7 @@ ec._add_ec(
     """
     The exchange returned an error from /track/transfer.
     The response is
-    provided with HTTP status code MHD_HTTP_FAILED_DEPENDENCY.
+    provided with HTTP status code #MHD_HTTP_FAILED_DEPENDENCY.
     """,
 )
 
@@ -2104,7 +2104,7 @@ ec._add_ec(
     We failed to fetch deposit information from
     our merchant database.
     The response is
-    provided with HTTP status code MHD_HTTP_INTERNAL_SERVER_ERROR.
+    provided with HTTP status code #MHD_HTTP_INTERNAL_SERVER_ERROR.
     """,
 )
 
@@ -2114,7 +2114,7 @@ ec._add_ec(
     """
     We encountered an internal logic error.
     The response is
-    provided with HTTP status code MHD_HTTP_INTERNAL_SERVER_ERROR.
+    provided with HTTP status code #MHD_HTTP_INTERNAL_SERVER_ERROR.
     """,
 )
 
@@ -2125,7 +2125,7 @@ ec._add_ec(
     The exchange gave conflicting information about a coin which has
     been wire transferred.
     The response is provided with HTTP status code
-    MHD_HTTP_FAILED_DEPENDENCY.
+    #MHD_HTTP_FAILED_DEPENDENCY.
     """,
 )
 
@@ -2144,7 +2144,7 @@ ec._add_ec(
     The exchange charged a different wire fee than what it
     originally advertised, and it is higher.  The response
     is provied with an HTTP status of
-    MHD_HTTP_BAD_DEPENDENCY.
+    #MHD_HTTP_BAD_DEPENDENCY.
     """,
 )
 
@@ -2163,7 +2163,7 @@ ec._add_ec(
     """
     The backend encountered an error while trying to store the
     h_contract_terms into the database.
-    The response is provided with HTTP status code 
MHD_HTTP_INTERNAL_SERVER_ERROR.
+    The response is provided with HTTP status code 
#MHD_HTTP_INTERNAL_SERVER_ERROR.
     """,
 )
 
@@ -2209,7 +2209,7 @@ ec._add_ec(
     """
     The backend encountered an error while trying to find the
     existing proposal in the database.
-    The response is provided with HTTP status code 
MHD_HTTP_INTERNAL_SERVER_ERROR.
+    The response is provided with HTTP status code 
#MHD_HTTP_INTERNAL_SERVER_ERROR.
     """,
 )
 
@@ -2219,7 +2219,7 @@ ec._add_ec(
     """
     The backend encountered an error while trying to find the
     existing proposal in the database.
-    The response is provided with HTTP status code 
MHD_HTTP_INTERNAL_SERVER_ERROR.
+    The response is provided with HTTP status code 
#MHD_HTTP_INTERNAL_SERVER_ERROR.
     """,
 )
 
@@ -2229,7 +2229,7 @@ ec._add_ec(
     """
     The backend encountered an error: the proposal already
     exists.
-    The response is provided with HTTP status code 
MHD_HTTP_INTERNAL_SERVER_ERROR.
+    The response is provided with HTTP status code 
#MHD_HTTP_INTERNAL_SERVER_ERROR.
     """,
 )
 
@@ -2571,7 +2571,7 @@ ec._add_ec(
     """
     We failed to contract terms from our merchant database.
     The response is provided with HTTP status code
-    MHD_HTTP_INTERNAL_SERVER_ERROR.
+    #MHD_HTTP_INTERNAL_SERVER_ERROR.
     """,
 )
 
@@ -2581,7 +2581,7 @@ ec._add_ec(
     """
     We failed to contract terms from our merchant database.
     The response is provided with HTTP status code
-    MHD_HTTP_INTERNAL_SERVER_ERROR.
+    #MHD_HTTP_INTERNAL_SERVER_ERROR.
     """,
 )
 
@@ -2600,7 +2600,7 @@ ec._add_ec(
     """
     Failed computing a hash code (likely server out-of-memory).
     This response is
-    provided with HTTP status code MHD_HTTP_INTERNAL_SERVER_ERROR.
+    provided with HTTP status code #MHD_HTTP_INTERNAL_SERVER_ERROR.
     """,
 )
 
@@ -2609,7 +2609,7 @@ ec._add_ec(
     2915,
     """
     Signature "session_sig" failed to verify. This response is
-    provided with HTTP status code MHD_HTTP_BAD_REQUEST.
+    provided with HTTP status code #MHD_HTTP_BAD_REQUEST.
     """,
 )
 
@@ -2629,7 +2629,7 @@ ec._add_ec(
     """
     The auditor had trouble storing the deposit confirmation
     in its database. Returned with an HTTP status code of
-    MHD_HTTP_INTERNAL_SERVER_ERROR.
+    #MHD_HTTP_INTERNAL_SERVER_ERROR.
     """,
 )
 
@@ -2639,7 +2639,7 @@ ec._add_ec(
     """
     The auditor had trouble retrieving the exchange list
     from its database. Returned with an HTTP status code of
-    MHD_HTTP_INTERNAL_SERVER_ERROR.
+    #MHD_HTTP_INTERNAL_SERVER_ERROR.
     """,
 )
 
@@ -2649,7 +2649,7 @@ ec._add_ec(
     """
     The auditor had trouble storing an exchange in its
     database. Returned with an HTTP status code of
-    MHD_HTTP_INTERNAL_SERVER_ERROR.
+    #MHD_HTTP_INTERNAL_SERVER_ERROR.
     """,
 )
 
@@ -2667,7 +2667,7 @@ ec._add_ec(
     4000,
     """
     The exchange failed to compute ECDH.  This response is provided
-    with HTTP status code MHD_HTTP_INTERNAL_SERVER_ERROR.
+    with HTTP status code #MHD_HTTP_INTERNAL_SERVER_ERROR.
     """,
 )
 
@@ -2676,7 +2676,7 @@ ec._add_ec(
     4001,
     """
     The EdDSA test signature is invalid.  This response is provided
-    with HTTP status code MHD_HTTP_BAD_REQUEST.
+    with HTTP status code #MHD_HTTP_BAD_REQUEST.
     """,
 )
 
@@ -2685,7 +2685,7 @@ ec._add_ec(
     4002,
     """
     The exchange failed to compute the EdDSA test signature.  This response is 
provided
-    with HTTP status code MHD_HTTP_INTERNAL_SERVER_ERROR.
+    with HTTP status code #MHD_HTTP_INTERNAL_SERVER_ERROR.
     """,
 )
 
@@ -2694,7 +2694,7 @@ ec._add_ec(
     4003,
     """
     The exchange failed to generate an RSA key.  This response is provided
-    with HTTP status code MHD_HTTP_INTERNAL_SERVER_ERROR.
+    with HTTP status code #MHD_HTTP_INTERNAL_SERVER_ERROR.
     """,
 )
 
@@ -2703,7 +2703,7 @@ ec._add_ec(
     4004,
     """
     The exchange failed to compute the public RSA key.  This response
-    is provided with HTTP status code MHD_HTTP_INTERNAL_SERVER_ERROR.
+    is provided with HTTP status code #MHD_HTTP_INTERNAL_SERVER_ERROR.
     """,
 )
 
@@ -2712,7 +2712,7 @@ ec._add_ec(
     4005,
     """
     The exchange failed to compute the RSA signature.  This response
-    is provided with HTTP status code MHD_HTTP_INTERNAL_SERVER_ERROR.
+    is provided with HTTP status code #MHD_HTTP_INTERNAL_SERVER_ERROR.
     """,
 )
 
@@ -2885,7 +2885,7 @@ ec._add_ec(
     """
     The sync service failed to access its database.
     This response is provided with HTTP status code
-    MHD_HTTP_INTERNAL_SERVER_ERROR.
+    #MHD_HTTP_INTERNAL_SERVER_ERROR.
     """,
 )
 
@@ -2895,7 +2895,7 @@ ec._add_ec(
     """
     The sync service failed find the record in its database.
     This response is provided with HTTP status code
-    MHD_HTTP_NOT_FOUND.
+    #MHD_HTTP_NOT_FOUND.
     """,
 )
 
@@ -2905,7 +2905,7 @@ ec._add_ec(
     """
     The sync service failed find the account in its database.
     This response is provided with HTTP status code
-    MHD_HTTP_NOT_FOUND.
+    #MHD_HTTP_NOT_FOUND.
     """,
 )
 
@@ -2916,7 +2916,7 @@ ec._add_ec(
     The SHA-512 hash provided in the If-None-Match header is
     malformed.
     This response is provided with HTTP status code
-    MHD_HTTP_BAD_REQUEST.
+    #MHD_HTTP_BAD_REQUEST.
     """,
 )
 
@@ -2927,7 +2927,7 @@ ec._add_ec(
     The SHA-512 hash provided in the If-Match header is
     malformed or missing.
     This response is provided with HTTP status code
-    MHD_HTTP_BAD_REQUEST.
+    #MHD_HTTP_BAD_REQUEST.
     """,
 )
 
@@ -2938,7 +2938,7 @@ ec._add_ec(
     The signature provided in the "Sync-Signature" header is
     malformed or missing.
     This response is provided with HTTP status code
-    MHD_HTTP_BAD_REQUEST.
+    #MHD_HTTP_BAD_REQUEST.
     """,
 )
 
@@ -2949,7 +2949,7 @@ ec._add_ec(
     The signature provided in the "Sync-Signature" header
     does not match the account, old or new Etags.
     This response is provided with HTTP status code
-    MHD_HTTP_FORBIDDEN.
+    #MHD_HTTP_FORBIDDEN.
     """,
 )
 
@@ -2960,7 +2960,7 @@ ec._add_ec(
     The "Content-length" field for the upload is either
     not a number, or too big, or missing.
     This response is provided with HTTP status code
-    MHD_HTTP_BAD_REQUEST.
+    #MHD_HTTP_BAD_REQUEST.
     """,
 )
 
@@ -2971,7 +2971,7 @@ ec._add_ec(
     The "Content-length" field for the upload is
     too big based on the server's terms of service.
     This response is provided with HTTP status code
-    MHD_HTTP_PAYLOAD_TOO_LARGE.
+    #MHD_HTTP_PAYLOAD_TOO_LARGE.
     """,
 )
 
@@ -2982,7 +2982,7 @@ ec._add_ec(
     The server is out of memory to handle the upload.
     Trying again later may succeed.
     This response is provided with HTTP status code
-    MHD_HTTP_PAYLOAD_TOO_LARGE.
+    #MHD_HTTP_PAYLOAD_TOO_LARGE.
     """,
 )
 
@@ -2992,7 +2992,7 @@ ec._add_ec(
     """
     The uploaded data does not match the Etag.
     This response is provided with HTTP status code
-    MHD_HTTP_BAD_REQUEST.
+    #MHD_HTTP_BAD_REQUEST.
     """,
 )
 
@@ -3002,7 +3002,7 @@ ec._add_ec(
     """
     We failed to check for existing upload data in the database.
     This response is provided with HTTP status code
-    MHD_HTTP_INTERNAL_SERVER_ERROR.
+    #MHD_HTTP_INTERNAL_SERVER_ERROR.
     """,
 )
 
@@ -3013,7 +3013,7 @@ ec._add_ec(
     HTTP server was being shutdown while this operation was
     pending.
     This response is provided with HTTP status code
-    MHD_HTTP_SERVICE_UNAVAILABLE.
+    #MHD_HTTP_SERVICE_UNAVAILABLE.
     """,
 )
 
@@ -3024,7 +3024,7 @@ ec._add_ec(
     HTTP server experienced a timeout while awaiting
     promised payment.
     This response is provided with HTTP status code
-    MHD_HTTP_REQUEST_TIMEOUT.
+    #MHD_HTTP_REQUEST_TIMEOUT.
     """,
 )
 
@@ -3034,7 +3034,7 @@ ec._add_ec(
     """
     Sync could not store order data in its own database.
     This response is provided with HTTP status code
-    MHD_HTTP_INTERNAL_SERVER_ERROR.
+    #MHD_HTTP_INTERNAL_SERVER_ERROR.
     """,
 )
 
@@ -3044,7 +3044,7 @@ ec._add_ec(
     """
     Sync could not store payment confirmation in its own database.
     This response is provided with HTTP status code
-    MHD_HTTP_INTERNAL_SERVER_ERROR.
+    #MHD_HTTP_INTERNAL_SERVER_ERROR.
     """,
 )
 
@@ -3055,7 +3055,7 @@ ec._add_ec(
     Sync could not fetch information about possible existing
     orders from its own database.
     This response is provided with HTTP status code
-    MHD_HTTP_INTERNAL_SERVER_ERROR.
+    #MHD_HTTP_INTERNAL_SERVER_ERROR.
     """,
 )
 
@@ -3065,7 +3065,7 @@ ec._add_ec(
     """
     Sync could not setup the payment request with its own backend.
     This response is provided with HTTP status code
-    MHD_HTTP_INTERNAL_SERVER_ERROR.
+    #MHD_HTTP_INTERNAL_SERVER_ERROR.
     """,
 )
 
@@ -3075,7 +3075,7 @@ ec._add_ec(
     """
     The sync service failed find the backup to be updated in its database.
     This response is provided with HTTP status code
-    MHD_HTTP_NOT_FOUND.
+    #MHD_HTTP_NOT_FOUND.
     """,
 )
 
diff --git a/taler/util/gnunet_log.py b/taler/util/gnunet_log.py
old mode 100755
new mode 100644
diff --git a/tests/test_amount.py b/tests/test_amount.py
old mode 100755
new mode 100644
diff --git a/tests/test_log.py b/tests/test_log.py
old mode 100755
new mode 100644

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



reply via email to

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