diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-10-17 14:12:13 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-10-17 14:12:13 +0200 |
commit | 4e3b133e47e2549682209feca61590f7e8fcd0ac (patch) | |
tree | 4c6c69d36306f71d2430c70b1bc7d3e59511912b /src/include/taler_exchangedb_plugin.h | |
parent | 932d2aaf88d9c871bc64abcd8d7ab9c5a4f543fd (diff) |
-incomplete draft for /kyc-wallet handler
Diffstat (limited to 'src/include/taler_exchangedb_plugin.h')
-rw-r--r-- | src/include/taler_exchangedb_plugin.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/include/taler_exchangedb_plugin.h b/src/include/taler_exchangedb_plugin.h index 286162fbc..4b90396bb 100644 --- a/src/include/taler_exchangedb_plugin.h +++ b/src/include/taler_exchangedb_plugin.h @@ -2368,6 +2368,22 @@ struct TALER_EXCHANGEDB_Plugin /** + * Get the KYC status for a wallet. If the status is unknown, + * inserts a new status record (hence INsertSELECT). + * + * @param cls the @e cls of this struct with the plugin-specific state + * @param reserve_pub public key of the wallet + * @param[out] kyc set to the KYC status of the wallet + * @return transaction status + */ + enum GNUNET_DB_QueryStatus + (*inselect_wallet_kyc_status)( + void *cls, + const struct TALER_ReservePublicKeyP *reserve_pub, + struct TALER_EXCHANGEDB_KycStatus *kyc); + + + /** * Insert a incoming transaction into reserves. New reserves are * also created through this function. * |