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 warning and confirmation to debug mode #26

Closed whoabuddy closed 3 years ago

whoabuddy commented 3 years ago

Considering debug mode currently deletes files (the stacks-blockchain directory) and has some more aggressive actions built-in per #24 and #23, it would be good to pause and require the user to confirm they want to run this mode.

The current message at the beginning states what debug mode is and why, so this could be expanded to include the timestamp (used for different outputs), the idea of creating a debug-data or stacks-debug directory in the home folder, and the installation / upgrade of several packages.