aboutsummaryrefslogtreecommitdiff
path: root/src/include/taler_exchangedb_plugin.h
diff options
context:
space:
mode:
authorJoseph <Joseph.xu@efrei.net>2023-02-20 08:04:06 -0500
committerJoseph <Joseph.xu@efrei.net>2023-03-27 09:54:59 -0400
commitfb70814d46d5b92da45e2caa8c513263de7467b2 (patch)
tree5eb1db6857515cfb774d563f0544bea16b4427ca /src/include/taler_exchangedb_plugin.h
parent42258d5778fde385a78dd0e3420528f5f4583f6d (diff)
downloadexchange-fb70814d46d5b92da45e2caa8c513263de7467b2.tar.xz
some changes for ensure known coin
Diffstat (limited to 'src/include/taler_exchangedb_plugin.h')
-rw-r--r--src/include/taler_exchangedb_plugin.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/include/taler_exchangedb_plugin.h b/src/include/taler_exchangedb_plugin.h
index 962bccaa2..02d7896a6 100644
--- a/src/include/taler_exchangedb_plugin.h
+++ b/src/include/taler_exchangedb_plugin.h
@@ -4026,7 +4026,12 @@ struct TALER_EXCHANGEDB_Plugin
uint64_t *known_coin_id,
struct TALER_DenominationHashP *denom_pub_hash,
struct TALER_AgeCommitmentHash *age_hash);
-
+ enum TALER_EXCHANGEDB_CoinKnownStatus
+ (*batch_ensure_coin_known)(void *cls,
+ const struct TALER_CoinPublicInfo *coin,
+ const struct TALER_CoinInfo *result,
+ unsigned int coin_length,
+ unsigned int batch_size);
/**
* Retrieve information about the given @a coin from the database.