diff options
author | Christian Grothoff <christian@grothoff.org> | 2023-02-03 14:06:17 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2023-02-03 14:06:17 +0100 |
commit | c3243aa39f924921e8bf52fe6290e4d738d6a20e (patch) | |
tree | 52aea4695d4dda6a32392fa9c62136ca7bf02377 /src/include | |
parent | f6877449eb6aa994df6cc1a125f983ece1f6ad39 (diff) | |
download | exchange-c3243aa39f924921e8bf52fe6290e4d738d6a20e.tar.xz |
implement testing_api_cmd_check_aml_decision
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/taler_exchange_service.h | 16 | ||||
-rw-r--r-- | src/include/taler_testing_lib.h | 2 |
2 files changed, 15 insertions, 3 deletions
diff --git a/src/include/taler_exchange_service.h b/src/include/taler_exchange_service.h index 7b301aec7..2d57b6530 100644 --- a/src/include/taler_exchange_service.h +++ b/src/include/taler_exchange_service.h @@ -4373,7 +4373,7 @@ typedef void /** - * @brief Handle for a POST /aml/$OFFICER_PUB/decisions request. + * @brief Handle for a POST /aml/$OFFICER_PUB/decisions/$STATUS request. */ struct TALER_EXCHANGE_LookupAmlDecisions; @@ -4424,6 +4424,16 @@ struct TALER_EXCHANGE_AmlDecisionDetail struct GNUNET_TIME_Timestamp decision_time; /** + * New threshold set by this decision. + */ + struct TALER_Amount new_threshold; + + /** + * Who made the decision? + */ + struct TALER_AmlOfficerPublicKeyP decider_pub; + + /** * Justification given for the decision. */ const char *justification; @@ -4481,7 +4491,7 @@ struct TALER_EXCHANGE_AmlDecisionResponse { /** - * Array of AML decision summaries returned by the exchange. + * Array of AML decision details returned by the exchange. */ const struct TALER_EXCHANGE_AmlDecisionDetail *aml_history; @@ -4520,7 +4530,7 @@ typedef void /** - * @brief Handle for a POST /aml/$OFFICER_PUB/decisions request. + * @brief Handle for a POST /aml/$OFFICER_PUB/decision/$H_PAYTO request. */ struct TALER_EXCHANGE_LookupAmlDecision; diff --git a/src/include/taler_testing_lib.h b/src/include/taler_testing_lib.h index a54e05e53..940233232 100644 --- a/src/include/taler_testing_lib.h +++ b/src/include/taler_testing_lib.h @@ -2933,6 +2933,8 @@ TALER_TESTING_get_trait (const struct TALER_TESTING_Trait *traits, op (officer_pub, const struct TALER_AmlOfficerPublicKeyP) \ op (officer_priv, const struct TALER_AmlOfficerPrivateKeyP) \ op (officer_name, const char *) \ + op (aml_decision, enum TALER_AmlDecisionState) \ + op (aml_justification, const char *) \ op (purse_priv, const struct TALER_PurseContractPrivateKeyP) \ op (purse_pub, const struct TALER_PurseContractPublicKeyP) \ op (merge_priv, const struct TALER_PurseMergePrivateKeyP) \ |