exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

commit cdbb20587f4bbae17c4ab33f9e5e1b0a7ebd72c1
parent bd2e9c227cc2fe6ed807932f98bd537fb1b97418
Author: Christian Grothoff <christian@grothoff.org>
Date:   Sun,  8 Nov 2026 22:44:22 +0100

also log denoms without any sigs

Diffstat:
Msrc/auditor/taler-helper-auditor-coins.c | 15+++++++++++++++
1 file changed, 15 insertions(+), 0 deletions(-)

diff --git a/src/auditor/taler-helper-auditor-coins.c b/src/auditor/taler-helper-auditor-coins.c @@ -2872,6 +2872,13 @@ check_denomination ( } if (GNUNET_DB_STATUS_SUCCESS_NO_RESULTS == qs) { + struct TALER_AUDITORDB_DenominationsWithoutSigs dws = { + .denompub_h = issue->denom_hash, + .start_time = issue->start.abs_time, + .end_time = issue->expire_legal.abs_time, + .value = issue->value + }; + GNUNET_log (GNUNET_ERROR_TYPE_WARNING, "Encountered denomination `%s' (%s) valid from %s (%llu-%llu) that this auditor is not auditing!\n", GNUNET_h2s (&issue->denom_hash.hash), @@ -2879,6 +2886,14 @@ check_denomination ( GNUNET_TIME_timestamp2s (issue->start), (unsigned long long) issue->start.abs_time.abs_value_us, (unsigned long long) issue->expire_legal.abs_time.abs_value_us); + qs = TALER_AUDITORDB_insert_denominations_without_sigs ( + TALER_ARL_adb, + &dws); + if (qs < 0) + { + GNUNET_break (GNUNET_DB_STATUS_SOFT_ERROR == qs); + *iqs = qs; + } return; /* skip! */ } if (GNUNET_OK !=