gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-donau] branch master updated: [header] work on implementation of


From: gnunet
Subject: [taler-donau] branch master updated: [header] work on implementation of batch issue receipt api
Date: Tue, 10 Oct 2023 14:37:08 +0200

This is an automated email from the git hooks/post-receive script.

lukas-matyja pushed a commit to branch master
in repository donau.

The following commit(s) were added to refs/heads/master by this push:
     new db30e16  [header] work on implementation of batch issue receipt api
db30e16 is described below

commit db30e16e83d232e343c5e1bb99bc90a8c9f8260f
Author: Matyja Lukas Adam <lukas.matyja@students.bfh.ch>
AuthorDate: Tue Oct 10 14:36:59 2023 +0200

    [header] work on implementation of batch issue receipt api
---
 src/include/taler_donau_service.h | 45 ++++++++++++++++++++++++++++++++++++---
 1 file changed, 42 insertions(+), 3 deletions(-)

diff --git a/src/include/taler_donau_service.h 
b/src/include/taler_donau_service.h
index 81dac60..77a09ce 100644
--- a/src/include/taler_donau_service.h
+++ b/src/include/taler_donau_service.h
@@ -817,7 +817,24 @@ TALER_DONAU_charitys_get_cancel (
 /* ********************* POST /charitys/$CHARITY_ID/batch-issue 
*********************** */
 
 /**
- * @brief A /charitys/$CHARITY_PUB/batch-issue Handle
+ * A BDID blinded unique donation identifier.
+ */
+struct TALER_DONAU_BlindedDonationIdentifier
+{
+  /**
+   * The hash of the donation unit's public key
+   */
+  struct TALER_DonationUnitHashP h_donation_unit_pub;
+  
+  /**
+   * The blinded UDID unique donation identifier and the corresponding
+   * donation unit public key.
+   */
+  struct TALER_DONAU_BlindedUniqueIdentifier blinded_identifier;
+}
+
+/**
+ * @brief A /charitys/$CHARITY_ID/batch-issue Handle
  */
 struct TALER_DONAU_BatchIssueHandle;
 
@@ -828,10 +845,32 @@ struct TALER_DONAU_BatchIssueHandle;
 struct TALER_DONAU_BatchIssueInput
 {
   /**
-   * Amount issued.
+   * Year of validity.
    */
-   struct TALER_Amount amount;
+   unsigned int year;
+
+  /**
+   * Hash of the BDIDs to be signed
+   */
+   struct TALER_DONAU_BlindedDonationIdentifier *bdids;
+
+  /**
+   * Charity's eddsa signature.
+   */
+   struct TALER_DonauSignatureP donau_sig;
 
+  /**
+   * Length of BDIDs.
+   */
+   unsigned int bdids_length;
+}
+
+/**
+ *  How a successful charity issue request is stored.
+ */
+struct TALER_DONAU_BatchIssueStore
+{
+  
   /**
    * Year of validity.
    */

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]