summaryrefslogtreecommitdiff
path: root/src/exchangedb/irbt_callbacks.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-03-05 16:16:38 +0100
committerChristian Grothoff <christian@grothoff.org>2022-03-05 16:16:38 +0100
commit57470e4c0891e2a98fd33fec0ed9b49da4997c2a (patch)
tree644dd9e727301b762ee2756edf62418a36eaff37 /src/exchangedb/irbt_callbacks.c
parent5fa977cc05daca469044711ffb6a497287094c70 (diff)
downloadexchange-57470e4c0891e2a98fd33fec0ed9b49da4997c2a.tar.gz
exchange-57470e4c0891e2a98fd33fec0ed9b49da4997c2a.tar.bz2
exchange-57470e4c0891e2a98fd33fec0ed9b49da4997c2a.zip
-more work on global_fees
Diffstat (limited to 'src/exchangedb/irbt_callbacks.c')
-rw-r--r--src/exchangedb/irbt_callbacks.c30
1 files changed, 24 insertions, 6 deletions
diff --git a/src/exchangedb/irbt_callbacks.c b/src/exchangedb/irbt_callbacks.c
index ae4863436..e417c106e 100644
--- a/src/exchangedb/irbt_callbacks.c
+++ b/src/exchangedb/irbt_callbacks.c
@@ -659,12 +659,30 @@ irbt_cb_table_global_fee (struct PostgresClosure *pg,
const struct TALER_EXCHANGEDB_TableData *td)
{
struct GNUNET_PQ_QueryParam params[] = {
- GNUNET_PQ_query_param_uint64 (&td->serial),
- GNUNET_PQ_query_param_timestamp (&td->details.global_fee.start_date),
- GNUNET_PQ_query_param_timestamp (&td->details.global_fee.end_date),
- TALER_PQ_query_param_amount (&td->details.global_fee.fees.history),
- TALER_PQ_query_param_amount (&td->details.global_fee.fees.kyc),
- GNUNET_PQ_query_param_auto_from_type (&td->details.wire_fee.master_sig),
+ GNUNET_PQ_query_param_uint64 (
+ &td->serial),
+ GNUNET_PQ_query_param_timestamp (
+ &td->details.global_fee.start_date),
+ GNUNET_PQ_query_param_timestamp (
+ &td->details.global_fee.end_date),
+ TALER_PQ_query_param_amount (
+ &td->details.global_fee.fees.history),
+ TALER_PQ_query_param_amount (
+ &td->details.global_fee.fees.kyc),
+ TALER_PQ_query_param_amount (
+ &td->details.global_fee.fees.account),
+ TALER_PQ_query_param_amount (
+ &td->details.global_fee.fees.purse),
+ GNUNET_PQ_query_param_relative_time (
+ &td->details.global_fee.purse_timeout),
+ GNUNET_PQ_query_param_relative_time (
+ &td->details.global_fee.kyc_timeout),
+ GNUNET_PQ_query_param_relative_time (
+ &td->details.global_fee.history_expiration),
+ GNUNET_PQ_query_param_uint32 (
+ &td->details.global_fee.purse_account_limit),
+ GNUNET_PQ_query_param_auto_from_type (
+ &td->details.global_fee.master_sig),
GNUNET_PQ_query_param_end
};