Browse Source

Improve settings

pull/1/head
Luke Childs 6 years ago
parent
commit
47e9ba9d3c
  1. 23
      walletreset.sh

23
walletreset.sh

@ -5,21 +5,26 @@ DATE=$(date +%Y-%m-%d:%H:%M:%S)
current_dir=$(echo $PWD) current_dir=$(echo $PWD)
# Coin we're resetting # Coin we're resetting
coin=KMD coin="KMD"
# daemon data directory where wallet.dat exists
# e.g ~/.komodo
data_dir=~/.komodo
# Full daemon comand with arguments # Full daemon comand with arguments
# e.g komodod -notary -pubkey=<pubkey> # e.g komodod -notary -pubkey=<pubkey>
daemon="komodod -gen -genproclimit=1 -notary -pubkey=$pubkey" daemon="komodod -gen -genproclimit=1 -notary -pubkey=$pubkey"
# Daemon process regex to grep processes while we're waiting for it to exit
# e.g "komodod.*\-notary"
daemon_process_regex="komodod.*\-notary"
# Path to daemon cli # Path to daemon cli
# e.g komodo-cli # e.g komodo-cli
cli=komodo-cli cli="komodo-cli"
# daemon data directory where wallet.dat exists
# e.g ~/.komodo
data_dir="${HOME}/.komodo"
# Address containing all your funds # Address containing all your funds
nn_address=RPxsaGNqTKzPnbm5q7QXwu7b6EZWuLxJG3 nn_address="RPxsaGNqTKzPnbm5q7QXwu7b6EZWuLxJG3"
# Process regex to grep processes while we're waiting for it to exit
# e.g "komodod.*\-notary"
daemon_process_regex="komodod.*\-notary"
waitforconfirm () { waitforconfirm () {
sleep 15 sleep 15

Loading…
Cancel
Save