pooler / cpuminer

CPU miner for Litecoin and Bitcoin
https://bitcointalk.org/index.php?topic=55038.0
Other
2.77k stars 1.21k forks source link

hide password #128

Closed ysharoiko closed 7 years ago

ysharoiko commented 7 years ago

When running from console password is opened and can be seen by ps ax Moreover if we make bat file we write password in open way. Maybe some hash will look safier.

pooler commented 7 years ago

The worker usernames and passwords used for pool mining are not usually sensitive information, as they only allow one to submit shares. That said, if you need to keep this information secret you can use a configuration file with appropriately set permissions.

ysharoiko commented 7 years ago

minerd -o stratum+tcp://ltc.pool.minergate.com:3336 -u email.com -p cat password.txt helped me

pooler commented 7 years ago

I'd say a configuration file is a cleaner solution. See example-cfg.json for an example.

ysharoiko commented 7 years ago

Sure it is. Did not know it has such an option. Thank you.