gnunet-svn
[Top][All Lists]
Advanced

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

[taler-donau] branch master updated (a031d29 -> afe4586)


From: gnunet
Subject: [taler-donau] branch master updated (a031d29 -> afe4586)
Date: Thu, 25 Apr 2024 00:31:24 +0200

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

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

    from a031d29  init donau in test_donaudb
     new 039c5cd  [testing] fix validy duration of donation units
     new 9c2b340  Merge remote-tracking branch 'refs/remotes/origin/master'
     new afe4586  small changes

The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 src/donau/donau-httpd_keys.c           |  3 ++-
 src/donaudb/pg_insert_issued_receipt.c |  2 +-
 src/include/donaudb_plugin.h           |  6 +++---
 src/testing/coins-cs.conf              | 15 ++++++++++-----
 src/testing/coins-rsa.conf             | 12 ++++++++----
 5 files changed, 24 insertions(+), 14 deletions(-)

diff --git a/src/donau/donau-httpd_keys.c b/src/donau/donau-httpd_keys.c
index a788516..0416544 100644
--- a/src/donau/donau-httpd_keys.c
+++ b/src/donau/donau-httpd_keys.c
@@ -999,7 +999,8 @@ DH_keys_init ()
  * @param cls NULL
  * @param donation_unit_pub public key of the donation_unit
  * @param h_donation_unit_pub hash of @a donation_unit_pub
- * @param ... FIXME!
+ * @param validity_year of the donation unit
+ * @param value of the donation unit
  */
 static enum GNUNET_GenericReturnValue
 donation_unit_info_cb (
diff --git a/src/donaudb/pg_insert_issued_receipt.c 
b/src/donaudb/pg_insert_issued_receipt.c
index b0c142a..919c508 100644
--- a/src/donaudb/pg_insert_issued_receipt.c
+++ b/src/donaudb/pg_insert_issued_receipt.c
@@ -71,7 +71,7 @@ DH_PG_insert_issued_receipt (
                                                  params, rs);
   GNUNET_PQ_cleanup_query_params_closures (params);
   GNUNET_log (GNUNET_ERROR_TYPE_INFO,
-              "Is the new receipts_to_day smaller  than the max_per_year (1 = 
true): %d\n",
+              "Is the new receipts_to_day smaller than the max_per_year (1 = 
true): %d\n",
               (*smaller_than_max_per_year));
   return qs;
 }
diff --git a/src/include/donaudb_plugin.h b/src/include/donaudb_plugin.h
index 5f12c16..9fc6bab 100644
--- a/src/include/donaudb_plugin.h
+++ b/src/include/donaudb_plugin.h
@@ -530,9 +530,9 @@ struct DONAUDB_Plugin
   (*insert_submitted_receipts)(
     void *cls,
     const struct DONAU_HashDonorTaxId *h_tax_number,
-    const struct DONAU_DonationReceipt *donation_receipts,
-    const size_t num_dr,
-    const uint64_t donation_year);
+    size_t num_dr,
+    const struct DONAU_DonationReceipt donation_receipts[static num_dr],
+    uint64_t donation_year);
 
   /**
   * Lookup issued receipts from the charity.
diff --git a/src/testing/coins-cs.conf b/src/testing/coins-cs.conf
index 7dcbe42..22c2ff2 100644
--- a/src/testing/coins-cs.conf
+++ b/src/testing/coins-cs.conf
@@ -3,7 +3,8 @@
 # the donau should support (and their respective fee structure)
 [coin_eur_ct_1]
 value = EUR:0.01
-duration_withdraw = 7 days
+duration_withdraw = 1 year
+anchor_round = 1 year
 duration_spend = 2 years
 duration_legal = 3 years
 fee_withdraw = EUR:0.00
@@ -14,7 +15,8 @@ CIPHER = CS
 
 [coin_eur_ct_10]
 value = EUR:0.10
-duration_withdraw = 7 days
+duration_withdraw = 1 year
+anchor_round = 1 year
 duration_spend = 2 years
 duration_legal = 3 years
 fee_withdraw = EUR:0.01
@@ -25,7 +27,8 @@ CIPHER = CS
 
 [coin_eur_1]
 value = EUR:1
-duration_withdraw = 7 days
+duration_withdraw = 1 year
+anchor_round = 1 year
 duration_spend = 2 years
 duration_legal = 3 years
 fee_withdraw = EUR:0.01
@@ -36,7 +39,8 @@ CIPHER = CS
 
 [coin_eur_5]
 value = EUR:5
-duration_withdraw = 7 days
+duration_withdraw = 1 year
+anchor_round = 1 year
 duration_spend = 2 years
 duration_legal = 3 years
 fee_withdraw = EUR:0.01
@@ -47,7 +51,8 @@ CIPHER = CS
 
 [coin_eur_10]
 value = EUR:10
-duration_withdraw = 7 days
+duration_withdraw = 1 year
+anchor_round = 1 year
 duration_spend = 2 years
 duration_legal = 3 years
 fee_withdraw = EUR:0.01
diff --git a/src/testing/coins-rsa.conf b/src/testing/coins-rsa.conf
index d84c8c7..1ba3c26 100644
--- a/src/testing/coins-rsa.conf
+++ b/src/testing/coins-rsa.conf
@@ -17,7 +17,8 @@ rsa_keysize = 1024
 
 [coin_eur_ct_10]
 value = EUR:0.10
-duration_withdraw = 7 days
+duration_withdraw = 1 year
+anchor_round = 1 year
 duration_spend = 2 years
 duration_legal = 3 years
 fee_withdraw = EUR:0.01
@@ -29,7 +30,8 @@ rsa_keysize = 1024
 
 [coin_eur_1]
 value = EUR:1
-duration_withdraw = 7 days
+duration_withdraw = 1 year
+anchor_round = 1 year
 duration_spend = 2 years
 duration_legal = 3 years
 fee_withdraw = EUR:0.01
@@ -41,7 +43,8 @@ rsa_keysize = 1024
 
 [coin_eur_5]
 value = EUR:5
-duration_withdraw = 7 days
+duration_withdraw = 1 year
+anchor_round = 1 year
 duration_spend = 2 years
 duration_legal = 3 years
 fee_withdraw = EUR:0.01
@@ -53,7 +56,8 @@ rsa_keysize = 1024
 
 [coin_eur_10]
 value = EUR:10
-duration_withdraw = 7 days
+duration_withdraw = 1 year
+anchor_round = 1 year
 duration_spend = 2 years
 duration_legal = 3 years
 fee_withdraw = EUR:0.01

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