Bitcoin Forum
November 07, 2024, 08:01:14 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 »  All
  Print  
Author Topic: How to Install, Setup and Mine Gridcoins in Tandem with BOINC [Windows]  (Read 13153 times)
TribalBob (OP)
Sr. Member
****
Offline Offline

Activity: 1358
Merit: 257


DGbet.fun - Crypto Sportsbook


View Profile
January 07, 2014, 04:35:56 PM
Last edit: April 11, 2014, 12:22:05 PM by TribalBob
 #1

This guide is for Windows users. Guides for Linux and MAC coming soon

This is a guide for installing, setting up and mining Gridcoins in tandem with BOINC. This guide will be updated as necessary. if you see information that is missing or that you would like to have added, please let me know.

Setup/Installation:
Step 1: Download and install BOINC (http://boinc.berkeley.edu/download.php) to the default install directory, if you install somewhere besides the default directory you will need to add these lines to your gridcoin.conf otherwise you may continue to step 2 (replace the file paths with the correct location of where you chose to install):
Code:
boincappfolder=C:\Program Files\Boinc\
boincdatafolder=C:\ProgramData\Boinc\
Step 2: Download and install Gridcoin (http://gridcoin.us/download/gridcoin.msi)
Step 3: Right-click the gridcoin-qt shortcut, go to compatibility and select "launch as administrator", save, start Gridcoin and allow it to sync
Step 4: Close Gridcoin and create a file called gridcoin.conf
Step 5: Add the following lines to your gridcoin.conf (be sure to edit "rpcuser", "rpcpassword" and "rpcport" with your own choice values):
Code:
rpcuser=RPCUser
rpcpassword=RPCPassword
rpcallowip=127.0.0.1
rpcport=####
server=1
addnode=137.116.167.42
addnode=137.116.167.52
addnode=191.238.60.17
addnode=191.238.51.28
addnode=191.235.137.239
addnode=191.235.138.12
addnode=23.97.147.78
addnode=23.97.148.49
addnode=138.91.246.228
addnode=138.91.247.22
addnode=www.pgp.mx
addnode=98.114.181.178
addnode=76.187.184.27
addnode=66.187.94.194
addnode=76.74.177.224
addnode=84.125.196.167
addnode=71.233.139.62
addnode=72.92.48.105
addnode=72.208.65.226
addnode=77.64.220.124
addnode=50.152.78.46
addnode=207.229.136.136

Here are some additional flags which may be used used in gridcoin.conf:
Code:
Code:
poolmining=
Values:
Code:
true
or
Code:
false
- use to join the integrated pool


Code:
Code:
closeconhost=
Values:
Code:
true
or
Code:
false
- Allow/deny Gridcoin to close command prompt windows


Code:
Code:
cpumining=
Values:
Code:
true
or
Code:
false
- Enable/disable BOINC cpumining


Code:
Code:
boincappfolder=
Value:
Code:
c:\path\to\BOINC\installation\directory
- Use if you change BOINC's defualt install directory.

Code:
Code:
restartwallet=
Value:
Code:
# of minutes
- Use to restart your wallet every "#" minutes.


Code:
Code:
closemineronexit=
Values:
Code:
true
or
Code:
false
- Use with restartwallet= to keep your miner mining

Setup Cont...
Step 6: Save gridcoin.conf and place in %appdata\roaming\Gridcoin
Step 7: Start BOINC
Step 8: Start Gridcoin and wait for it to fully load/sync

Pool Mining:
IMPORTANT: For pool mining with Gridcoin, you won't be mining at a lower difficulty, but you will receive a small piece of every block found.

The only requirement is that you must find a block first to begin receiving payouts from the pool and you must find at least one block during every look-back period.

The look-back period is dynamic and is adjusted based on the difficulty/hashing power of the network. Basically, once you have found a block as long as you don't disable pool mining you should have no problem finding one block during each look-back period.


Since gridcoin has it's own internal pool, pool mining is VERY easy:

Step 1: Add the following line to your gridcoin.conf file:
Code:
poolmining=true
Step 2: Start Gridcoin

At this point if you have a preferred external miner you may begin mining the same way you would with any other coin (Yes, you pool mine Gridcoins using your own client and your own solo mining IP). If you do not have a preferred external miner and would like to use the packaged cgminer, advance to next section.

Solo Mining:
Step 1: In Gridcoin, go to Mining>Mining Console
Step 2: Click "Configuration" at the top of the mining console
Step 3: Select your GPU in "Device ID", check "load defaults for" to see if your GPU is listed there. If not, then please refer to this page for your card's settings: https://litecoin.info/Mining_hardware_comparison
Step 4: Make sure the "enabled" box is checked, click "save" and then click "create cgminer instance".
Step 5: Exit the configuration screen and on the mining console page click "Restart Miner" and allow a few seconds for cgminer to compile the kernel
Step 6: Click "Show cgminer" if you'd like to see the cgminer console

CPUMining:
cpumining is not currently enabled but should be enabled soon. When you are ready to cpumine, please refer to this guide: https://cryptocointalk.com/topic/1922-cpu-mining-tutorialtopic/

Troubleshooting:
If you have an issue where your BOINC utilization is not displaying properly, be sure that you are launching Gridcoin as admin. If this does not work, try deleting "c:\programdata\boinc\gridcoin.dat" and restarting gridcoin.

If Gridcoin crashes on startup, verify that BOINC is installed in the default location, if you installed BOINC somewhere besides the default location, you will need to add these lines to your gridcoin.conf (replace the file paths with the correct location of where you chose to install):
Code:
boincappfolder=C:\Program Files\Boinc\
boincdatafolder=C:\ProgramData\Boinc\



This concludes this guide. Once again, if you see anything missing from this guide or have any information you would like added, please contact me and let me know, thanks!

Happy mining!


***1/7/2014 EDIT***
Updated the guide to reflect that Gridcoin should ALWAYS be launched as admin.
Updated the guide with a troubleshooting section.
Added instructions for pool mining.
Added instructions for installing BOINC in places besides the default directory.

***1/9/2014 EDIT***
Updated the guide to correct information about the pool mining look-back period.

***1/26/2014 EDIT***
Updated with guide with additional flags for gridcoin.conf

***2/21/2014 EDIT***
Made the guide easier to read

***4/11/2014 EDIT***
Updated addnodes for .conf

lmue
Full Member
***
Offline Offline

Activity: 124
Merit: 100


View Profile
January 07, 2014, 04:40:08 PM
 #2

good tutorial.

GRC: GAcm1qG5XAjZGh8FJ7X5jSUFBM49Kom9Et

C-cex, 交易GRC

Coins-e, 其他虚拟货币

<a target="_blank" href="http://shang.qq.com/wpa/qunwpa?idkey=02e66be6eb2de2a31ec26119d488a63ae31ad726787f7ef44a979839fd855232"><img border="0" src="http://pub.idqqimg.com/wpa/images/group.png" alt="Gridcoin交流群 (GRC)" title="Gridcoin交流群 (GRC)"></a>
TribalBob (OP)
Sr. Member
****
Offline Offline

Activity: 1358
Merit: 257


DGbet.fun - Crypto Sportsbook


View Profile
January 07, 2014, 04:51:32 PM
 #3

good tutorial.

Thanks m8!

airtreb
Full Member
***
Offline Offline

Activity: 217
Merit: 100


View Profile
January 07, 2014, 05:10:07 PM
 #4

Wonderful...Good Job Wink
TribalBob (OP)
Sr. Member
****
Offline Offline

Activity: 1358
Merit: 257


DGbet.fun - Crypto Sportsbook


View Profile
January 07, 2014, 05:23:32 PM
 #5

Wonderful...Good Job Wink

Thank you, I appreciate the feedback   Smiley

traderman
Legendary
*
Offline Offline

Activity: 1260
Merit: 1001



View Profile
January 07, 2014, 05:44:00 PM
 #6

Nice tutorial, hopefully it will help the new people.
cremstopper
Member
**
Offline Offline

Activity: 100
Merit: 10


View Profile
January 07, 2014, 05:44:33 PM
 #7

I'm glad you posted this. It was confusing before.

NEM
asdlolciterquit
Hero Member
*****
Offline Offline

Activity: 1666
Merit: 565


View Profile
January 07, 2014, 05:49:23 PM
 #8

thanks a lot!
ChasingTheDream
Sr. Member
****
Offline Offline

Activity: 292
Merit: 250


View Profile
January 08, 2014, 12:29:21 AM
 #9

Well done!  I'm going to be busy for a bit but this is where I will start when I can throw some more time into it.  Thanks for taking the time to do this!
TribalBob (OP)
Sr. Member
****
Offline Offline

Activity: 1358
Merit: 257


DGbet.fun - Crypto Sportsbook


View Profile
January 08, 2014, 04:21:20 AM
 #10

Well done!  I'm going to be busy for a bit but this is where I will start when I can throw some more time into it.  Thanks for taking the time to do this!

No problem m8, happy to help!

tbc
Full Member
***
Offline Offline

Activity: 196
Merit: 100


View Profile
January 08, 2014, 04:24:19 AM
 #11

I want to use the linux guide later, thanks.  Smiley
TribalBob (OP)
Sr. Member
****
Offline Offline

Activity: 1358
Merit: 257


DGbet.fun - Crypto Sportsbook


View Profile
January 08, 2014, 04:44:11 AM
 #12

I want to use the linux guide later, thanks.  Smiley

I will try to get the linux guide up in the next 24 hours, I need to partition a drive for Debian on one of my boxes and do the process myself first and I just didn't get time today. I will get it done ASAP.

GrahamBen
Newbie
*
Offline Offline

Activity: 56
Merit: 0


View Profile
January 08, 2014, 01:42:20 PM
 #13

Good job. Thank you.

I'll translate it into Chinese.
GrahamBen
Newbie
*
Offline Offline

Activity: 56
Merit: 0


View Profile
January 08, 2014, 02:44:13 PM
 #14

done.

http://gridcoin.me/?p=46
TribalBob (OP)
Sr. Member
****
Offline Offline

Activity: 1358
Merit: 257


DGbet.fun - Crypto Sportsbook


View Profile
January 08, 2014, 02:55:41 PM
 #15


Nice work man! Translates perfectly!

Limones
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
January 09, 2014, 05:28:58 AM
 #16

That was easy to follow and efficient, you definitely just made Gridcoin accessible to many more people. Awesome job, TribalBob!
aysyr
Sr. Member
****
Offline Offline

Activity: 308
Merit: 250


View Profile
January 13, 2014, 02:11:02 AM
 #17

Hey Bob! Mind if I use this on www.gridcoinnetwork.org? I'm remaking it to look better and be a little more organized/updated so it's currently inoperable. I'll give credit to you in the article

Trade at C-Cex, my favorite exchange!          Aysyr Reputation Thread
TribalBob (OP)
Sr. Member
****
Offline Offline

Activity: 1358
Merit: 257


DGbet.fun - Crypto Sportsbook


View Profile
January 14, 2014, 04:03:28 AM
 #18

Hey Bob! Mind if I use this on www.gridcoinnetwork.org? I'm remaking it to look better and be a little more organized/updated so it's currently inoperable. I'll give credit to you in the article

No worries m8, feel free!

mikekolba
Newbie
*
Offline Offline

Activity: 10
Merit: 0


View Profile
February 28, 2014, 03:51:11 PM
 #19

How does this work with the new pool website and pool mining?  How can you GPU mine additional Bionic projects not listed in the projects console?
customminer
Member
**
Offline Offline

Activity: 87
Merit: 10


View Profile
March 05, 2014, 10:13:46 PM
 #20

I found that if i specified the following lines at all, then it would give me an md5 error. However, i did misread the instructions and applied it despite the default installation location being the place i installed gridcoin/boinc to.

Quote
boincappfolder=C:\Program Files\Boinc\
boincdatafolder=C:\ProgramData\Boinc\
Pages: [1] 2 »  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!