not realistic to happen anytime soon, likely unnecessary complication

This commit is contained in:
Christian Grothoff 2020-03-17 12:09:18 +01:00
parent c238b68a45
commit fb47c680b1
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -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
};