snowblossomcoin / snowblossom

Snowblossom Cryptocurrency
Apache License 2.0
68 stars 28 forks source link

Streamline Mining Process / Automate configuration #102

Open BigShoots opened 5 years ago

BigShoots commented 5 years ago

It would be nice if the first time you ran the miner it asked questions and added the responses to the config. Ideally it would be nice if the wallet generation that happens when running the client for the first time could happen when running the miner for the first time if there is no wallet present.

Example

./miner.sh

**Solo or Pool?**
Pool

**Pool address to connect to? Leave blank for snowday.fun**
snow.protopool.io

**Wallet address to mine to? Leave blank to generate and use a local wallet.**

**Wallet generation in process..
Using local wallet.db**

**Generate snowfields automatically? This takes a very long time alternatively you can download via torrent at http://www.snowblossom.org. Yes or No**
No

**Enable memfield mining? Requires enough system memory to fit the current snowfield plus overhead for the mining threads. Yes or No**
Yes

Starting miner....

This is similar to ProgrammerDan's Java miner for Arionum if you would like to see an example.

seanspotatobusiness commented 5 years ago

And it should also ask whether you want to add more pools for failover and a numerical value to prioritise each pool.