AbsorbingChaos / stx-miner-script

Script and tips to setup a Blockstack Testnet Miner
https://stacks101.com
MIT License
8 stars 7 forks source link

Add new options to script #27

Open whoabuddy opened 3 years ago

whoabuddy commented 3 years ago

While debug mode takes the terminal output and records it to a file, the data directory (default in /tmp and addressed in #24) remains untouched.

The next step after a crash is to collect the recorded output, compress the data file, and follow some basic instructions to upload and retrieve the information. This could all be rolled into an additional command versus added as part of debug mode, following steps similar to those outlined in #24.

Ideas:

bash config-miner-argon.sh collect bash config-miner-argon.sh compress ...etc

Also consider if additional functions should be broken up - refactor for phase 3?

whoabuddy commented 3 years ago

Some helpful additional functions would be:

whoabuddy commented 3 years ago

Interesting use of getopts to accept more detailed arguments:

https://unix.stackexchange.com/questions/321126/dash-arguments-to-shell-scripts