summaryrefslogtreecommitdiff
path: root/core/api-exchange.rst
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-07-06 22:49:27 +0200
committerChristian Grothoff <christian@grothoff.org>2022-07-06 22:49:27 +0200
commit1c2a5409a96855440710b66c08b40945e37892c3 (patch)
tree4d69f34b9e4af84eaa384fd09a5d5f596140d723 /core/api-exchange.rst
parentf74f02c64d7ec515d37299b405ed06d166e28114 (diff)
downloaddocs-1c2a5409a96855440710b66c08b40945e37892c3.tar.gz
docs-1c2a5409a96855440710b66c08b40945e37892c3.tar.bz2
docs-1c2a5409a96855440710b66c08b40945e37892c3.zip
fix misc typos
Diffstat (limited to 'core/api-exchange.rst')
-rw-r--r--core/api-exchange.rst21
1 files changed, 12 insertions, 9 deletions
diff --git a/core/api-exchange.rst b/core/api-exchange.rst
index 937298a3..65c35575 100644
--- a/core/api-exchange.rst
+++ b/core/api-exchange.rst
@@ -259,7 +259,7 @@ possibly by using HTTPS.
//
// A value of 0 means that the exchange does not support the extension for
// age-restriction.
- type AgeMask = integer;
+ type AgeMask = Integer;
.. ts:def:: DenomGroup
@@ -1357,7 +1357,7 @@ exchange.
// True if the purse was actually merged.
// If false, only the purse_fee has an impact
// on the reserve balance!
- merged: Boolean;
+ merged: boolean;
}
.. ts:def:: ReserveHistoryTransaction
@@ -1618,7 +1618,7 @@ exchange.
// Hash of the public key of the denomination the
// request relates to.
- denom_pub_hash: Hash;
+ denom_pub_hash: HashCode;
}
@@ -2474,7 +2474,7 @@ denomination.
The fields of the response are the same in both cases.
The request should not be repeated again with this coin.
In this case, the response is a `DepositDoubleSpendError` with
- an additional `coin_pub` field specifying the public key of the
+ an additional ``coin_pub`` field specifying the public key of the
coin that was double-spent.
:http:statuscode:`410 Gone`:
The requested denomination key is not yet or no longer valid.
@@ -2652,7 +2652,7 @@ the API during normal operation.
// Hash of the public key of the denomination the
// request relates to. Must be a CS denomination type.
- denom_pub_hash: Hash;
+ denom_pub_hash: HashCode;
}
@@ -3097,7 +3097,7 @@ in using this API.
// operation (see /csr-melt).
ewv: ExchangeWithdrawValue;
- // Signature of `TALER_RecoupRefreshRequestPS` created with
+ // Signature of `TALER_RecoupRequestPS` created with
// the `coin's private key <coin-priv>`.
coin_sig: EddsaSignature;
@@ -3630,7 +3630,8 @@ Wallet-to-wallet transfers
.. ts:def:: PurseCreateConflict
interface PurseCreateConflict {
- code: TALER_EC_EXCHANGE_PURSE_CREATE_CONFLICTING_META_DATA;
+ // Must be equal to TALER_EC_EXCHANGE_PURSE_CREATE_CONFLICTING_META_DATA
+ code: Integer;
// Total amount to be merged into the reserve.
// (excludes fees).
@@ -3662,7 +3663,8 @@ Wallet-to-wallet transfers
.. ts:def:: PurseDepositConflict
interface PurseDepositConflict {
- code: TALER_EC_EXCHANGE_PURSE_DEPOSIT_CONFLICTING_META_DATA;
+ // Must be equal to TALER_EC_EXCHANGE_PURSE_DEPOSIT_CONFLICTING_META_DATA
+ code: Integer;
// Public key of the coin being deposited into the purse.
coin_pub: EddsaPublicKey;
@@ -3685,7 +3687,8 @@ Wallet-to-wallet transfers
.. ts:def:: PurseContractConflict
interface PurseContractConflict {
- code: TALER_EC_EXCHANGE_PURSE_ECONTRACT_CONFLICTING_META_DATA;
+ // Must be equal to TALER_EC_EXCHANGE_PURSE_ECONTRACT_CONFLICTING_META_DATA
+ code: Integer;
// Hash of the encrypted contract.
h_econtract: HashCode;