exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

commit bccdf7e4521dd5587e7360e86a3aa386d8417302
parent 917b2f373e04480799be9e9c6fb4dd3ef4e20f44
Author: Christian Grothoff <christian@grothoff.org>
Date:   Sat, 19 Feb 2022 21:21:24 +0100

-reduce default fakebank memory allocation (see #7156)

Diffstat:
Msrc/bank-lib/bank_api_common.c | 4++--
Msrc/bank-lib/taler-fakebank-run.c | 2+-
2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/bank-lib/bank_api_common.c b/src/bank-lib/bank_api_common.c @@ -23,11 +23,11 @@ #include "bank_api_common.h" -int +enum GNUNET_GenericReturnValue TALER_BANK_setup_auth_ (CURL *easy, const struct TALER_BANK_AuthenticationData *auth) { - int ret; + enum GNUNET_GenericReturnValue ret; ret = GNUNET_OK; switch (auth->method) diff --git a/src/bank-lib/taler-fakebank-run.c b/src/bank-lib/taler-fakebank-run.c @@ -101,7 +101,7 @@ run (void *cls, const struct GNUNET_CONFIGURATION_Handle *cfg) { unsigned long long port = 8082; - unsigned long long ram = 1024 * 1024 * 128; /* 128 M entries */ + unsigned long long ram = 1024 * 128; /* 128 k entries */ char *currency_string; (void) cls;