diff options
author | Christian Grothoff <christian@grothoff.org> | 2022-05-23 12:17:41 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2022-05-23 12:17:41 +0200 |
commit | 2035294adbcafc93c70d2cb7d27ce1a74d5a61ca (patch) | |
tree | 9acab1fe4dd1e1c604376a9c8e843e1963025cc4 /src/include | |
parent | f1a58b0fd857b78f634b10b1a50759b380a5adee (diff) | |
download | exchange-2035294adbcafc93c70d2cb7d27ce1a74d5a61ca.tar.xz |
-more traits for reserve history checking
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/taler_exchange_service.h | 6 | ||||
-rw-r--r-- | src/include/taler_testing_lib.h | 8 |
2 files changed, 10 insertions, 4 deletions
diff --git a/src/include/taler_exchange_service.h b/src/include/taler_exchange_service.h index d3ec7d2b5..3cca8b9a2 100644 --- a/src/include/taler_exchange_service.h +++ b/src/include/taler_exchange_service.h @@ -4510,6 +4510,12 @@ struct TALER_EXCHANGE_PurseCreateMergeResponse struct TALER_EXCHANGE_HttpResponse hr; /** + * Reserve signature generated for the request + * (client-side). + */ + const struct TALER_ReserveSignatureP *reserve_sig; + + /** * Details depending on the HTTP status. */ union diff --git a/src/include/taler_testing_lib.h b/src/include/taler_testing_lib.h index ff3936cfe..289af9aa1 100644 --- a/src/include/taler_testing_lib.h +++ b/src/include/taler_testing_lib.h @@ -964,10 +964,9 @@ TALER_TESTING_parse_coin_reference ( * @return 0 if @a h1 and @a h2 are equal */ int -TALER_TESTING_history_entry_cmp (const struct - TALER_EXCHANGE_ReserveHistoryEntry *h1, - const struct - TALER_EXCHANGE_ReserveHistoryEntry *h2); +TALER_TESTING_history_entry_cmp ( + const struct TALER_EXCHANGE_ReserveHistoryEntry *h1, + const struct TALER_EXCHANGE_ReserveHistoryEntry *h2); /* ************** Specific interpreter commands ************ */ @@ -2721,6 +2720,7 @@ TALER_TESTING_get_trait (const struct TALER_TESTING_Trait *traits, op (merge_pub, const struct TALER_PurseMergePublicKeyP) \ op (contract_priv, const struct TALER_ContractDiffiePrivateP) \ op (reserve_priv, const struct TALER_ReservePrivateKeyP) \ + op (reserve_sig, const struct TALER_ReserveSignatureP) \ op (h_payto, const struct TALER_PaytoHashP) \ op (planchet_secret, const struct TALER_PlanchetMasterSecretP) \ op (refresh_secret, const struct TALER_RefreshMasterSecretP) \ |