fix auditor test DB generation logic and re-generate databases
This commit is contained in:
parent
ae8d481e1c
commit
f9a69b423b
@ -1 +1 @@
|
|||||||
1610355088
|
1630849842
|
||||||
|
@ -1 +1 @@
|
|||||||
0NZE5NG55JPDJKS3KNRKTZ3DPMF90J4JHH9GC50J5TTTQKVJC5TG
|
K9XQK7176F2CVFPXQAWC8EMYZJNVSW011E1MF9RQE7QTGE1KJXA0
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -1,7 +1,6 @@
|
|||||||
[exchange]
|
[exchange]
|
||||||
MAX_KEYS_CACHING = forever
|
MAX_KEYS_CACHING = forever
|
||||||
DB = postgres
|
DB = postgres
|
||||||
MASTER_PRIV_FILE = ${TALER_DATA_HOME}/exchange/offline-keys/master.priv
|
|
||||||
SERVE = tcp
|
SERVE = tcp
|
||||||
UNIXPATH = ${TALER_RUNTIME_DIR}/exchange.http
|
UNIXPATH = ${TALER_RUNTIME_DIR}/exchange.http
|
||||||
UNIXPATH_MODE = 660
|
UNIXPATH_MODE = 660
|
||||||
|
@ -75,7 +75,7 @@ createdb $TARGET_DB || exit_skip "Could not create database $TARGET_DB"
|
|||||||
|
|
||||||
|
|
||||||
# obtain key configuration data
|
# obtain key configuration data
|
||||||
MASTER_PRIV_FILE=`taler-config -f -c $CONF -s EXCHANGE -o MASTER_PRIV_FILE`
|
MASTER_PRIV_FILE=`taler-config -f -c $CONF -s exchange-offline -o MASTER_PRIV_FILE`
|
||||||
MASTER_PRIV_DIR=`dirname $MASTER_PRIV_FILE`
|
MASTER_PRIV_DIR=`dirname $MASTER_PRIV_FILE`
|
||||||
mkdir -p $MASTER_PRIV_DIR
|
mkdir -p $MASTER_PRIV_DIR
|
||||||
gnunet-ecc -g1 $MASTER_PRIV_FILE > /dev/null
|
gnunet-ecc -g1 $MASTER_PRIV_FILE > /dev/null
|
||||||
@ -197,7 +197,7 @@ echo " DONE"
|
|||||||
|
|
||||||
echo -n "Setting up merchant"
|
echo -n "Setting up merchant"
|
||||||
|
|
||||||
curl -H "Content-Type: application/json" -X POST -d '{"auth":{"method":"external"},"payto_uris":["payto://x-taler-bank/localhost/43"],"id":"default","name":"default","address":{},"jurisdiction":{},"default_max_wire_fee":"TESTKUDOS:1", "default_max_deposit_fee":"TESTKUDOS:1","default_wire_fee_amortization":1,"default_wire_transfer_delay":{"d_ms" : 3600000},"default_pay_delay":{"d_ms": 3600000}}' http://localhost:9966/private/instances
|
curl -H "Content-Type: application/json" -X POST -d '{"auth":{"method":"external"},"payto_uris":["payto://x-taler-bank/localhost/43"],"id":"default","name":"default","address":{},"jurisdiction":{},"default_max_wire_fee":"TESTKUDOS:1", "default_max_deposit_fee":"TESTKUDOS:1","default_wire_fee_amortization":1,"default_wire_transfer_delay":{"d_ms" : 3600000},"default_pay_delay":{"d_ms": 3600000}}' http://localhost:9966/management/instances
|
||||||
|
|
||||||
|
|
||||||
echo " DONE"
|
echo " DONE"
|
||||||
|
@ -61,7 +61,7 @@ dropdb $TARGET_DB >/dev/null 2>/dev/null || true
|
|||||||
createdb $TARGET_DB || exit_skip "Could not create database $TARGET_DB"
|
createdb $TARGET_DB || exit_skip "Could not create database $TARGET_DB"
|
||||||
|
|
||||||
# obtain key configuration data
|
# obtain key configuration data
|
||||||
MASTER_PRIV_FILE=`taler-config -f -c $CONF -s EXCHANGE -o MASTER_PRIV_FILE`
|
MASTER_PRIV_FILE=`taler-config -f -c $CONF -s exchange-offline -o MASTER_PRIV_FILE`
|
||||||
MASTER_PRIV_DIR=`dirname $MASTER_PRIV_FILE`
|
MASTER_PRIV_DIR=`dirname $MASTER_PRIV_FILE`
|
||||||
mkdir -p $MASTER_PRIV_DIR
|
mkdir -p $MASTER_PRIV_DIR
|
||||||
gnunet-ecc -g1 $MASTER_PRIV_FILE > /dev/null
|
gnunet-ecc -g1 $MASTER_PRIV_FILE > /dev/null
|
||||||
@ -192,7 +192,7 @@ echo " DONE"
|
|||||||
# Setup merchant
|
# Setup merchant
|
||||||
echo -n "Setting up merchant"
|
echo -n "Setting up merchant"
|
||||||
|
|
||||||
curl -H "Content-Type: application/json" -X POST -d '{"payto_uris":["payto://x-taler-bank/localhost/43"],"id":"default","name":"default","address":{},"jurisdiction":{},"default_max_wire_fee":"TESTKUDOS:1", "default_max_deposit_fee":"TESTKUDOS:1","default_wire_fee_amortization":1,"default_wire_transfer_delay":{"d_ms" : 3600000},"default_pay_delay":{"d_ms": 3600000}}' http://localhost:9966/private/instances
|
curl -H "Content-Type: application/json" -X POST -d '{"payto_uris":["payto://x-taler-bank/localhost/43"],"id":"default","name":"default","address":{},"jurisdiction":{},"default_max_wire_fee":"TESTKUDOS:1", "default_max_deposit_fee":"TESTKUDOS:1","default_wire_fee_amortization":1,"default_wire_transfer_delay":{"d_ms" : 3600000},"default_pay_delay":{"d_ms": 3600000}}' http://localhost:9966/management/instances
|
||||||
|
|
||||||
|
|
||||||
# run wallet CLI
|
# run wallet CLI
|
||||||
|
@ -1 +1 @@
|
|||||||
1610355265
|
1630849954
|
||||||
|
@ -1 +1 @@
|
|||||||
YRY40ACPF7NSRTKKS5V7HZHWX7SG5JQ6PJ8053D803HM4PQN18A0
|
0DKW2AR37E3MBYM895RPF1VKM1P078KP9AQ6K97QHVSWH2WG3A80
|
||||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user