summaryrefslogtreecommitdiff
path: root/src/bank-lib
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-01-18 14:36:49 +0100
committerChristian Grothoff <christian@grothoff.org>2020-01-18 14:36:49 +0100
commitc87722791debda4961f514d34b32b3f2775eaac9 (patch)
treec04496dbd827220b37fd25b2ff970d62085beae2 /src/bank-lib
parent5583b7a0595fe5c91943419ea46260fe7f7b9e9c (diff)
downloadexchange-c87722791debda4961f514d34b32b3f2775eaac9.tar.gz
exchange-c87722791debda4961f514d34b32b3f2775eaac9.tar.bz2
exchange-c87722791debda4961f514d34b32b3f2775eaac9.zip
doxygen
Diffstat (limited to 'src/bank-lib')
-rw-r--r--src/bank-lib/fakebank.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/bank-lib/fakebank.c b/src/bank-lib/fakebank.c
index ea0f23ac8..2a264f78b 100644
--- a/src/bank-lib/fakebank.c
+++ b/src/bank-lib/fakebank.c
@@ -1394,7 +1394,14 @@ run_mhd (void *cls)
/**
- * Start the fake bank.
+ * Start the fake bank. The fake bank will, like the normal bank, listen for
+ * requests for /admin/add/incoming and /transfer. However, instead of
+ * executing or storing those requests, it will simply allow querying whether
+ * such a request has been made via #TALER_FAKEBANK_check_debit() and
+ * #TALER_FAKEBANK_check_credit() as well as the history API.
+ *
+ * This is useful for writing testcases to check whether the exchange
+ * would have issued the correct wire transfer orders.
*
* @param port port to listen to
* @return NULL on error