exchange

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

commit b9762239f8b826de72c9718e0e9f09190591e265
parent 06084d899a8063cb7a079379ea16afa026d020a0
Author: Christian Grothoff <christian@grothoff.org>
Date:   Sun,  8 Dec 2024 21:34:02 +0100

-fix prefixes

Diffstat:
Msrc/auditor/test-sync-in.conf | 11+++++++++++
Msrc/auditor/test-sync-out.conf | 11+++++++++++
Msrc/util/os_installation.c | 6+++---
3 files changed, 25 insertions(+), 3 deletions(-)

diff --git a/src/auditor/test-sync-in.conf b/src/auditor/test-sync-in.conf @@ -11,6 +11,17 @@ CONFIG = postgres:///talercheck-in # Where are the SQL files to setup our tables? SQL_DIR = ${DATADIR}sql/ +[merchant] +DB = postgres + +[merchantdb-postgres] +CONFIG = "postgres:///talercheck-in" + +# Where are the SQL files to setup our tables? +# Important: this MUST end with a "/"! +SQL_DIR = ${DATADIR}sql/ + + [exchangedb] # After how long do we close idle reserves? The exchange diff --git a/src/auditor/test-sync-out.conf b/src/auditor/test-sync-out.conf @@ -11,6 +11,17 @@ CONFIG = postgres:///talercheck-out # Where are the SQL files to setup our tables? SQL_DIR = ${DATADIR}sql/ +[merchant] +DB = postgres + +[merchantdb-postgres] +CONFIG = "postgres:///talercheck-in" + +# Where are the SQL files to setup our tables? +# Important: this MUST end with a "/"! +SQL_DIR = ${DATADIR}sql/ + + [exchangedb] # After how long do we close idle reserves? The exchange diff --git a/src/util/os_installation.c b/src/util/os_installation.c @@ -34,7 +34,7 @@ static const struct GNUNET_OS_ProjectData exchange_pd = { .libname = "libtalerutil", .project_dirname = "taler-exchange", .binary_name = "taler-exchange-httpd", - .env_varname = "TALER_PREFIX", + .env_varname = "TALER_EXCHANGE_PREFIX", .base_config_varname = "TALER_BASE_CONFIG", .bug_email = "taler@gnu.org", .homepage = "http://www.gnu.org/s/taler/", @@ -63,7 +63,7 @@ static const struct GNUNET_OS_ProjectData auditor_pd = { .libname = "libtalerutil", .project_dirname = "taler-auditor", .binary_name = "taler-auditor-httpd", - .env_varname = "TALER_PREFIX", + .env_varname = "TALER_AUDITOR_PREFIX", .base_config_varname = "TALER_BASE_CONFIG", .bug_email = "taler@gnu.org", .homepage = "http://www.gnu.org/s/taler/", @@ -92,7 +92,7 @@ static const struct GNUNET_OS_ProjectData fakebank_pd = { .libname = "libtalerutil", .project_dirname = "taler-fakebank", .binary_name = "taler-fakebank-run", - .env_varname = "TALER_PREFIX", + .env_varname = "TALER_BANK_PREFIX", .base_config_varname = "TALER_BASE_CONFIG", .bug_email = "taler@gnu.org", .homepage = "http://www.gnu.org/s/taler/",