diff options
author | Christian Grothoff <grothoff@gnunet.org> | 2022-03-24 13:06:04 +0100 |
---|---|---|
committer | Christian Grothoff <grothoff@gnunet.org> | 2022-03-24 13:06:04 +0100 |
commit | c782dfe2aadfd06e47ed354c1fb389fecc715433 (patch) | |
tree | a6acef08f5e15db421c20daf8ca0d1b35a581a21 /src/include/taler_crypto_lib.h | |
parent | 6ffc2c68a3af1a4321a8fcc7c1147b4967fabd68 (diff) | |
download | exchange-c782dfe2aadfd06e47ed354c1fb389fecc715433.tar.xz |
first draft of service API for p2p payments
Diffstat (limited to 'src/include/taler_crypto_lib.h')
-rw-r--r-- | src/include/taler_crypto_lib.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/include/taler_crypto_lib.h b/src/include/taler_crypto_lib.h index ba7f05bcf..7117c67fe 100644 --- a/src/include/taler_crypto_lib.h +++ b/src/include/taler_crypto_lib.h @@ -2727,6 +2727,7 @@ TALER_wallet_purse_status_verify ( /** * Sign a request to deposit a coin into a purse. * + * @param exchange_base_url URL of the exchange hosting the purse * @param purse_pub purse’s public key * @param amount amount of the coin's value to transfer to the purse * @param coin_priv key identifying the coin to be deposited @@ -2734,6 +2735,7 @@ TALER_wallet_purse_status_verify ( */ void TALER_wallet_purse_deposit_sign ( + const char *exchange_base_url, const struct TALER_PurseContractPublicKeyP *purse_pub, const struct TALER_Amount *amount, const struct TALER_CoinSpendPrivateKeyP *coin_priv, @@ -2743,6 +2745,7 @@ TALER_wallet_purse_deposit_sign ( /** * Verify a purse deposit request. * + * @param exchange_base_url URL of the exchange hosting the purse * @param purse_pub purse’s public key * @param amount amount of the coin's value to transfer to the purse * @param coin_pub key identifying the coin that is being deposited @@ -2751,6 +2754,7 @@ TALER_wallet_purse_deposit_sign ( */ enum GNUNET_GenericReturnValue TALER_wallet_purse_deposit_verify ( + const char *exchange_base_url, const struct TALER_PurseContractPublicKeyP *purse_pub, const struct TALER_Amount *amount, const struct TALER_CoinSpendPublicKeyP *coin_pub, |