summaryrefslogtreecommitdiff
path: root/src/backend/taler-merchant-httpd.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-10-26 20:55:43 +0200
committerChristian Grothoff <christian@grothoff.org>2019-10-26 20:55:43 +0200
commitd78f07e8af8cf1fc83a0085269ddcda11f302bc5 (patch)
treeecaa3ed3c2c6e94eccc65feeb1dcc582be0fd912 /src/backend/taler-merchant-httpd.c
parent27bf43c4075ca03c500a6d3643fe575d910a202c (diff)
downloadmerchant-d78f07e8af8cf1fc83a0085269ddcda11f302bc5.tar.gz
merchant-d78f07e8af8cf1fc83a0085269ddcda11f302bc5.tar.bz2
merchant-d78f07e8af8cf1fc83a0085269ddcda11f302bc5.zip
add FORCE_AUDIT option
Diffstat (limited to 'src/backend/taler-merchant-httpd.c')
-rw-r--r--src/backend/taler-merchant-httpd.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/backend/taler-merchant-httpd.c b/src/backend/taler-merchant-httpd.c
index bc784cde..91840559 100644
--- a/src/backend/taler-merchant-httpd.c
+++ b/src/backend/taler-merchant-httpd.c
@@ -120,6 +120,11 @@ int TMH_merchant_connection_close;
char *TMH_currency;
/**
+ * Inform the auditor for all deposit confirmations (global option)
+ */
+int TMH_force_audit;
+
+/**
* Task running the HTTP server.
*/
static struct GNUNET_SCHEDULER_Task *mhd_task;
@@ -1343,7 +1348,11 @@ run (void *cls,
GNUNET_SCHEDULER_shutdown ();
return;
}
-
+ if (GNUNET_YES ==
+ GNUNET_CONFIGURATION_get_value_yesno (config,
+ "merchant",
+ "FORCE_AUDIT"))
+ TMH_force_audit = GNUNET_YES;
if (GNUNET_SYSERR ==
TMH_EXCHANGES_init (config))
{