diff options
author | Christian Grothoff <grothoff@gnunet.org> | 2023-03-31 13:50:32 +0200 |
---|---|---|
committer | Christian Grothoff <grothoff@gnunet.org> | 2023-03-31 13:50:32 +0200 |
commit | 6eed8917c37ad047ee95e964cd516d82aacac473 (patch) | |
tree | 5dedf24afa822f80325abbd407275f9de840b302 /src/include/taler_exchangedb_plugin.h | |
parent | 9cce35d27027e1e72e44ac8965ae687d75f1c93d (diff) |
fix exchangedb build errors
Diffstat (limited to 'src/include/taler_exchangedb_plugin.h')
-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); |