diff options
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/taler_exchangedb_plugin.h | 33 |
1 files changed, 8 insertions, 25 deletions
diff --git a/src/include/taler_exchangedb_plugin.h b/src/include/taler_exchangedb_plugin.h index cee8fb883..30d48833c 100644 --- a/src/include/taler_exchangedb_plugin.h +++ b/src/include/taler_exchangedb_plugin.h @@ -29,19 +29,17 @@ #include "taler_extensions_policy.h" - - struct TALER_EXCHANGEDB_CoinInfo { - uint64_t *known_coin_id; - struct TALER_DenominationHashP *denom_hash; - struct TALER_AgeCommitmentHash *h_age_commitment; - bool *existed; + uint64_t known_coin_id; + struct TALER_DenominationHashP denom_hash; + struct TALER_AgeCommitmentHash h_age_commitment; + bool existed; + bool denom_conflict; + bool age_conflict; }; - - /** * Information about a denomination key. */ @@ -900,21 +898,6 @@ struct TALER_EXCHANGEDB_DenominationKeyMetaData }; - - - - - - - - - - - - - - - /** * Signature of a function called with information about the exchange's * denomination keys. @@ -4055,10 +4038,10 @@ struct TALER_EXCHANGEDB_Plugin struct TALER_DenominationHashP *denom_pub_hash, struct TALER_AgeCommitmentHash *age_hash); - enum TALER_EXCHANGEDB_CoinKnownStatus + enum GNUNET_DB_QueryStatus (*batch_ensure_coin_known)(void *cls, const struct TALER_CoinPublicInfo *coin, - const struct + struct TALER_EXCHANGEDB_CoinInfo *result, unsigned int coin_length, unsigned int batch_size); |