summaryrefslogtreecommitdiff
path: root/api-exchange.rst
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2017-07-20 03:41:07 +0200
committerFlorian Dold <florian.dold@gmail.com>2017-07-20 03:41:07 +0200
commita76dc6a4c66ed9ecce34ba84e6bfe2b910660b2c (patch)
treebcc749fd65545aef2a5c8f569249ced6bf9dae3e /api-exchange.rst
parent5d61b8a6a70beb1dcbdc32f56fc949ceef4be718 (diff)
downloaddocs-a76dc6a4c66ed9ecce34ba84e6bfe2b910660b2c.tar.gz
docs-a76dc6a4c66ed9ecce34ba84e6bfe2b910660b2c.tar.bz2
docs-a76dc6a4c66ed9ecce34ba84e6bfe2b910660b2c.zip
fix outdated fields and names
Diffstat (limited to 'api-exchange.rst')
-rw-r--r--api-exchange.rst18
1 files changed, 4 insertions, 14 deletions
diff --git a/api-exchange.rst b/api-exchange.rst
index dd9dbd6d..af9e1999 100644
--- a/api-exchange.rst
+++ b/api-exchange.rst
@@ -610,7 +610,7 @@ denomination.
// SHA-512 hash of the contact of the merchant with the customer. Further
// details are never disclosed to the exchange.
- h_proposal_data: HashCode;
+ h_contract_terms: HashCode;
// `coin's public key <eddsa-coin-pub>`_, both ECDHE and EdDSA.
coin_pub: CoinPublicKey;
@@ -631,9 +631,6 @@ denomination.
// the merchant, in case of successful payment.
pay_deadline: Timestamp;
- // 64-bit transaction id for the transaction between merchant and customer
- transaction_id: number;
-
// EdDSA `public key of the merchant <merchant-pub>`_, so that the client can identify the
// merchant for refund requests.
merchant_pub: EddsaPublicKey;
@@ -732,7 +729,7 @@ denomination.
// Hash over the proposal data of the contract that
// is being paid (if type is "DEPOSIT") or refunded (if
// `type` is "REFUND"); otherwise absent.
- h_proposal_data?: HashCode;
+ h_contract_terms?: HashCode;
// Refund transaction ID. Only present if `type` is
// "REFUND"
@@ -1225,11 +1222,7 @@ typically also view the balance.)
interface TrackTransferDetail {
// SHA-512 hash of the contact of the merchant with the customer.
- h_proposal_data: HashCode;
-
- // 64-bit transaction id for the transaction between merchant and
- // customer
- transaction_id: number;
+ h_contract_terms: HashCode;
// coin's public key, both ECDHE and EdDSA.
coin_pub: CoinPublicKey;
@@ -1272,14 +1265,11 @@ typically also view the balance.)
H_wire: HashCode;
// SHA-512 hash of the contact of the merchant with the customer.
- h_proposal_data: HashCode;
+ h_contract_terms: HashCode;
// coin's public key, both ECDHE and EdDSA.
coin_pub: CoinPublicKey;
- // 64-bit transaction id for the transaction between merchant and customer
- transaction_id: number;
-
// the EdDSA public key of the merchant, so that the client can identify
// the merchant for refund requests.
merchant_pub: EddsaPublicKey;