Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: kbriggs on February 18, 2011, 06:45:11 PM



Title: Generate Coins option doesn't stick
Post by: kbriggs on February 18, 2011, 06:45:11 PM
Why doesn't the Generate Coins option in the client survive a restart/reboot?  It gets cleared when I restart my system each morning and I have to remember to go turn it back on.


Title: Re: Generate Coins option doesn't stick
Post by: Garrett Burgwardt on February 18, 2011, 06:52:27 PM
You're wasting your time with it, unless you're mining in a pool or with a GPU you're basically just wasting electricity.


Title: Re: Generate Coins option doesn't stick
Post by: schnak on February 18, 2011, 06:56:47 PM
You're wasting your time with it, unless you're mining in a pool or with a GPU you're basically just wasting electricity.
Hardly. While the odds of generating a winning block are low that extra few kH/s of computations has just added a little strength to the bitcoin infrastructure. Certainly not a complete waste.

if you look in your startup folder (windows) you should find the shortcut to bitcoin client. Add the command line to generate coins to the end of the command and It'll always run and generate.


Title: Re: Generate Coins option doesn't stick
Post by: kbriggs on February 18, 2011, 07:11:02 PM
if you look in your startup folder (windows) you should find the shortcut to bitcoin client. Add the command line to generate coins to the end of the command and It'll always run and generate.

And what would that magical command line option be, exactly?  There's no help file included with the program that documents this.  I shouldn't have to do that anyway. Options selected in the program should be persistent between sessions. Or at least have a checkbox option that makes it so.


Title: Re: Generate Coins option doesn't stick
Post by: kbriggs on February 18, 2011, 07:18:31 PM
And what would that magical command line option be, exactly?

I found it (-gen) here: https://en.bitcoin.it/wiki/Running_Bitcoin


Title: Re: Generate Coins option doesn't stick
Post by: schnak on February 18, 2011, 08:38:58 PM
heh, You found it before I did... i would say it would be a feature request for the software client. but its a minor issue for most when compared to working on the kinks in the system at large.

glad you found it.


Title: Re: Generate Coins option doesn't stick
Post by: theymos on February 18, 2011, 10:49:20 PM
It should be remembered across sessions. The setting is stored in your wallet.dat.


Title: Re: Generate Coins option doesn't stick
Post by: xenon481 on February 19, 2011, 02:59:56 PM
CPU Mining with the built in generator is pointless if you have an Intel chip. Utilize the SSE2 Miner instead. It provides ~450% the performance with less power draw.


Title: Re: Generate Coins option doesn't stick
Post by: Binford 6100 on February 19, 2011, 07:02:08 PM
It should be remembered across sessions. The setting is stored in your wallet.dat.

1) does wallet also store proxy settings?
2) could i just have a .conf file in my application settings dierectory?

my problem is, that every time i try to access a port other than the proxy allows, somewhere in the sec dpt a light goes on.
last friday i was generating wallet files (start client, copy address, shutdown client, remove wallet, repeat) and saw that the client did not remeber the proxy settings neither. i had to unplug the network cable ;)


Title: Re: Generate Coins option doesn't stick
Post by: theymos on February 19, 2011, 07:05:57 PM
1) does wallet also store proxy settings?

Yes.

Quote
2) could i just have a .conf file in my application settings dierectory?

You can. Create a bitcoin.conf file in your settings directory. The format is like this:
Code:
gen=1
proxy=127.0.0.1:9050