summaryrefslogtreecommitdiff
path: root/core/api-common.rst
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-10-15 15:37:26 +0200
committerChristian Grothoff <christian@grothoff.org>2022-10-15 15:37:30 +0200
commit9bcd38bb77f935f9eaf83d86e2b1df900c11e563 (patch)
treecca04d1c8cbfae020b2cb937c7c10d1357d2180a /core/api-common.rst
parent02d4732cb9e53ac3094cd5a1ded1c932ce3964e9 (diff)
downloaddocs-9bcd38bb77f935f9eaf83d86e2b1df900c11e563.tar.gz
docs-9bcd38bb77f935f9eaf83d86e2b1df900c11e563.tar.bz2
docs-9bcd38bb77f935f9eaf83d86e2b1df900c11e563.zip
-work on p2p/reserve control API specs
Diffstat (limited to 'core/api-common.rst')
-rw-r--r--core/api-common.rst17
1 files changed, 14 insertions, 3 deletions
diff --git a/core/api-common.rst b/core/api-common.rst
index 848c6c67..b09cf0cd 100644
--- a/core/api-common.rst
+++ b/core/api-common.rst
@@ -1365,6 +1365,19 @@ within the
};
+.. _TALER_ReserveOpenDepositSignaturePS:
+.. sourcecode:: c
+
+ struct TALER_PurseDepositSignaturePS {
+ /**
+ * purpose.purpose = TALER_SIGNATURE_WALLET_RESERVE_OPEN_DEPOSIT
+ */
+ struct GNUNET_CRYPTO_EccSignaturePurpose purpose;
+ struct TALER_ReserveSignatureP reserve_sig;
+ struct TALER_AmountNBO coin_contribution;
+ };
+
+
.. _TALER_PurseDepositConfirmedSignaturePS:
.. sourcecode:: c
@@ -1490,9 +1503,7 @@ within the
struct GNUNET_CRYPTO_EccSignaturePurpose purpose;
struct TALER_PursePublicKey purse_pub;
union TALER_CoinSpendPublicKeyP coin_pub;
- struct TALER_MerchantPublicKeyP merchant;
- struct TALER_AmountNBO remaining_amount;
- struct TALER_AmountNBO purse_fee_share;
+ struct TALER_AmountNBO refunded_amount;
struct TALER_AmountNBO refund_fee;
};