summaryrefslogtreecommitdiff
path: root/core/api-exchange.rst
diff options
context:
space:
mode:
authorChristian Grothoff <grothoff@gnunet.org>2022-03-22 15:26:15 +0100
committerChristian Grothoff <grothoff@gnunet.org>2022-03-22 15:26:15 +0100
commitb48976fdbee61d93bba9c091a4f1d499a163d0c6 (patch)
treee4b39b771efc8ef4ad45f057115c3c7cd24c5360 /core/api-exchange.rst
parenteecbb4fdc2756b19e8aa630e93c04a19044b3922 (diff)
downloaddocs-b48976fdbee61d93bba9c091a4f1d499a163d0c6.tar.gz
docs-b48976fdbee61d93bba9c091a4f1d499a163d0c6.tar.bz2
docs-b48976fdbee61d93bba9c091a4f1d499a163d0c6.zip
p2p issue discovered, resolution proposed
Diffstat (limited to 'core/api-exchange.rst')
-rw-r--r--core/api-exchange.rst11
1 files changed, 6 insertions, 5 deletions
diff --git a/core/api-exchange.rst b/core/api-exchange.rst
index 03c9c235..203b1c92 100644
--- a/core/api-exchange.rst
+++ b/core/api-exchange.rst
@@ -3000,6 +3000,7 @@ Wallet-to-wallet transfers
Obtain information about a purse. The request header must
contain a *Purse-Request-Signature*. Endpoint used by
the party that did not create the purse.
+ TODO: maybe use POST to /purses/$PURSE_PUB/status instead?
**Request:**
@@ -3007,11 +3008,11 @@ Wallet-to-wallet transfers
:query merge_timeout_ms=NUMBER: *Optional.* If specified,
the exchange
- will wait up to ``timeout_ms`` milliseconds for completion
+ will wait up to ``NUMBER`` milliseconds for completion
of a merge operation before sending the HTTP response.
:query deposit_timeout_ms=NUMBER: *Optional.* If specified,
the exchange
- will wait up to ``timeout_ms`` milliseconds for completion
+ will wait up to ``NUMBER`` milliseconds for completion
of a deposit operation before sending the HTTP response.
:query contract=BOOLEAN: *Optional.* If 'false' is specified,
the exchange will not return the encrypted contract, saving
@@ -3143,7 +3144,7 @@ Wallet-to-wallet transfers
// EdDSA signature of the purse over a
// `TALER_PurseRequestSignaturePS`
- // of purpose ``TALER_SIGNATURE_PURSE_REQUEST``
+ // of purpose ``TALER_SIGNATURE_WALLET_PURSE_CREATE``
// confirming the key
// invariants associated with the purse.
// (amount, h_contract_terms, expiration).
@@ -3213,7 +3214,7 @@ Wallet-to-wallet transfers
ub_sig: DenominationSignature;
// Signature over `TALER_PurseDepositSignaturePS`
- // of purpose ``TALER_SIGNATURE_PURSE_DEPOSIT``
+ // of purpose ``TALER_SIGNATURE_WALLET_PURSE_DEPOSIT``
// made by the customer with the
// `coin's private key <coin-priv>`.
coin_sig: EddsaSignature;
@@ -3291,7 +3292,7 @@ Wallet-to-wallet transfers
// EdDSA signature of the purse over
// `TALER_PurseMergeSignaturePS` of
- // purpose ``TALER_SIGNATURE_PURSE_MERGE``
+ // purpose ``TALER_SIGNATURE_WALLET_PURSE_MERGE``
// confirming that the
// above details hold for this purse.
purse_sig: EddsaSignature;