[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-exchange] 118/152: fix auditor drop
From: |
gnunet |
Subject: |
[taler-exchange] 118/152: fix auditor drop |
Date: |
Sun, 05 Jul 2020 20:47:54 +0200 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository exchange.
commit af28c9b449b145fd365d416f8ba8cf6fdab6bfcf
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Tue May 19 02:23:57 2020 +0200
fix auditor drop
---
src/auditordb/drop0001.sql | 4 ++--
src/exchange/taler-exchange-httpd_keystate.c | 5 ++++-
2 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/src/auditordb/drop0001.sql b/src/auditordb/drop0001.sql
index 80f953e3..8e42c809 100644
--- a/src/auditordb/drop0001.sql
+++ b/src/auditordb/drop0001.sql
@@ -43,8 +43,8 @@ DROP TABLE IF EXISTS auditor_denominations CASCADE;
DROP TABLE IF EXISTS deposit_confirmations CASCADE;
DROP TABLE IF EXISTS auditor_exchanges CASCADE;
--- Drop versioning (0000.sql)
-DROP SCHEMA IF EXISTS _v CASCADE;
+-- Drop versioning (auditor-0001.sql)
+SELECT _v.unregister_patch('auditor-0001');
-- And we're out of here...
COMMIT;
diff --git a/src/exchange/taler-exchange-httpd_keystate.c
b/src/exchange/taler-exchange-httpd_keystate.c
index c14b85d9..fbb5da35 100644
--- a/src/exchange/taler-exchange-httpd_keystate.c
+++ b/src/exchange/taler-exchange-httpd_keystate.c
@@ -801,7 +801,7 @@ reload_keys_denom_iter (void *cls,
handle_signal (SIGTERM);
return GNUNET_SYSERR;
}
-
+ GNUNET_assert (NULL != dki->denom_priv.rsa_private_key);
GNUNET_log (GNUNET_ERROR_TYPE_INFO,
"Adding denomination key `%s' (%s) to active set\n",
alias,
@@ -1660,6 +1660,9 @@ reload_public_denoms_cb (
GNUNET_h2s (&issue->properties.denom_hash));
return;
}
+ GNUNET_log (GNUNET_ERROR_TYPE_INFO,
+ "Loaded denomination key %s from DB, no private key (hopefully
revoked!)\n",
+ GNUNET_h2s (&issue->properties.denom_hash));
/* we can assert here as we checked for duplicates just above */
GNUNET_assert (GNUNET_OK == ret);
}
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [taler-exchange] 87/152: v8 bump, (continued)
- [taler-exchange] 87/152: v8 bump, gnunet, 2020/07/05
- [taler-exchange] 89/152: ign, gnunet, 2020/07/05
- [taler-exchange] 94/152: modify TALER_EXCHANGE_deposits_get() API to combine returned arguments into a struct (simplifies merchant later), gnunet, 2020/07/05
- [taler-exchange] 99/152: sleep to ensure aggregator has work, gnunet, 2020/07/05
- [taler-exchange] 96/152: combine sections, gnunet, 2020/07/05
- [taler-exchange] 88/152: fix status code, gnunet, 2020/07/05
- [taler-exchange] 102/152: modify TALER_EXCHANGE_deposits_get() API to combine returned arguments into a struct (simplifies merchant later), gnunet, 2020/07/05
- [taler-exchange] 107/152: fix status code, gnunet, 2020/07/05
- [taler-exchange] 104/152: update, gnunet, 2020/07/05
- [taler-exchange] 114/152: modify TALER_EXCHANGE_deposits_get() API to avoid NULL pointers and need for deep copies, gnunet, 2020/07/05
- [taler-exchange] 118/152: fix auditor drop,
gnunet <=
- [taler-exchange] 115/152: return fee as well, gnunet, 2020/07/05
- [taler-exchange] 123/152: implemented the other functions for taler_sq_lib, gnunet, 2020/07/05
- [taler-exchange] 126/152: bringing gana up to date so uncrustify accepts taler_error_codes.h, gnunet, 2020/07/05
- [taler-exchange] 128/152: update gana, gnunet, 2020/07/05
- [taler-exchange] 131/152: moved yna to exchange, gnunet, 2020/07/05
- [taler-exchange] 140/152: synchronize with latest GANA, gnunet, 2020/07/05
- [taler-exchange] 146/152: expand justifications / agree with append-only log, gnunet, 2020/07/05
- [taler-exchange] 109/152: update exchange API to return struct instead of lots of individual args for TALER_EXCHANGE_transfers_get() -- simplifies merchant later, gnunet, 2020/07/05
- [taler-exchange] 119/152: ecs, gnunet, 2020/07/05
- [taler-exchange] 111/152: modify TALER_EXCHANGE_deposits_get() API to avoid NULL pointers and need for deep copies, gnunet, 2020/07/05