summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-03-17 12:09:18 +0100
committerChristian Grothoff <christian@grothoff.org>2020-03-17 12:09:18 +0100
commitfb47c680b1380d36812f8b42cd64595e210cef38 (patch)
treef6f254f803f641a5071750ca21bd94202331254e /src
parentc238b68a45e6df492bfedb69a63926ff6e020d7a (diff)
downloadexchange-fb47c680b1380d36812f8b42cd64595e210cef38.tar.gz
exchange-fb47c680b1380d36812f8b42cd64595e210cef38.tar.bz2
exchange-fb47c680b1380d36812f8b42cd64595e210cef38.zip
not realistic to happen anytime soon, likely unnecessary complication
Diffstat (limited to 'src')
-rw-r--r--src/exchange/taler-exchange-httpd_keystate.c40
1 files changed, 0 insertions, 40 deletions
diff --git a/src/exchange/taler-exchange-httpd_keystate.c b/src/exchange/taler-exchange-httpd_keystate.c
index 3ebc9fb94..5bc893247 100644
--- a/src/exchange/taler-exchange-httpd_keystate.c
+++ b/src/exchange/taler-exchange-httpd_keystate.c
@@ -109,46 +109,6 @@ struct DenominationKeyEntry
*/
struct GNUNET_HashCode denom_key_hash;
-#ifdef OPTIMIZE_5777_AUDITOR_BY_COUNT_REALTIME_DETECTION
-
- /**
- * Mutex that must be held before threads may access or update
- * @e known_coin_counter or @e known_coin_counter_db.
- */
- pthread_mutex_t known_coin_counter_mutex;
-
- /**
- * Mutex that must be held before threads may access or update
- * @e issued_coin_counter or @e issued_coin_counter_db.
- */
- pthread_mutex_t issued_coin_counter_mutex;
-
- /**
- * How many coins of this denomination have been redeemed so far (according
- * to only this process)?
- */
- uint64_t known_coin_counter;
-
- /**
- * How many coins of this denomination have been redeemed so far (based on
- * the last time we synchronized the value with our database).
- */
- uint64_t known_coin_counter_db;
-
- /**
- * How many coins of this denomination have been issued so far (according
- * to only this process)?
- */
- uint64_t issued_coin_counter;
-
- /**
- * How many coins of this denomination have been issued so far (based on the
- * last time we synchronized the value with our database)?
- */
- uint64_t issued_coin_counter_db;
-
-#endif
-
};