summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcello Stanisci <marcello.stanisci@inria.fr>2016-10-12 17:09:09 +0200
committerMarcello Stanisci <marcello.stanisci@inria.fr>2016-10-12 17:09:09 +0200
commite9c0b816024833ec5f20a6d2e3b64ab83a5a364b (patch)
tree6fa07771bec528a9939b119f67041f4292d9c5de
parent91d03a694912fb416cadc23a2fc45d05dda2abb7 (diff)
downloaddocs-e9c0b816024833ec5f20a6d2e3b64ab83a5a364b.tar.gz
docs-e9c0b816024833ec5f20a6d2e3b64ab83a5a364b.tar.bz2
docs-e9c0b816024833ec5f20a6d2e3b64ab83a5a364b.zip
cosmetics
-rw-r--r--api-common.rst5
-rw-r--r--api-exchange.rst8
2 files changed, 8 insertions, 5 deletions
diff --git a/api-common.rst b/api-common.rst
index 8b5d5910..3bbc8722 100644
--- a/api-common.rst
+++ b/api-common.rst
@@ -157,12 +157,15 @@ Keys
^^^^
.. _`tsref-type-EddsaPublicKey`:
+.. _`tsref-type-EcdhePublicKey`:
+.. _`tsref-type-EcdhePrivateKey`:
.. _`tsref-type-EddsaPrivateKey`:
.. _`tsref-type-CoinPublicKey`:
.. code-block:: tsref
- // EdDSA public keys always point on Curve25519 (FIXME does that hold for private keys as well?) and represented
+ // EdDSA and ECDHE public keys always point on Curve25519 (FIXME does that hold for private
+ // keys as well?) and represented
// using the standard 256 bits Ed25519 compact format, converted to Crockford
// `Base32`_.
type EddsaPublicKey = string;
diff --git a/api-exchange.rst b/api-exchange.rst
index ac5ef0aa..3944918f 100644
--- a/api-exchange.rst
+++ b/api-exchange.rst
@@ -1298,8 +1298,8 @@ Administrative API: Bank transactions
// Transaction identifier in the wire details
transaction: number;
- // Wire transaction details, as originally specified by the merchant
- wire: any;
+ // `Wire transaction details <wireformats>`_, as originally specified by the merchant
+ wire: Object;
}
**Response**
@@ -1507,8 +1507,8 @@ binary-compatible with the implementation of the exchange.
// Private transfer key
trans_priv: string;
- // Coin public ket
- coin_pub: string;
+ // `Coin public key <eddsa-coin-pub>`_
+ coin_pub: EddsaPublicKey;
}
**Response:**