donau

Donation authority for GNU Taler (experimental)
Log | Files | Refs | Submodules | README | LICENSE

commit d0302706341e270ed8f98233e0d93de4cfa75aaa
parent 003c427710b24da70dd529bd72fee496e11c6671
Author: Martin Schanzenbach <schanzen@gnunet.org>
Date:   Wed,  8 Apr 2026 15:39:39 +0200

spelling

Diffstat:
Mcontrib/ci/jobs/0-codespell/dictionary.txt | 1+
Mpo/taler-donau.pot | 4++--
Msrc/donaudb/pg_lookup_donation_unit_amount.c | 2+-
Msrc/include/donau_service.h | 12++++++------
Msrc/include/donau_signatures.h | 2+-
Msrc/lib/donau_api_batch_issue_receipts.c | 2+-
Msrc/lib/donau_api_handle.c | 2+-
7 files changed, 13 insertions(+), 12 deletions(-)

diff --git a/contrib/ci/jobs/0-codespell/dictionary.txt b/contrib/ci/jobs/0-codespell/dictionary.txt @@ -43,4 +43,5 @@ ths updateing wan wih +ges decose diff --git a/po/taler-donau.pot b/po/taler-donau.pot @@ -45,7 +45,7 @@ msgstr "" #: src/util/taler_error_codes.c:98 msgid "" -"The service responded with a reply that was in JSON but did not satsify the " +"The service responded with a reply that was in JSON but did not satisfy the " "protocol. Note that invalid cryptographic signatures should have signature-" "specific error codes." msgstr "" @@ -460,7 +460,7 @@ msgid "The client failed to unblind the blind signature." msgstr "" #: src/util/taler_error_codes.c:596 -msgid "The client re-used a withdraw nonce, which is not allowed." +msgid "The client reused a withdraw nonce, which is not allowed." msgstr "" #: src/util/taler_error_codes.c:602 diff --git a/src/donaudb/pg_lookup_donation_unit_amount.c b/src/donaudb/pg_lookup_donation_unit_amount.c @@ -15,7 +15,7 @@ */ /** * @file donaudb/pg_lookup_donation_unit_amount.c - * @brief Implmentation of getting the donation unit amount + * @brief Implementation of getting the donation unit amount * from the donation_units table. * @author Bohdan Potuzhnyi */ diff --git a/src/include/donau_service.h b/src/include/donau_service.h @@ -714,7 +714,7 @@ DONAU_donor_receipts_to_statement ( * Cancel a batch permission request. This function cannot be used * on a request handle if a response is already served for it. * - * @param[in] the Batch Submit recipts handle + * @param[in] the Batch Submit receipts handle */ void DONAU_donor_receipts_to_statement_cancel ( @@ -756,7 +756,7 @@ struct DONAU_DonationStatementResponse struct TALER_Amount total_amount; /** - * The donation statment for a requested year. Signature over the total amount, + * The donation statement for a requested year. Signature over the total amount, * the year, the unique identifier hash */ struct DONAU_DonauSignatureP donation_statement_sig; @@ -815,7 +815,7 @@ DONAU_donation_statement_get ( * Cancel a batch permission request. This function cannot be used * on a request handle if a response is already served for it. * - * @param[in] the Batch Submit recipts handle + * @param[in] the Batch Submit receipts handle */ void DONAU_donation_statement_get_cancel ( @@ -937,7 +937,7 @@ struct DONAU_CharitySummary const char *name; /** - * Max donation amout for this charitiy and year. + * Max donation amount for this charitiy and year. */ struct TALER_Amount max_per_year; @@ -1068,7 +1068,7 @@ struct DONAU_Charity struct DONAU_CharityPublicKeyP charity_pub; /** - * Max donation amout for this charitiy and @e current_year. + * Max donation amount for this charitiy and @e current_year. */ struct TALER_Amount max_per_year; @@ -1142,7 +1142,7 @@ typedef void /** - * Submit a GET request to obtain the informations about a single charity + * Submit a GET request to obtain the information about a single charity * from the donau. Note that while we return the full response to the * caller for further processing, we do already verify that the * response is well-formed (i.e. that signatures included in the diff --git a/src/include/donau_signatures.h b/src/include/donau_signatures.h @@ -27,7 +27,7 @@ /** - * The signature is done by the Donau. The Donau signes over the total amount of the corresponding year, the corresponding year and the donation identifier of a specific donor. The statement confirms that the donor made this total in donations for the given year. + * The signature is done by the Donau. The Donau signs over the total amount of the corresponding year, the corresponding year and the donation identifier of a specific donor. The statement confirms that the donor made this total in donations for the given year. */ #define DONAU_SIGNATURE_DONAU_DONATION_STATEMENT 1500 diff --git a/src/lib/donau_api_batch_issue_receipts.c b/src/lib/donau_api_batch_issue_receipts.c @@ -254,7 +254,7 @@ handle_batch_issue_finished (void *cls, biresp.hr.ec = TALER_JSON_get_error_code (j); biresp.hr.hint = TALER_JSON_get_error_hint (j); break; - // Donation limit is not sufficent + // Donation limit is not sufficient case MHD_HTTP_CONFLICT: biresp.hr.ec = TALER_JSON_get_error_code (j); biresp.hr.hint = TALER_JSON_get_error_hint (j); diff --git a/src/lib/donau_api_handle.c b/src/lib/donau_api_handle.c @@ -56,7 +56,7 @@ #define DONAU_SERIALIZATION_FORMAT_VERSION 0 /** - * How far off do we allow key liftimes to be? + * How far off do we allow key lifetimes to be? */ #define LIFETIME_TOLERANCE GNUNET_TIME_UNIT_HOURS