This commit is contained in:
parent
bba5484da2
commit
1a39ad56b9
1 changed files with 7 additions and 7 deletions
|
|
@ -8,7 +8,7 @@ b="/tmp/b.json"
|
||||||
url="http://localhost:3434"
|
url="http://localhost:3434"
|
||||||
auditor_pub="A17JXR3E6J4CXDPYT7S1H25PGJ3ABS26TQ38654QCX0TB59RPMF0"
|
auditor_pub="A17JXR3E6J4CXDPYT7S1H25PGJ3ABS26TQ38654QCX0TB59RPMF0"
|
||||||
master_key="./default/master_offline_private_key"
|
master_key="./default/master_offline_private_key"
|
||||||
zero_euro="KUDO:0.0"
|
zero_kudos="KUDOS:0.0"
|
||||||
|
|
||||||
offline_tool() {
|
offline_tool() {
|
||||||
dune exec offline -- "$@" > /dev/null
|
dune exec offline -- "$@" > /dev/null
|
||||||
|
|
@ -63,8 +63,8 @@ offline_tool wire-fee \
|
||||||
--wire_method "xxx" \
|
--wire_method "xxx" \
|
||||||
--fee_start 0 \
|
--fee_start 0 \
|
||||||
--fee_end 99999999 \
|
--fee_end 99999999 \
|
||||||
--closing_fee $zero_euro \
|
--closing_fee $zero_kudos \
|
||||||
--wire_fee $zero_euro
|
--wire_fee $zero_kudos
|
||||||
offline_tool upload --input $b --url $url"/management/wire-fee"
|
offline_tool upload --input $b --url $url"/management/wire-fee"
|
||||||
echo "[OK] /management/wire-fee"
|
echo "[OK] /management/wire-fee"
|
||||||
|
|
||||||
|
|
@ -73,9 +73,9 @@ offline_tool global-fees \
|
||||||
--output $b \
|
--output $b \
|
||||||
--start_date 0 \
|
--start_date 0 \
|
||||||
--end_date 99999999 \
|
--end_date 99999999 \
|
||||||
--history_fee $zero_euro \
|
--history_fee $zero_kudos \
|
||||||
--account_fee $zero_euro \
|
--account_fee $zero_kudos \
|
||||||
--purse_fee $zero_euro \
|
--purse_fee $zero_kudos \
|
||||||
--history_expiration 9999999 \
|
--history_expiration 9999999 \
|
||||||
--purse_account_limit 1 \
|
--purse_account_limit 1 \
|
||||||
--purse_timeout 9999999
|
--purse_timeout 9999999
|
||||||
|
|
@ -107,6 +107,6 @@ offline_tool drain \
|
||||||
--credit_payto_uri "" \
|
--credit_payto_uri "" \
|
||||||
--wtid $wtid \
|
--wtid $wtid \
|
||||||
--date 0 \
|
--date 0 \
|
||||||
--amount $zero_euro
|
--amount $zero_kudos
|
||||||
offline_tool upload --input $b --url $url"/management/drain"
|
offline_tool upload --input $b --url $url"/management/drain"
|
||||||
echo "[OK] /management/drain"
|
echo "[OK] /management/drain"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue