Skip to content

Commit

Permalink
Update wordings in cntools for pool startup command, change default p…
Browse files Browse the repository at this point in the history
…rereqs to point to mainnet
  • Loading branch information
rdlrt committed Aug 3, 2020
1 parent 888f7d7 commit fd89236
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
12 changes: 6 additions & 6 deletions scripts/cnode-helper-scripts/cntools.sh
Expand Up @@ -1674,9 +1674,9 @@ case $OPERATION in
say "Margin : ${margin}%" "log"
say "Cost : $(formatLovelace ${cost_lovelace}) ADA" "log"
say ""
say "Start cardano node with the following run arguments:" "log"
say "--shelley-kes-key ${pool_hotkey_sk_file}" "log"
say "--shelley-vrf-key ${pool_vrf_sk_file}" "log"
say "Append cardano node start command with the following run arguments:" "log"
say "--shelley-kes-key ${pool_hotkey_sk_file} \\" "log"
say "--shelley-vrf-key ${pool_vrf_sk_file} \\" "log"
say "--shelley-operational-certificate ${pool_opcert_file}" "log"
if [[ ${lovelace} -lt ${pledge_lovelace} ]]; then
say ""
Expand Down Expand Up @@ -2471,9 +2471,9 @@ case $OPERATION in
pool_hotkey_sk_file="${POOL_FOLDER}/${pool_name}/${POOL_HOTKEY_SK_FILENAME}"
pool_vrf_sk_file="${POOL_FOLDER}/${pool_name}/${POOL_VRF_SK_FILENAME}"
pool_opcert_file="${POOL_FOLDER}/${pool_name}/${POOL_OPCERT_FILENAME}"
say "$(printf "%-21s : %s" "Run arguments" "--shelley-kes-key ${pool_hotkey_sk_file}")" "log"
say "$(printf "%-21s %s" "" "--shelley-vrf-key ${pool_vrf_sk_file}")" "log"
say "$(printf "%-21s %s" "" "--shelley-operational-certificate ${pool_opcert_file}")" "log"
say "$(printf "%-21s : %s" "Run arguments" "--shelley-kes-key ${pool_hotkey_sk_file} \\")" "log"
say "$(printf "%-21s %s" "" "--shelley-vrf-key ${pool_vrf_sk_file} \\")" "log"
say "$(printf "%-21s %s" "" "--shelley-operational-certificate ${pool_opcert_file} \\")" "log"
say ""
say "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
waitForInput
Expand Down
Empty file modified scripts/cnode-helper-scripts/itnRewards.sh 100644 → 100755
Empty file.
6 changes: 3 additions & 3 deletions scripts/cnode-helper-scripts/prereqs.sh
Expand Up @@ -220,9 +220,9 @@ if [[ "$GUILD" = "Y" ]]; then
curl -s -o byron-genesis.json https://raw.githubusercontent.com/cardano-community/guild-operators/master/files/byron-genesis.json
curl -s -o topology.json https://raw.githubusercontent.com/cardano-community/guild-operators/master/files/topology.json
else
curl -sL -o byron-genesis.json ${OVERWRITE} https://hydra.iohk.io/job/Cardano/iohk-nix/cardano-deployment/latest-finished/download/1/mainnet_candidate_4-byron-genesis.json
curl -sL -o genesis.json ${OVERWRITE} https://hydra.iohk.io/job/Cardano/iohk-nix/cardano-deployment/latest-finished/download/1/mainnet_candidate_4-shelley-genesis.json
curl -sL -o topology.json ${OVERWRITE} https://hydra.iohk.io/job/Cardano/iohk-nix/cardano-deployment/latest-finished/download/1/mainnet_candidate_4-topology.json
curl -sL -o byron-genesis.json ${OVERWRITE} https://hydra.iohk.io/job/Cardano/iohk-nix/cardano-deployment/latest-finished/download/1/mainnet_candidate-byron-genesis.json
curl -sL -o genesis.json ${OVERWRITE} https://hydra.iohk.io/job/Cardano/iohk-nix/cardano-deployment/latest-finished/download/1/mainnet_candidate-shelley-genesis.json
curl -sL -o topology.json ${OVERWRITE} https://hydra.iohk.io/job/Cardano/iohk-nix/cardano-deployment/latest-finished/download/1/mainnet_candidate-topology.json
fi

if [[ "$PRAOS" = "Y" ]]; then
Expand Down

0 comments on commit fd89236

Please sign in to comment.