This commit is contained in:
parent
8dc7114bae
commit
ccd10bb08b
2 changed files with 7 additions and 2 deletions
|
|
@ -11,7 +11,7 @@ master_key="./default/master_offline_private_key"
|
|||
zero_euro="EUR:0.0"
|
||||
|
||||
offline_tool() {
|
||||
dune exec offline -- "$@"
|
||||
dune exec offline -- "$@" > /dev/null
|
||||
}
|
||||
|
||||
offline_tool download --output $a --url $url"/management/keys"
|
||||
|
|
@ -20,6 +20,7 @@ offline_tool sign \
|
|||
--input $a \
|
||||
--output $b
|
||||
offline_tool upload --input $b --url $url"/management/keys"
|
||||
echo "[OK] /management/keys"
|
||||
|
||||
offline_tool enable-auditor \
|
||||
--master_key $master_key \
|
||||
|
|
@ -29,6 +30,7 @@ offline_tool enable-auditor \
|
|||
--auditor_pub $auditor_pub \
|
||||
--validity_start 0
|
||||
offline_tool upload --input $b --url $url"/management/auditors"
|
||||
echo "[OK] /management/auditors"
|
||||
|
||||
offline_tool wire-fee \
|
||||
--master_key $master_key \
|
||||
|
|
@ -39,6 +41,7 @@ offline_tool wire-fee \
|
|||
--closing_fee $zero_euro \
|
||||
--wire_fee $zero_euro
|
||||
offline_tool upload --input $b --url $url"/management/wire-fee"
|
||||
echo "[OK] /management/wire-fee"
|
||||
|
||||
offline_tool global-fees \
|
||||
--master_key $master_key \
|
||||
|
|
@ -52,3 +55,4 @@ offline_tool global-fees \
|
|||
--purse_account_limit 1 \
|
||||
--purse_timeout 9999999
|
||||
offline_tool upload --input $b --url $url"/management/global-fees"
|
||||
echo "[OK] /management/global-fees"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue