Skip to content

Goal Note

basic#

install doc usage doc

Switch networks#

  • @2022-01-19
  • switch networks
  • change $TARGET_NET in ~/node/genesisfiles/$TARGET_NET/genesis.json and copy it to a data-folder
  • cmd-tpl cp ~/node/genesisfiles/testnet/genesis.json ~/node/data

Goal configuration#

Installation via Sandbox Ubuntu#

1
2
3
4
5
6
7
mkdir ~/node
cd ~/node
wget https://raw.githubusercontent.com/algorand/go-algorand-doc/master/downloads/installers/update.sh
chmod 544 update.sh
./update.sh -i -c stable -p ~/node -d ~/node/data -n
export ALGORAND_DATA="$HOME/node/data"
export PATH="$HOME/node:$PATH"

use goal#

  • @2022-01-17
1
2
3
goal node start
goal node status # genesis is main net
# goal node catchup # switch to test net

switch networks#

  • @2022-01-17
  • My way of moving folders directly is not correct.
1
2
3
4
5
cd ~/node
goal node stop -d data
mkdir testnetdata
cp ~/node/genesisfiles/testnet/genesis.json ~/node/testnetdata
goal node start -d ~/node/testnetdata
1
2
3
./goal node stop
mv data/ mainnetdata/
mv testnetdata/ data/
1
2
3
./goal node restart
./goal node start
./goal node status # should show test net