diff options
author | Özgür Kesim <oec-taler@kesim.org> | 2023-07-23 12:48:07 +0200 |
---|---|---|
committer | Özgür Kesim <oec-taler@kesim.org> | 2023-07-23 12:48:07 +0200 |
commit | d189fccd790a36046e1191d7170f45feb3dfb122 (patch) | |
tree | e1bb8b8d25be3e9245eabadb057c496a714947c7 /src/exchangedb/pg_lookup_kyc_requirement_by_row.h | |
parent | a56a903da3ec46b4c1d1109cc40c2dc149be956b (diff) | |
download | exchange-d189fccd790a36046e1191d7170f45feb3dfb122.tar.xz |
Added reserve_pub to kyc legitimization_processes
Where applicable, the reserve_pub will be passed on to the
kcy-legitimization process and persisted along with h_payto.
This allows us to set a birthday on the reserve itself, once a
related kyc-process has provided one.
Diffstat (limited to 'src/exchangedb/pg_lookup_kyc_requirement_by_row.h')
-rw-r--r-- | src/exchangedb/pg_lookup_kyc_requirement_by_row.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/exchangedb/pg_lookup_kyc_requirement_by_row.h b/src/exchangedb/pg_lookup_kyc_requirement_by_row.h index 3d223c985..54759f932 100644 --- a/src/exchangedb/pg_lookup_kyc_requirement_by_row.h +++ b/src/exchangedb/pg_lookup_kyc_requirement_by_row.h @@ -34,6 +34,7 @@ * @param[out] requirements provider that must be checked * @param[out] aml_status set to the AML status of the account * @param[out] h_payto account that must be KYC'ed + * @param[out] reserve_pub if account is a reserve, its public key, NULL otherwise. Must be freed by caller * @return database transaction status */ enum GNUNET_DB_QueryStatus @@ -42,6 +43,7 @@ TEH_PG_lookup_kyc_requirement_by_row ( uint64_t requirement_row, char **requirements, enum TALER_AmlDecisionState *aml_status, - struct TALER_PaytoHashP *h_payto); + struct TALER_PaytoHashP *h_payto, + struct TALER_ReservePublicKeyP **reserve_pub); #endif |