Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cd ~/cardano-node
- rm -rf db/*
- mkdir backup
- mv *.json backup
- wget https://hydra.iohk.io/build/3596468/download/1/mainnet_candidate_3-config.json
- wget https://hydra.iohk.io/build/3596468/download/1/mainnet_candidate_3-byron-genesis.json
- wget https://hydra.iohk.io/build/3596468/download/1/mainnet_candidate_3-shelley-genesis.json
- wget https://hydra.iohk.io/build/3596468/download/1/mainnet_candidate_3-topology.json
- cp mainnet_candidate_3-config.json config.json
- cp mainnet_candidate_3-topology.json topology.json
- sed -i 's/"TraceBlockFetchDecisions": false/"TraceBlockFetchDecisions": true/g' config.json
- sed -i 's/SimpleView/LiveView/g' config.json
- sed -i 's/127.0.0.1/0.0.0.0/g' config.json
- rm ~/.cabal/bin/*
- git fetch --all
- git checkout tags/1.17.0
- git pull
- cabal clean
- cabal update
- cabal build all
- cp dist-newstyle/build/x86_64-linux/ghc-8.6.5/cardano-cli-1.17.0/x/cardano-cli/build/cardano-cli/cardano-cli ~/.cabal/bin
- cp dist-newstyle/build/x86_64-linux/ghc-8.6.5/cardano-node-1.17.0/x/cardano-node/build/cardano-node/cardano-node ~/.cabal/bin
Add Comment
Please, Sign In to add comment