summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-07-04 23:40:49 +0200
committerChristian Grothoff <christian@grothoff.org>2022-07-04 23:40:49 +0200
commit615b4621e3637db8ea32b0a17803101044adb594 (patch)
tree08dee586dac3768012488ece64088a2efbda9bdd /src/include
parente68206b1f9725a82b38225025c4693580d6aad10 (diff)
downloadexchange-615b4621e3637db8ea32b0a17803101044adb594.tar.gz
exchange-615b4621e3637db8ea32b0a17803101044adb594.tar.bz2
exchange-615b4621e3637db8ea32b0a17803101044adb594.zip
-implement DB logic for forcing reserve close
Diffstat (limited to 'src/include')
-rw-r--r--src/include/taler_exchangedb_plugin.h20
1 files changed, 2 insertions, 18 deletions
diff --git a/src/include/taler_exchangedb_plugin.h b/src/include/taler_exchangedb_plugin.h
index 4ec2b6c78..23b2702ed 100644
--- a/src/include/taler_exchangedb_plugin.h
+++ b/src/include/taler_exchangedb_plugin.h
@@ -5463,24 +5463,6 @@ struct TALER_EXCHANGEDB_Plugin
/**
- * Function called to approve merging of a purse with
- * an account, made by the receiving account.
- *
- * @param cls the @e cls of this struct with the plugin-specific state
- * @param purse_pub public key of the purse being merged
- * @param reserve_pub public key of the account being credited
- * @param reserve_sig signature of the account holder affirming the merge
- * @return transaction status code
- */
- enum GNUNET_DB_QueryStatus
- (*do_account_merge)(
- void *cls,
- const struct TALER_PurseContractPublicKeyP *purse_pub,
- const struct TALER_ReservePublicKeyP *reserve_pub,
- const struct TALER_ReserveSignatureP *reserve_sig);
-
-
- /**
* Function called to persist a signature that
* prove that the client requested an
* account history. Debits the @a history_fee from
@@ -5513,6 +5495,7 @@ struct TALER_EXCHANGEDB_Plugin
* @param cls the @e cls of this struct with the plugin-specific state
* @param reserve_pub public key of the account to close
* @param reserve_sig signature affiming that the account is to be closed
+ * @param request_timestamp timestamp of the close request
* @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
*/
@@ -5520,6 +5503,7 @@ struct TALER_EXCHANGEDB_Plugin
(*insert_close_request)(void *cls,
const struct TALER_ReservePublicKeyP *reserve_pub,
const struct TALER_ReserveSignatureP *reserve_sig,
+ struct GNUNET_TIME_Timestamp request_timestamp,
struct TALER_Amount *final_balance);