summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-01-09 09:51:49 +0100
committerChristian Grothoff <christian@grothoff.org>2020-01-09 09:51:49 +0100
commit130d7172843f345789f509040494bd0b27a43afe (patch)
treebb0dbba23af76caeb00592833b62798cdeb6126b
parentf2d3bfc05babdf74854cab9a2442506426668b18 (diff)
downloaddocs-130d7172843f345789f509040494bd0b27a43afe.tar.gz
docs-130d7172843f345789f509040494bd0b27a43afe.tar.bz2
docs-130d7172843f345789f509040494bd0b27a43afe.zip
H_wire -> h_wire (#6032)
-rw-r--r--core/api-exchange.rst9
-rw-r--r--core/api-merchant.rst6
2 files changed, 7 insertions, 8 deletions
diff --git a/core/api-exchange.rst b/core/api-exchange.rst
index 0445dd5f..eb5eb1fb 100644
--- a/core/api-exchange.rst
+++ b/core/api-exchange.rst
@@ -286,7 +286,7 @@ Obtaining wire-transfer information
// Master public key of the exchange, must match the key returned in /keys.
master_public_key: EddsaPublicKey;
-
+
// Array of wire accounts operated by the exchange for
// incoming wire transfers.
accounts: WireAccount[];
@@ -600,8 +600,7 @@ denomination.
// SHA-512 hash of the merchant's payment details from ``wire``. Although
// strictly speaking redundant, this helps detect inconsistencies.
- // TODO: change to 'h_wire'.
- H_wire: HashCode;
+ h_wire: HashCode;
// SHA-512 hash of the contact of the merchant with the customer. Further
// details are never disclosed to the exchange.
@@ -1161,7 +1160,7 @@ typically also view the balance.)
merchant_pub: EddsaPublicKey;
// hash of the wire details (identical for all deposits)
- H_wire: HashCode;
+ h_wire: HashCode;
// Time of the execution of the wire transfer by the exchange
execution_time: Timestamp;
@@ -1222,7 +1221,7 @@ typically also view the balance.)
interface TrackTransactionRequest {
// SHA-512 hash of the merchant's payment details.
- H_wire: HashCode;
+ h_wire: HashCode;
// SHA-512 hash of the contact of the merchant with the customer.
h_contract_terms: HashCode;
diff --git a/core/api-merchant.rst b/core/api-merchant.rst
index 88d1c94d..a02b895e 100644
--- a/core/api-merchant.rst
+++ b/core/api-merchant.rst
@@ -342,7 +342,7 @@ Tracking Wire Transfers
merchant_pub: EddsaPublicKey;
// hash of the wire details (identical for all deposits)
- H_wire: HashCode;
+ h_wire: HashCode;
// Time of the execution of the wire transfer by the exchange
execution_time: Timestamp;
@@ -800,9 +800,9 @@ The contract terms must have the following structure:
merchant: Merchant;
// The hash of the merchant instance's wire details.
- H_wire: HashCode;
+ h_wire: HashCode;
- // Wire transfer method identifier for the wire method associated with H_wire.
+ // Wire transfer method identifier for the wire method associated with h_wire.
// The wallet may only select exchanges via a matching auditor if the
// exchange also supports this wire method.
// The wire transfer fees must be added based on this wire transfer method.