diff options
author | Özgür Kesim <oec-taler@kesim.org> | 2023-06-26 00:01:31 +0200 |
---|---|---|
committer | Özgür Kesim <oec-taler@kesim.org> | 2023-06-26 00:01:31 +0200 |
commit | ddedf03a816e5139b235a3ebdf5b600508c5ed5f (patch) | |
tree | a65179048fc764ec82ddf645a8982186b0157448 /src/exchangedb/pg_insert_age_withdraw_reveal.h | |
parent | 70bfe0ed1b9a5dbb6cc487465ef3c3df4cdb0436 (diff) | |
download | exchange-ddedf03a816e5139b235a3ebdf5b600508c5ed5f.tar.xz |
[age-withdraw] age-withdraw commit- and reveal-handlers implemented, 12/n
The handlers for the commit- and reveal-phases of the age-withdraw
HTTP-endpoints are implemented, yet not active.
Still missing:
- support for age-withdraw is missing in lib/.
- tests
Diffstat (limited to 'src/exchangedb/pg_insert_age_withdraw_reveal.h')
-rw-r--r-- | src/exchangedb/pg_insert_age_withdraw_reveal.h | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/src/exchangedb/pg_insert_age_withdraw_reveal.h b/src/exchangedb/pg_insert_age_withdraw_reveal.h deleted file mode 100644 index 1ce05d597..000000000 --- a/src/exchangedb/pg_insert_age_withdraw_reveal.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - This file is part of TALER - Copyright (C) 2023 Taler Systems SA - - TALER is free software; you can redistribute it and/or modify it under the - terms of the GNU General Public License as published by the Free Software - Foundation; either version 3, or (at your option) any later version. - - TALER is distributed in the hope that it will be useful, but WITHOUT ANY - WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - A PARTICULAR PURPOSE. See the GNU General Public License for more details. - - You should have received a copy of the GNU General Public License along with - TALER; see the file COPYING. If not, see <http://www.gnu.org/licenses/> - */ -/** - * @file exchangedb/pg_insert_age_withdraw_reveal.h - * @brief implementation of the insert_age_withdraw_reveal function for Postgres - * @author Özgür Kesim - */ -#ifndef PG_INSERT_AGE_WITHDRAW_REVEAL_H -#define PG_INSERT_AGE_WITHDRAW_REVEAL_H - -#include "taler_util.h" -#include "taler_json_lib.h" -#include "taler_exchangedb_plugin.h" - -/** - * @brief Store in the database which coin(s) the wallet wanted to create in a - * given age-withdraw operation and all of the other information we learned or - * created in the /age-withdraw/reveal step. - * - * @param cls the @e cls of this struct with the plugin-specific state - * TODO:oec - * @return query status for the transaction - */ -enum GNUNET_DB_QueryStatus -TEH_PG_insert_refresh_reveal ( - void *cls, - /* TODO: oec */ - ); - -#endif |