Author

Topic: Solo mining with BFGMiner and Bitcoin-Qt and BE's - Am I doing this right? (Read 35711 times)

legendary
Activity: 1512
Merit: 1012
note : bgfminer (3.10) recognize bitcoin-qt (0.9.1) ... and not activate the "long pool" (indicate at the start on log of bfgminer).
legendary
Activity: 3583
Merit: 1094
Think for yourself
Ok I have solved my problem. I can now connect with my Qt wallet and start mining. Though I get the error

"No suitable long-poll found for URL __" I read that this just means I won't be informed by my wallet(server) very fast if a new block is found, but its ok I will only ever do this for a few seconds?

Add some pools to your fail over list.  They will notify you of block changes.
sr. member
Activity: 434
Merit: 250
By the time I get my asic I probably wouldn't make much. But still glad to have something.
legendary
Activity: 1512
Merit: 1012
My method for solo-mining (because of the difficulty...)







Code:
bitcoin.conf create in the "blockchain" folder in bitcoin-QT tree


disablewallet=1
server=1
maxconnections=12
rpcuser=14789
rpcpassword=12369
rpcallowip=127.0.0.1
rpcport=8332





Code:
TXT file with .BAT extension in the BFGMiner folder


g:\bfgminer\bfgminer
-o http://localhost:8332
-u 14789
-p 12369
--coinbase-addr publicbitcoinadressofpayment
--coinbase-sig "bro, that's my block !"
--scan-serial erupter:all





and ... you MUST open the NAT of router with the 8333 (yes, this port...)
8332 is not a problem on NAT (don't open it !) because it's only between bitcoin-QT and BFGMiner (firewall on OS).
full member
Activity: 213
Merit: 100
The password error is now common place.  Basicaly, it checks for the ' common ' 1 number, 2 letters ( small and caps ) so just make sure Bitcoin-QT.conf and your BAT file have the same password with at least 1 number and at least 2 upppercase and lower case letters.  It may give that error if you change to this example password as it may be ' too short ' as far as Bitcoin-QT is concerned as over 8 character passwords are more secure

EXAMPLE: -p 1Ab

I strongly advise using at least 1 of the characters from the number keys EXCEPT these 4 ' # & * % ' as they are considered special case characters in WINDOWS and may be misenterpreted.
newbie
Activity: 34
Merit: 0
here is what i have setup for do solo.

bitcoin.conf
Code:
server=1
rpcuser=USRNAME
rpcpassword=RANDOMPASSWORD
rpcallowip=127.0.0.1
rpcport=8332

Then for bfgminer i have my bitcoind address (localhost in this example) with the username and password in the bitcoin.conf. seems to work...


Hi guys,

I have done everything as you describe above, but my bitcoin-qt refuses to start up in server mode as it will not accept any rpcpassword at all.

My bfgminer bat is:

bfgminer.exe -o 127.0.0.1:8332 -u USRNAME -p RANDOMPASSWORD -S antminer:all --set-device antminer:clock=x0981 --icarus-options 115200:2:2

My .conf file is as in the code in your post.

I keep getting a msg from wallet saying "It is recommended you use the following random password ....." and gives a very long random password as an example. (I would love to insert a jpeg of the screenshot, but do not know how to add it to the message).

I wonder if you can help.

Thanks

newbie
Activity: 57
Merit: 0
here is what i have setup for do solo.

bitcoin.conf
Code:
server=1
rpcuser=USRNAME
rpcpassword=RANDOMPASSWORD
rpcallowip=127.0.0.1
rpcport=8332

Then for bfgminer i have my bitcoind address (localhost in this example) with the username and password in the bitcoin.conf. seems to work...
full member
Activity: 160
Merit: 100
And after some careful read-me examination
Code:
-no-longpoll
on BFGMiner removes my error message. Thanks guys!

This seems to cause a huge number of hardware errors, removing long polling from the wallet server, any ideas why?
sr. member
Activity: 336
Merit: 250
I like seeing a thread where someone has done the following:

Asked a question with substance (ie showing what he/she has tried)

Followed up with more information

Then finalized with how to fix it.

good stuff!
full member
Activity: 160
Merit: 100
And after some careful read-me examination
Code:
-no-longpoll
on BFGMiner removes my error message. Thanks guys!
full member
Activity: 160
Merit: 100
Ok I have solved my problem. I can now connect with my Qt wallet and start mining. Though I get the error

"No suitable long-poll found for URL __" I read that this just means I won't be informed by my wallet(server) very fast if a new block is found, but its ok I will only ever do this for a few seconds?
full member
Activity: 160
Merit: 100
I have added
Code:
-rpcport=8332
to the bitcoin.conf file. BFGMiner just sits at "BFGMiner started"
full member
Activity: 160
Merit: 100
I have started bitcoin-QT in server mode

Code:
PATH\Bitcoin-qt.exe -server

With my rpc password and username in the bitcoin.conf file.

and I have the following arguments for BFGMiner

Code:
PATH\bfgminer.exe -G -o http://localhost:8332 -u RPCUSER -p RPCPASS --coinbase-addr ADDRESSFORBLOCKREWARD -S all --icarus-options 115200:1:1 --icarus-timing 3.0=100

I guess my main question is what port should I direct BFGMiner to? And do my my arguments look correct otherwise?

Jump to: