diff options
author | Christian Grothoff <grothoff@gnunet.org> | 2022-03-28 13:57:43 +0200 |
---|---|---|
committer | Christian Grothoff <grothoff@gnunet.org> | 2022-03-28 13:57:43 +0200 |
commit | a227ee6d1bd979ae87ab9afda27f180c840313bf (patch) | |
tree | 4f3a5e0c92dd853f87de01083d00a3500252d8aa /src/include | |
parent | ee4077ef8001e0570a0333ed6b24c69eb2504760 (diff) |
-first cut at contract encryption and decryption
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/taler_exchange_service.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/include/taler_exchange_service.h b/src/include/taler_exchange_service.h index cf4624252..00c8c101f 100644 --- a/src/include/taler_exchange_service.h +++ b/src/include/taler_exchange_service.h @@ -4287,6 +4287,9 @@ struct TALER_EXCHANGE_PurseDeposit * @param purse_expiration when will the unmerged purse expire * @param num_deposits length of the @a deposits array * @param deposits array of deposits to make into the purse + * @param upload_contract true to upload the contract; must + * be FALSE for repeated calls to this API for the + * same purse (i.e. when adding more deposits). * @param cb function to call with the exchange's result * @param cb_cls closure for @a cb * @return the request handle; NULL upon error @@ -4301,6 +4304,7 @@ TALER_EXCHANGE_purse_create_with_deposit ( struct GNUNET_TIME_Timestamp purse_expiration, unsigned int num_deposits, const struct TALER_EXCHANGE_PurseDeposit *deposits, + bool upload_contract, TALER_EXCHANGE_PurseCreateDepositCallback cb, void *cb_cls); |