diff options
author | Christian Grothoff <grothoff@gnunet.org> | 2022-04-06 12:49:50 +0200 |
---|---|---|
committer | Christian Grothoff <grothoff@gnunet.org> | 2022-04-06 12:50:07 +0200 |
commit | 22cfc59d904c02b752547459d599e2e1cdce75a9 (patch) | |
tree | d52a1242769036b0d5d36fb1ac2f3b8a59e76a0e /src/include/taler_exchange_service.h | |
parent | adb999ce2cec29f20f240707bc7278f798d5b94b (diff) |
-towards testing purse creation
Diffstat (limited to 'src/include/taler_exchange_service.h')
-rw-r--r-- | src/include/taler_exchange_service.h | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/src/include/taler_exchange_service.h b/src/include/taler_exchange_service.h index 20e7943f..876e529f 100644 --- a/src/include/taler_exchange_service.h +++ b/src/include/taler_exchange_service.h @@ -4216,11 +4216,18 @@ struct TALER_EXCHANGE_PurseCreateDepositResponse */ struct { + /** + * Signing key used by the exchange to sign the + * purse create with deposit confirmation. + */ + struct TALER_ExchangePublicKeyP exchange_pub; /** - * Private key that can be used to obtain the contract. + * Signature from the exchange on the + * purse create with deposit confirmation. */ - struct TALER_ContractDiffiePrivateP contract_priv; + struct TALER_ExchangeSignatureP exchange_sig; + } success; @@ -4464,7 +4471,7 @@ struct TALER_EXCHANGE_PurseCreateMergeHandle; * @param reserve_priv private key of the reserve * @param purse_priv private key of the purse * @param contract_terms contract the purse is about - * @param min_age minimum age we need to prove for the purse + * @param upload_contract true to upload the contract * @param purse_expiration when will the unmerged purse expire * @paran merge_timestamp when should the merge happen (use current time) * @param purse_value_after_fees target amount in the purse @@ -4479,7 +4486,7 @@ TALER_EXCHANGE_purse_create_with_merge ( const struct TALER_ReservePrivateKeyP *reserve_priv, const struct TALER_PurseContractPrivateKeyP *purse_priv, const json_t *contract_terms, - uint8_t min_age, + bool upload_contract, struct GNUNET_TIME_Timestamp purse_expiration, struct GNUNET_TIME_Timestamp merge_timestamp, const struct TALER_Amount *purse_value_after_fees, |