gnunet-svn
[Top][All Lists]
Advanced

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

[taler-donau] branch master updated: some header changes


From: gnunet
Subject: [taler-donau] branch master updated: some header changes
Date: Mon, 02 Oct 2023 00:21:01 +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 fec66bc  some header changes
fec66bc is described below

commit fec66bc7750b65d76e1e44789a693e29af8f3eef
Author: Matyja Lukas Adam <lukas.matyja@students.bfh.ch>
AuthorDate: Mon Oct 2 00:20:38 2023 +0200

    some header changes
---
 src/include/taler_donau_service.h | 107 +++-----------------------------------
 1 file changed, 7 insertions(+), 100 deletions(-)

diff --git a/src/include/taler_donau_service.h 
b/src/include/taler_donau_service.h
index cc2cbf8..e70e999 100644
--- a/src/include/taler_donau_service.h
+++ b/src/include/taler_donau_service.h
@@ -46,7 +46,7 @@ struct TALER_DONAU_SigningPublicKey
   /**
    * Signature over this signing key by the donau's master signature.
    */
-  struct TALER_MasterSignatureP master_sig;
+ // struct TALER_MasterSignatureP master_sig;
 
   /**
    * Validity start time
@@ -81,54 +81,10 @@ struct TALER_DONAU_BDRPublicKey
   struct TALER_BDRHashP h_key;
 
   /**
-   * Donau's master signature over this BDR record.
-   */
-  struct TALER_MasterSignatureP master_sig;
-
-  /**
-   * Timestamp indicating when the BDR key becomes valid
-   */
-  struct GNUNET_TIME_Timestamp valid_from;
-
-  /**
-   * Timestamp indicating when the BDR key can’t be used anymore to
-   * withdraw new coins.
-   */
-  struct GNUNET_TIME_Timestamp withdraw_valid_until;
-
-  /**
-   * Timestamp indicating when coins of this BDR become invalid.
-   */
-  struct GNUNET_TIME_Timestamp expire_deposit;
-
-  /**
-   * When do signatures with this BDR key become invalid?
-   * After this point, these signatures cannot be used in (legal)
-   * disputes anymore, as the Donau is then allowed to destroy its side
-   * of the evidence.  @e expire_legal is expected to be significantly
-   * larger than @e expire_deposit (by a year or more).
-   */
-  struct GNUNET_TIME_Timestamp expire_legal;
-
-  /**
-   * The value of this BDR
-   */
-  struct TALER_Amount value;
-
-  /**
-   * Set to true if the private BDR key has been
-   * lost by the donau and thus the key cannot be
-   * used for withdrawing at this time.
+   * Year of validity
    */
-  bool lost;
-
-  /**
-   * Set to true if this BDR key has been
-   * revoked by the donau.
-   */
-  bool revoked;
-
-};
+  int year;
+}    
 
 /**
  * @brief Information about keys from the donau.
@@ -136,16 +92,6 @@ struct TALER_DONAU_BDRPublicKey
 struct TALER_DONAU_Keys
 {
 
-  /**
-   * Long-term offline signing key of the donau.
-   */
-  struct TALER_MasterPublicKeyP master_pub;
-
-  /**
-   * Signature over extension configuration data, if any.
-   */
-  struct TALER_MasterSignatureP extensions_sig;
-
   /**
    * Array of the donau's online signing keys.
    */
@@ -157,12 +103,7 @@ struct TALER_DONAU_Keys
   struct TALER_DONAU_BDRPublicKey *BDR_keys;
 
   /**
-   * Configuration data for extensions.
-   */
-  json_t *extensions;
-
-  /**
-   * Supported Taler protocol version by the donau.
+   * Supported protocol version by the donau.
    * String in the format current:revision:age using the
    * semantics of GNU libtool.  See
    * 
https://www.gnu.org/software/libtool/manual/html_node/Versioning.html#Versioning
@@ -180,19 +121,6 @@ struct TALER_DONAU_Keys
    */
   char *donau_url;
 
-  /**
-   * Asset type used by the donau. Typical values
-   * are "fiat" or "crypto" or "regional" or "stock".
-   * Wallets should adjust their UI/UX based on this
-   * value.
-   */
-  char *asset_type;
-
-  /**
-   * Array of accounts of the donau.
-   */
-  struct TALER_DONAU_WireAccount *accounts;
-
   /**
    * Timestamp indicating the /keys generation.
    */
@@ -203,23 +131,11 @@ struct TALER_DONAU_Keys
    */
   struct GNUNET_TIME_Timestamp key_data_expiration;
 
-  /**
-   * Timestamp indicating the creation time of the last
-   * BDR key in /keys.
-   * Used to fetch /keys incrementally.
-   */
-  struct GNUNET_TIME_Timestamp last_BDR_issue_date;
-
   /**
    * Default number of fractional digits to render
    * amounts with.
    */
- // uint32_t currency_fraction_digits;
-
-  /**
-   * Length of @e accounts array.
-   */
-  unsigned int accounts_len;
+  uint32_t currency_fraction_digits;
 
   /**
    * Length of the @e sign_keys array (number of valid entries).
@@ -231,21 +147,12 @@ struct TALER_DONAU_Keys
    */
   unsigned int num_BDR_keys;
 
-  /**
-   * Actual length of the @e BDR_keys array (size of allocation).
-   */
-  unsigned int BDR_keys_size;
-
   /**
    * Reference counter for this structure.
    * Freed when it reaches 0.
    */
   unsigned int rc;
 
-  /**
-   * Set to true if rewards are allowed at this donau.
-   */
-  //bool rewards_allowed;
 };
 
 
@@ -347,7 +254,7 @@ struct TALER_DONAU_HttpResponse
 struct TALER_DONAU_KeysResponse
 {
   /**
-   * HTTP response data
+   * HTTP response dataclosure
    */
   struct TALER_DONAU_HttpResponse hr;
 

-- 
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]