summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-07-08 21:02:27 +0200
committerChristian Grothoff <christian@grothoff.org>2020-07-08 21:02:27 +0200
commit2f705cc5d651a7eb05519ebc86d275b1008000e7 (patch)
tree5cde240d0ab74648ae562865660fc1cb79662d5b /core
parent31e66d9753efc06841bdffac0e1897dcdb1d1385 (diff)
downloaddocs-2f705cc5d651a7eb05519ebc86d275b1008000e7.tar.gz
docs-2f705cc5d651a7eb05519ebc86d275b1008000e7.tar.bz2
docs-2f705cc5d651a7eb05519ebc86d275b1008000e7.zip
further spec updates with respect to data to be returned for coin histories
Diffstat (limited to 'core')
-rw-r--r--core/api-exchange.rst13
1 files changed, 11 insertions, 2 deletions
diff --git a/core/api-exchange.rst b/core/api-exchange.rst
index 309e070..59abccd 100644
--- a/core/api-exchange.rst
+++ b/core/api-exchange.rst
@@ -762,7 +762,8 @@ denomination.
// exchange, possibly zero if refunds are not allowed. Only for "DEPOSIT" operations.
refund_deadline?: Timestamp;
- // Signature by the coin, only present if ``type`` is "DEPOSIT" or "MELT"
+ // Signature by the coin, only present if ``type`` is "DEPOSIT", "MELT", "RECOUP",
+ // "OLD-COIN-RECOUP" or "RECOUP-REFRESH"
coin_sig?: EddsaSignature;
// Deposit fee in case of type "MELT".
@@ -777,7 +778,7 @@ denomination.
// Hash of the public denomination key used to sign the coin.
// only present if ``type`` is "DEPOSIT", "RECOUP",
- // "RECOUP-REFRESH", "OLD-COIN-RECOUP" or "MELT".
+ // "RECOUP-REFRESH", or "MELT".
h_denom_pub?: HashCode;
// Deposit fee in case of type "REFUND".
@@ -792,6 +793,14 @@ denomination.
// "REFUND"
rtransaction_id?: Integer;
+ // Coin blinding key. Only present if ``type`` is
+ // "RECOUP" or "RECOUP-REFRESH"
+ coin_blind?: DenominationBlindingKeyP;
+
+ // Reserve receiving the recoup. Only present if ``type`` is
+ // "RECOUP"
+ reserve_pub?: EddsaPublicKey;
+
// `EdDSA Signature <eddsa-sig>` authorizing the REFUND. Made with
// the `public key of the merchant <merchant-pub>`.
// Only present if ``type`` is "REFUND"