fix #3835
This commit is contained in:
parent
a560e79a50
commit
fdcac7d6af
@ -5,13 +5,16 @@ CURRENCY = EUR
|
|||||||
# Wire format supproted by the mint (currently only SEPA is implemented)
|
# Wire format supproted by the mint (currently only SEPA is implemented)
|
||||||
WIREFORMAT = SEPA
|
WIREFORMAT = SEPA
|
||||||
|
|
||||||
# How to access our database
|
|
||||||
DB = postgres
|
|
||||||
|
|
||||||
DB_CONN_STR = "postgres:///taler"
|
|
||||||
|
|
||||||
# HTTP port the mint listens to
|
# HTTP port the mint listens to
|
||||||
PORT = 4241
|
PORT = 4241
|
||||||
|
|
||||||
# Master public key used to sign the mint's various keys
|
# Master public key used to sign the mint's various keys
|
||||||
MASTER_PUBLIC_KEY = NEGTF62MNGVPZNW19V7S3CRS9D7K04MAHDGX3N6WY2NXREN26J80
|
MASTER_PUBLIC_KEY = NEGTF62MNGVPZNW19V7S3CRS9D7K04MAHDGX3N6WY2NXREN26J80
|
||||||
|
|
||||||
|
# How to access our database
|
||||||
|
DB = postgres
|
||||||
|
|
||||||
|
|
||||||
|
[mintdb-postgres]
|
||||||
|
|
||||||
|
DB_CONN_STR = "postgres:///taler"
|
||||||
|
@ -8,7 +8,7 @@ taler.conf \- Taler configuration file.
|
|||||||
|
|
||||||
.SH DESCRIPTION
|
.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
|
.SH MINT OPTIONS
|
||||||
|
|
||||||
@ -19,12 +19,19 @@ The following options are from the "[mint]" section and used by most mint tools:
|
|||||||
.IP WIREFORMAT
|
.IP WIREFORMAT
|
||||||
Format used for wire transfers to the merchant, i.e. "SEPA".
|
Format used for wire transfers to the merchant, i.e. "SEPA".
|
||||||
.IP DB
|
.IP DB
|
||||||
How to access the database, i.e. "postgres:///taler"
|
Plugin to use for the database, i.e. "postgres"
|
||||||
.IP PORT
|
.IP PORT
|
||||||
Port on which the HTTP server listens, i.e. 8080.
|
Port on which the HTTP server listens, i.e. 8080.
|
||||||
.IP MASTER_PUBLIC_KEY
|
.IP MASTER_PUBLIC_KEY
|
||||||
Crockford Base32-encoded master public key, public version of the mint\'s long\-time offline signing 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
|
.SH COIN OPTIONS
|
||||||
|
|
||||||
The following options must be in sections starting with "[coin_]" and are used by taler\-mint\-keyup to create denomination keys:
|
The following options must be in sections starting with "[coin_]" and are used by taler\-mint\-keyup to create denomination keys:
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
[mint]
|
[mint]
|
||||||
db = postgres:///taler
|
|
||||||
port = 4241
|
port = 4241
|
||||||
TMH_master_public_key = 6ZE0HEY2M0FWP61M0470HYBF4K6RRD5DP54372PD2TN9N9VX2VJG
|
TMH_master_public_key = 6ZE0HEY2M0FWP61M0470HYBF4K6RRD5DP54372PD2TN9N9VX2VJG
|
||||||
refresh_security_parameter = 3
|
refresh_security_parameter = 3
|
||||||
|
DB = postgres
|
||||||
|
|
||||||
|
[mintdb-postgres]
|
||||||
|
DB_CONN_STR = postgres:///taler
|
||||||
|
@ -1,6 +1,9 @@
|
|||||||
[mint]
|
[mint]
|
||||||
db = postgres:///taler
|
|
||||||
port = 4241
|
port = 4241
|
||||||
TMH_master_public_key = 7995WKK71KPKTBBMA5BHNBSZFGNRZPYNXDJMQ8EK86V9598H03TG
|
TMH_master_public_key = 7995WKK71KPKTBBMA5BHNBSZFGNRZPYNXDJMQ8EK86V9598H03TG
|
||||||
refresh_security_parameter = 3
|
refresh_security_parameter = 3
|
||||||
|
|
||||||
|
DB = postgres
|
||||||
|
|
||||||
|
[mintdb-postgres]
|
||||||
|
DB_CONN_STR = postgres:///taler
|
||||||
|
@ -2960,7 +2960,7 @@ libtaler_plugin_mintdb_postgres_init (void *cls)
|
|||||||
/* FIXME: use configuration section with "postgres" in its name. #3835 */
|
/* FIXME: use configuration section with "postgres" in its name. #3835 */
|
||||||
if (GNUNET_OK !=
|
if (GNUNET_OK !=
|
||||||
GNUNET_CONFIGURATION_get_value_string (cfg,
|
GNUNET_CONFIGURATION_get_value_string (cfg,
|
||||||
"mint",
|
"mintdb-postgres",
|
||||||
"db_conn_str",
|
"db_conn_str",
|
||||||
&pg->connection_cfg_str))
|
&pg->connection_cfg_str))
|
||||||
{
|
{
|
||||||
|
@ -2,5 +2,7 @@
|
|||||||
#The DB plugin to use
|
#The DB plugin to use
|
||||||
DB = postgres
|
DB = postgres
|
||||||
|
|
||||||
|
[mintdb-postgres]
|
||||||
|
|
||||||
#The connection string the plugin has to use for connecting to the database
|
#The connection string the plugin has to use for connecting to the database
|
||||||
DB_CONN_STR = postgres:///talercheck
|
DB_CONN_STR = postgres:///talercheck
|
||||||
|
Loading…
Reference in New Issue
Block a user