This commit is contained in:
Christian Grothoff 2015-06-11 16:11:07 +02:00
parent a560e79a50
commit fdcac7d6af
6 changed files with 27 additions and 10 deletions

View File

@ -5,13 +5,16 @@ CURRENCY = EUR
# Wire format supproted by the mint (currently only SEPA is implemented)
WIREFORMAT = SEPA
# How to access our database
DB = postgres
DB_CONN_STR = "postgres:///taler"
# HTTP port the mint listens to
PORT = 4241
# Master public key used to sign the mint's various keys
MASTER_PUBLIC_KEY = NEGTF62MNGVPZNW19V7S3CRS9D7K04MAHDGX3N6WY2NXREN26J80
# How to access our database
DB = postgres
[mintdb-postgres]
DB_CONN_STR = "postgres:///taler"

View File

@ -8,7 +8,7 @@ taler.conf \- Taler configuration file.
.SH DESCRIPTION
The basic structure of the configuration file is the following. The file is split into sections. Every section begins with "[SECTIONNAME]" and contains a number of options of the form "OPTION=VALUE". Empty lines and lines beginning with a "#" are treated as comments.
The basic structure of the configuration file is the following. The file is split into sections. Every section begins with "[SECTIONNAME]" and contains a number of options of the form "OPTION=VALUE". Empty lines and lines beginning with a "#" are treated as comments.
.SH MINT OPTIONS
@ -19,12 +19,19 @@ The following options are from the "[mint]" section and used by most mint tools:
.IP WIREFORMAT
Format used for wire transfers to the merchant, i.e. "SEPA".
.IP DB
How to access the database, i.e. "postgres:///taler"
Plugin to use for the database, i.e. "postgres"
.IP PORT
Port on which the HTTP server listens, i.e. 8080.
.IP MASTER_PUBLIC_KEY
Crockford Base32-encoded master public key, public version of the mint\'s long\-time offline signing key.
.SH Postgres database options
The following options must be in section "[mintdb-postgres]":
.IP DB_CONN_STR
How to access the database, i.e. "postgres:///taler" to use the "taler" database. Testcases use "talercheck".
.SH COIN OPTIONS
The following options must be in sections starting with "[coin_]" and are used by taler\-mint\-keyup to create denomination keys:

View File

@ -1,6 +1,8 @@
[mint]
db = postgres:///taler
port = 4241
TMH_master_public_key = 6ZE0HEY2M0FWP61M0470HYBF4K6RRD5DP54372PD2TN9N9VX2VJG
refresh_security_parameter = 3
DB = postgres
[mintdb-postgres]
DB_CONN_STR = postgres:///taler

View File

@ -1,6 +1,9 @@
[mint]
db = postgres:///taler
port = 4241
TMH_master_public_key = 7995WKK71KPKTBBMA5BHNBSZFGNRZPYNXDJMQ8EK86V9598H03TG
refresh_security_parameter = 3
DB = postgres
[mintdb-postgres]
DB_CONN_STR = postgres:///taler

View File

@ -2960,7 +2960,7 @@ libtaler_plugin_mintdb_postgres_init (void *cls)
/* FIXME: use configuration section with "postgres" in its name. #3835 */
if (GNUNET_OK !=
GNUNET_CONFIGURATION_get_value_string (cfg,
"mint",
"mintdb-postgres",
"db_conn_str",
&pg->connection_cfg_str))
{

View File

@ -2,5 +2,7 @@
#The DB plugin to use
DB = postgres
[mintdb-postgres]
#The connection string the plugin has to use for connecting to the database
DB_CONN_STR = postgres:///talercheck