donau

Donation authority for GNU Taler (experimental)
Log | Files | Refs | Submodules | README | LICENSE

commit 039c5cdfe3f46dfd3bb79210efc6201eac8a116a
parent a5141141452fb619c235ce5f3bee886cf62a8764
Author: Matyja Lukas Adam <lukas.matyja@students.bfh.ch>
Date:   Wed, 24 Apr 2024 23:31:38 +0200

[testing] fix validy duration of donation units

Diffstat:
Msrc/donau/donau-httpd_keys.c | 3++-
Msrc/testing/coins-cs.conf | 15++++++++++-----
Msrc/testing/coins-rsa.conf | 12++++++++----
3 files changed, 20 insertions(+), 10 deletions(-)

diff --git 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/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 @@ -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