diff options
author | Christian Grothoff <christian@grothoff.org> | 2022-03-03 23:52:08 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2022-03-03 23:52:08 +0100 |
commit | 1643b745af309f754959621fa2a631c899ba1975 (patch) | |
tree | 19d6252ad82a78e432b8c969b948a7e0cb36c33b /src/include/taler_exchange_service.h | |
parent | f951cdef8ced141326887c1a996e8546774514f6 (diff) | |
download | exchange-1643b745af309f754959621fa2a631c899ba1975.tar.xz |
use 32 byte hash for hpayto, use that for joins on queries to better align queries with partitions
Diffstat (limited to 'src/include/taler_exchange_service.h')
-rw-r--r-- | src/include/taler_exchange_service.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/include/taler_exchange_service.h b/src/include/taler_exchange_service.h index 2a20bda73..88be1ee32 100644 --- a/src/include/taler_exchange_service.h +++ b/src/include/taler_exchange_service.h @@ -2090,12 +2090,12 @@ typedef void * @return a handle for this request */ struct TALER_EXCHANGE_LinkHandle * -TALER_EXCHANGE_link (struct TALER_EXCHANGE_Handle *exchange, - const struct TALER_CoinSpendPrivateKeyP *coin_priv, - const struct - TALER_AgeCommitmentProof *age_commitment_proof, - TALER_EXCHANGE_LinkCallback link_cb, - void *link_cb_cls); +TALER_EXCHANGE_link ( + struct TALER_EXCHANGE_Handle *exchange, + const struct TALER_CoinSpendPrivateKeyP *coin_priv, + const struct TALER_AgeCommitmentProof *age_commitment_proof, + TALER_EXCHANGE_LinkCallback link_cb, + void *link_cb_cls); /** @@ -2699,7 +2699,7 @@ struct TALER_EXCHANGE_KycProofHandle; * Run interaction with exchange to provide proof of KYC status. * * @param eh exchange handle to use - * @param payment_target number identifying the target + * @param h_payto hash of payto URI identifying the target account * @param code OAuth 2.0 code argument * @param state OAuth 2.0 state argument * @param cb function to call with the result @@ -2708,7 +2708,7 @@ struct TALER_EXCHANGE_KycProofHandle; */ struct TALER_EXCHANGE_KycProofHandle * TALER_EXCHANGE_kyc_proof (struct TALER_EXCHANGE_Handle *eh, - uint64_t payment_target, + const struct TALER_PaytoHashP *h_payto, const char *code, const char *state, TALER_EXCHANGE_KycProofCallback cb, |