diff options
author | Christian Grothoff <christian@grothoff.org> | 2022-10-03 23:54:12 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2022-10-03 23:54:12 +0200 |
commit | 856b8e26c2b83ebce31eb35c9fc9f23641187be9 (patch) | |
tree | 534951703f78a785702d0d2d82a43b425684ca60 /src/include/taler_exchangedb_plugin.h | |
parent | 4a487b179c013886721c4aa06af9c75e9aad508c (diff) | |
download | exchange-856b8e26c2b83ebce31eb35c9fc9f23641187be9.tar.xz |
-more work on new DB logic
Diffstat (limited to 'src/include/taler_exchangedb_plugin.h')
-rw-r--r-- | src/include/taler_exchangedb_plugin.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/include/taler_exchangedb_plugin.h b/src/include/taler_exchangedb_plugin.h index bde3c8136..0ce8ff473 100644 --- a/src/include/taler_exchangedb_plugin.h +++ b/src/include/taler_exchangedb_plugin.h @@ -4072,6 +4072,7 @@ struct TALER_EXCHANGEDB_Plugin * @param known_coin_id ID of the coin in the known_coins table * @param coin_total amount to be spent of the coin (including deposit fee) * @param reserve_sig signature by the reserve affirming the open operation + * @param reserve_pub public key of the reserve being opened * @param[out] insufficient_funds set to true if the coin's balance is insufficient, otherwise to false * @return transaction status code, 0 if operation is already in the DB */ @@ -4083,6 +4084,7 @@ struct TALER_EXCHANGEDB_Plugin uint64_t known_coin_id, const struct TALER_Amount *coin_total, const struct TALER_ReserveSignatureP *reserve_sig, + const struct TALER_ReservePublicKeyP *reserve_pub, bool *insufficient_funds); @@ -5600,8 +5602,8 @@ struct TALER_EXCHANGEDB_Plugin * @param payto_uri where to wire the funds * @param reserve_sig signature affiming that the account is to be closed * @param request_timestamp timestamp of the close request + * @param balance balance at the time of closing * @param closing_fee closing fee to charge - * @param[out] final_balance set to the final balance in the account that will be wired back to the origin account * @return transaction status code */ enum GNUNET_DB_QueryStatus @@ -5610,8 +5612,8 @@ struct TALER_EXCHANGEDB_Plugin const char *payto_uri, const struct TALER_ReserveSignatureP *reserve_sig, struct GNUNET_TIME_Timestamp request_timestamp, - const struct TALER_Amount *closing_fee, - struct TALER_Amount *final_balance); + const struct TALER_Amount *balance, + const struct TALER_Amount *closing_fee); /** |