diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-06-30 22:09:15 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-06-30 22:09:15 +0200 |
commit | 253d220ea54d45557f33dd3a7affef0e79593218 (patch) | |
tree | c50e34b2070f1bd1d3d340e7bec62db6ea6f4125 /src/mint/taler-mint-httpd_db.c | |
parent | 68bf92de2c1d754a04663236a4106e2c5635ebc4 (diff) | |
download | exchange-253d220ea54d45557f33dd3a7affef0e79593218.tar.xz |
towards implementing #3851: /admin/add/incoming
Diffstat (limited to 'src/mint/taler-mint-httpd_db.c')
-rw-r--r-- | src/mint/taler-mint-httpd_db.c | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/mint/taler-mint-httpd_db.c b/src/mint/taler-mint-httpd_db.c index 78a8d6f40..512ed9a48 100644 --- a/src/mint/taler-mint-httpd_db.c +++ b/src/mint/taler-mint-httpd_db.c @@ -1374,4 +1374,28 @@ TMH_DB_execute_refresh_link (struct MHD_Connection *connection, } +/** + * Add an incoming transaction to the database. Checks if the + * transaction is fresh (not a duplicate) and if so adds it to + * the database. + * + * @param connection the MHD connection to handle + * @param reserve_pub public key of the reserve + * @param amount amount to add to the reserve + * @param execution_time when did we receive the wire transfer + * @param wire details about the wire transfer + * @return MHD result code + */ +int +TMH_DB_execute_admin_add_incoming (struct MHD_Connection *connection, + const struct TALER_ReservePublicKeyP *reserve_pub, + const struct TALER_Amount *amount, + struct GNUNET_TIME_Absolute execution_time, + json_t *wire) +{ + GNUNET_break (0); // FIXME: #3851! + return MHD_NO; +} + + /* end of taler-mint-httpd_db.c */ |