commit 50066f6d2064a6faab6c4f78336785b167c7f36f
parent d647b5eac1b5c9d0e97676ddb2684fea75b0804d
Author: Christian Grothoff <christian@grothoff.org>
Date: Wed, 11 Nov 2015 18:10:45 +0100
define signature format for #3888
Diffstat:
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/api-mint.rst b/api-mint.rst
@@ -570,7 +570,7 @@ typically also view the balance.)
:<json base32 coin_pub: coin's public key, both ECDHE and EdDSA.
:<json int transaction_id: 64-bit transaction id for the transaction between merchant and customer
:<json base32 merchant_pub: the EdDSA public key of the merchant, so that the client can identify the merchant for refund requests.
- :<json base32 merchant_sig: the EdDSA signature of the merchant, affirming that it is really the merchant who requires obtaining the wire transfer identifier.
+ :<json base32 merchant_sig: the EdDSA signature of the merchant made with purpose `TALER_SIGNATURE_MERCHANT_DEPOSIT_WTID` , affirming that it is really the merchant who requires obtaining the wire transfer identifier.
**Success Response: OK**
@@ -1074,3 +1074,14 @@ The `size` field of the corresponding `struct SignedData` is determined by the s
struct GNUNET_HashCode h_wire_types;
}
};
+
+
+ struct TALER_DepositTrackPS {
+ signed (purpose = TALER_SIGNATURE_MERCHANT_DEPOSIT_WTID) {
+ struct GNUNET_HashCode h_contract;
+ struct GNUNET_HashCode h_wire;
+ uint64_t transaction_id;
+ struct TALER_MerchantPublicKeyP merchant;
+ struct TALER_CoinSpendPublicKeyP coin_pub;
+ }
+ };