exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

commit f4b0519e8015e83bca7cf7354b7d70fbe621afe9
parent 47d28a762c352c0039a72a9faeed9115063d9f85
Author: Christian Grothoff <grothoff@gnunet.org>
Date:   Sun, 16 Aug 2026 08:22:28 +0200

DCE

Diffstat:
Msrc/include/taler/exchange/meson.build | 1-
Msrc/include/taler/taler_crypto_lib.h | 17-----------------
Msrc/include/taler/taler_exchange_service.h | 1-
Msrc/include/taler/taler_kyclogic_lib.h | 41-----------------------------------------
Msrc/include/taler/taler_mhd2_lib.h | 12+++++++++---
Msrc/include/taler/taler_pq_lib.h | 20--------------------
6 files changed, 9 insertions(+), 83 deletions(-)

diff --git a/src/include/taler/exchange/meson.build b/src/include/taler/exchange/meson.build @@ -6,7 +6,6 @@ talerexchange_headers = [ 'get-aml-OFFICER_PUB-kyc-statistics-NAMES.h', 'get-aml-OFFICER_PUB-legitimizations.h', 'get-aml-OFFICER_PUB-measures.h', - 'get-aml-OFFICER_PUB-transfers-credit.h', 'get-coins-COIN_PUB-history.h', 'get-contracts-CONTRACT_PUB.h', 'get-deposits-H_WIRE-MERCHANT_PUB-H_CONTRACT_TERMS-COIN_PUB.h', diff --git a/src/include/taler/taler_crypto_lib.h b/src/include/taler/taler_crypto_lib.h @@ -5015,23 +5015,6 @@ TALER_wallet_withdraw_verify ( /** - * Verify exchange melt confirmation. - * - * @param rc refresh session this is about - * @param noreveal_index gamma value chosen by the exchange - * @param exchange_pub public signing key used - * @param exchange_sig signature to check - * @return #GNUNET_OK if the signature is valid - */ -enum GNUNET_GenericReturnValue -TALER_exchange_melt_confirmation_verify ( - const struct TALER_RefreshCommitmentP *rc, - uint32_t noreveal_index, - const struct TALER_ExchangePublicKeyP *exchange_pub, - const struct TALER_ExchangeSignatureP *exchange_sig); - - -/** * Verify recoup signature. * * @param h_denom_pub hash of the denomiantion public key of the coin diff --git a/src/include/taler/taler_exchange_service.h b/src/include/taler/taler_exchange_service.h @@ -87,7 +87,6 @@ #include <taler/exchange/get-aml-OFFICER_PUB-legitimizations.h> #include \ <taler/exchange/get-aml-OFFICER_PUB-attributes-H_NORMALIZED_PAYTO.h> -#include <taler/exchange/get-aml-OFFICER_PUB-transfers-credit.h> #include <taler/exchange/get-aml-OFFICER_PUB-decisions.h> #endif /* _TALER_EXCHANGE_SERVICE_H */ diff --git a/src/include/taler/taler_kyclogic_lib.h b/src/include/taler/taler_kyclogic_lib.h @@ -254,20 +254,6 @@ typedef enum GNUNET_DB_QueryStatus /** - * Function called to iterate over KYC-relevant - * transaction thresholds amounts. - * - * @param cls closure, identifies the event type and - * account to iterate over events for - * @param threshold a relevant threshold amount - */ -typedef void -(*TALER_KYCLOGIC_KycThresholdIterator)( - void *cls, - const struct TALER_Amount *threshold); - - -/** * Parse set of legitimization rules that applies to an account. * * @param jlrs JSON representation to parse @@ -417,33 +403,6 @@ TALER_KYCLOGIC_rule2priority (const struct TALER_KYCLOGIC_KycRule *r); /** - * Iterate over all thresholds that are applicable to a particular type of @a - * event under exposed global rules. - * - * @param event thresholds to look up - * @param it function to call on each - * @param it_cls closure for @a it - */ -void -TALER_KYCLOGIC_kyc_iterate_thresholds ( - enum TALER_KYCLOGIC_KycTriggerEvent event, - TALER_KYCLOGIC_KycThresholdIterator it, - void *it_cls); - - -/** - * Check if a given @a rule can be satisfied in principle. - * - * @param rule the rule to check if it is verboten - * @return true if the check can be satisfied, - * false if the check can never be satisfied, - */ -bool -TALER_KYCLOGIC_is_satisfiable ( - const struct TALER_KYCLOGIC_KycRule *rule); - - -/** * A KYC rule @a r has been triggered. Convert the resulting requirements into * JSON of type ``LegitimizationMeasures`` for the legitimization measures table. * diff --git a/src/include/taler/taler_mhd2_lib.h b/src/include/taler/taler_mhd2_lib.h @@ -323,7 +323,13 @@ TALER_MHD2_reply_static (struct MHD_Request *request, size_t body_size); -#if FIXME +/* The request-parsing surface below has not been ported to MHD2 yet: + none of the functions it declares is implemented anywhere, so the + block must stay disabled until src/mhd/mhd2_parsing.c exists. Note + that "#if 0" is deliberate: a guard on an undefined macro name would + silently flip meaning as soon as anything defines that name, handing + the user a header that compiles and then fails to link. */ +#if 0 /** * Process a POST request containing a JSON object. This @@ -834,8 +840,6 @@ TALER_MHD2_parse_request_header_data (struct MHD_Request *request, TALER_MHD2_parse_request_header_auto (request,name,val,b); \ } while (0) -#endif - /** * Check that the 'Content-Length' header is giving @@ -879,6 +883,8 @@ TALER_MHD2_check_content_length_ (struct MHD_Request *request, } \ } while (0) +#endif + /** * Function called for logging by MHD. diff --git a/src/include/taler/taler_pq_lib.h b/src/include/taler/taler_pq_lib.h @@ -241,26 +241,6 @@ TALER_PQ_query_param_array_cs_r_pub ( struct GNUNET_PQ_Context *db); -/** - * Generate query parameter for a blind sign public key of variable size. - * - * @param public_key pointer to the query parameter to pass - */ -struct GNUNET_PQ_QueryParam -TALER_PQ_query_param_blind_sign_pub ( - const struct GNUNET_CRYPTO_BlindSignPublicKey *public_key); - - -/** - * Generate query parameter for a blind sign private key of variable size. - * - * @param private_key pointer to the query parameter to pass - */ -struct GNUNET_PQ_QueryParam -TALER_PQ_query_param_blind_sign_priv ( - const struct GNUNET_CRYPTO_BlindSignPrivateKey *private_key); - - /* ================ Result handler ==============================*/