donau

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

commit 8b3bd93256c305463b0a0b49c81c798150c4c285
parent 66dd14eed0fca751292841c4eea929f689d561a3
Author: Christian Grothoff <grothoff@gnunet.org>
Date:   Mon, 14 Jul 2025 13:05:00 +0200

have separate config sections for donau denominations, doco_

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

diff --git a/src/testing/coins-cs.conf b/src/testing/coins-cs.conf @@ -1,7 +1,7 @@ -# Sections starting with "coin_" specify which denominations +# Sections starting with "doco_" specify which denominations # the donau should support (and their respective fee structure) -[coin_eur_ct_1] +[doco_eur_ct_1] value = EUR:0.01 duration_withdraw = 1 year anchor_round = 1 year @@ -13,7 +13,7 @@ fee_refresh = EUR:0.01 fee_refund = EUR:0.01 CIPHER = CS -[coin_eur_ct_10] +[doco_eur_ct_10] value = EUR:0.10 duration_withdraw = 1 year anchor_round = 1 year @@ -25,7 +25,7 @@ fee_refresh = EUR:0.03 fee_refund = EUR:0.01 CIPHER = CS -[coin_eur_1] +[doco_eur_1] value = EUR:1 duration_withdraw = 1 year anchor_round = 1 year @@ -37,7 +37,7 @@ fee_refresh = EUR:0.03 fee_refund = EUR:0.01 CIPHER = CS -[coin_eur_5] +[doco_eur_5] value = EUR:5 duration_withdraw = 1 year anchor_round = 1 year @@ -49,7 +49,7 @@ fee_refresh = EUR:0.03 fee_refund = EUR:0.01 CIPHER = CS -[coin_eur_10] +[doco_eur_10] value = EUR:10 duration_withdraw = 1 year anchor_round = 1 year diff --git a/src/testing/coins-rsa.conf b/src/testing/coins-rsa.conf @@ -1,8 +1,8 @@ # This file is in the public domain. -# Sections starting with "coin_" specify which denominations -# the exchange should support (and their respective fee structure) -[coin_eur_ct_1] +# Sections starting with "doco_" specify which denominations +# the donau should support (and their respective fee structure) +[doco_eur_ct_1] value = EUR:0.01 duration_withdraw = 1 year anchor_round = 1 year @@ -15,7 +15,7 @@ fee_refund = EUR:0.01 CIPHER = RSA rsa_keysize = 1024 -[coin_eur_ct_10] +[doco_eur_ct_10] value = EUR:0.10 duration_withdraw = 1 year anchor_round = 1 year @@ -28,7 +28,7 @@ fee_refund = EUR:0.01 CIPHER = RSA rsa_keysize = 1024 -[coin_eur_1] +[doco_eur_1] value = EUR:1 duration_withdraw = 1 year anchor_round = 1 year @@ -41,7 +41,7 @@ fee_refund = EUR:0.01 CIPHER = RSA rsa_keysize = 1024 -[coin_eur_5] +[doco_eur_5] value = EUR:5 duration_withdraw = 1 year anchor_round = 1 year @@ -54,7 +54,7 @@ fee_refund = EUR:0.01 CIPHER = RSA rsa_keysize = 1024 -[coin_eur_10] +[doco_eur_10] value = EUR:10 duration_withdraw = 1 year anchor_round = 1 year diff --git a/src/util/donau-secmod-rsa.c b/src/util/donau-secmod-rsa.c @@ -58,7 +58,8 @@ main (int argc, { struct TALER_SECMOD_Options opts = { .max_workers = 16, - .section = "donau" + .section = "donau", + .cprefix = "doco_" }; struct GNUNET_GETOPT_CommandLineOption options[] = { TALER_SECMOD_OPTIONS (&opts),