From fe232f1fed5323774578b01f83bf22a8923b684a Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Tue, 22 Dec 2020 18:27:34 +0100 Subject: integrate auditor signature check logic with taler-helper-auditor-coins --- src/include/taler_exchangedb_plugin.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'src/include/taler_exchangedb_plugin.h') diff --git a/src/include/taler_exchangedb_plugin.h b/src/include/taler_exchangedb_plugin.h index 068d97fba..8bf118a07 100644 --- a/src/include/taler_exchangedb_plugin.h +++ b/src/include/taler_exchangedb_plugin.h @@ -3436,6 +3436,25 @@ struct TALER_EXCHANGEDB_Plugin const struct TALER_AuditorSignatureP *auditor_sig); + /** + * Obtain information about an auditor auditing a denomination key. + * + * @param cls closure + * @param session a session + * @param h_denom_pub the audited denomination + * @param auditor_pub the auditor's key + * @param[out] auditor_sig set to signature affirming the auditor's audit activity + * @return transaction status code + */ + enum GNUNET_DB_QueryStatus + (*select_auditor_denom_sig)( + void *cls, + struct TALER_EXCHANGEDB_Session *session, + const struct GNUNET_HashCode *h_denom_pub, + const struct TALER_AuditorPublicKeyP *auditor_pub, + struct TALER_AuditorSignatureP *auditor_sig); + + /** * Lookup information about known wire fees. * -- cgit v1.2.3