summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/taler_auditordb_plugin.h2
-rw-r--r--src/include/taler_error_codes.h17
2 files changed, 18 insertions, 1 deletions
diff --git a/src/include/taler_auditordb_plugin.h b/src/include/taler_auditordb_plugin.h
index 622ae1afa..752ff6a8d 100644
--- a/src/include/taler_auditordb_plugin.h
+++ b/src/include/taler_auditordb_plugin.h
@@ -245,7 +245,7 @@ struct TALER_AUDITORDB_DepositConfirmation
/**
* Public signing key from the exchange matching @e exchange_sig.
*/
- struct TALER_ExchangeSignatureP exchange_pub;
+ struct TALER_ExchangePublicKeyP exchange_pub;
/**
* Exchange master signature over @e exchange_sig.
diff --git a/src/include/taler_error_codes.h b/src/include/taler_error_codes.h
index 35dceb7c4..3c226e37e 100644
--- a/src/include/taler_error_codes.h
+++ b/src/include/taler_error_codes.h
@@ -1516,6 +1516,23 @@ enum TALER_ErrorCode
*/
TALER_EC_CHECK_PAYMENT_FAILED_COMPUTE_PROPOSAL_HASH = 2014,
+
+ /* *********** Auditor error codes ********* */
+
+ /**
+ * The signature from the exchange on the deposit confirmation
+ * is invalid. Returned with a "400 Bad Request" status code.
+ */
+ TALER_EC_DEPOSIT_CONFIRMATION_SIGNATURE_INVALID = 2500,
+
+ /**
+ * The auditor had trouble storing the deposit confirmation
+ * in its database. Returned with an HTTP status code of
+ * MHD_HTTP_INTERNAL_SERVER_ERROR.
+ */
+ TALER_EC_DEPOSIT_CONFIRMATION_STORE_DB_ERROR = 2501,
+
+
/* ********** /test API error codes ************* */
/**