Bitcoin Forum

Alternate cryptocurrencies => Mining (Altcoins) => Topic started by: GreekBitcoin on March 08, 2014, 04:10:22 PM



Title: Digital Ocean Heavycoin SOLO Mining Guide! CPU only!
Post by: GreekBitcoin on March 08, 2014, 04:10:22 PM
Poos arent up yet. Coin is out only about 2 hours. This is the time for SOLO mining! mine while you can!

Donations accepted :
Heavycoin: HGBuGfcfFmSLoYbHQk7LpLkubMoxvg2uCf
Datacoin: D9myVoDFPhjWLMrKx7Ag6gH7Y3A6V441cT


Difficulty will go up fast!

1) Please use my referral https://www.digitalocean.com/?refcode=9d68ca19e204 and create a droplet 2CPU 2GB Ram Ubuntu 13.10 64x .It must be 1GB or more. You can create up to 5 droplets.
2) Connect with putty using using ip and password or just write those in the console. 1 putty per droplet! You can always download putty from here http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html  Putty is better cause you can copy paste everything:

----------------------------------------------------------------------------------------------------------------------------

sudo apt-get update

sudo apt-get install yasm -y git make g++ build-essential libminiupnpc-dev

sudo apt-get install -y libboost-all-dev libdb++-dev libgmp-dev libssl-dev dos2unix

sudo apt-get install automake libcurl3-dev

git clone https://github.com/heavycoin/heavycoin

cd heavycoin/src

make -f makefile.unix     ---this will take a few minutes

sudo cp -f heavycoind /usr/local/bin/  

cd

mkdir -p .heavycoin

cd .heavycoin

nano

copy paste all this in the window tha opens:

rpcuser=heavycoin
maxconnections=300
rpcallowip=*
daemon=0
listen=1
server=1
addnode=172.245.221.171
addnode=94.102.53.183
addnode=76.10.203.44
addnode=61.156.57.71
addnode=172.246.113.106
addnode=117.27.110.138
addnode=54.186.44.85
addnode=125.79.96.236
addnode=198.52.200.43
addnode=node01.heavycoin.cc
rpcpassword=PASSWORD


then press ctrl X, then press Y and now that asks for name write heavycoin.conf .This way we just made the .conf file.

git clone https://github.com/heavycoin/cpuminer-heavycoin


cd cpuminer-heavycoin

nano Makefile.am

change
minerd_LDADD   = @LIBCURL@ @JANSSON_LIBS@ @PTHREAD_LIBS@ @WS2_LIBS@ -lssl
to
minerd_LDADD   = @LIBCURL@ @JANSSON_LIBS@ @PTHREAD_LIBS@ @WS2_LIBS@ -lcrypto

./autogen.sh

./configure CFLAGS="-O3"

make

heavycoind --daemon

cd

cd cpuminer-heavy

screen -R 1 ./minerd -a heavy -v 32 -o 127.0.0.1:7202 -O heavycoin:PASSWORD

press ctrl+A and then D

and finally write:

watch 'heavycoind listaccounts & heavycoind getmininginfo'

and you are already mining with minerd and you can see your balance that should be 0 until you get something...



Title: Re: Digital Ocean Heavycoin SOLO Mining Guide! CPU only!
Post by: GreekBitcoin on March 08, 2014, 04:15:54 PM
if you want to use the stand alone miner download it and compile it with this guide https://bitcointalk.org/index.php?topic=506818.0
and just aim it to the deamon



Title: Re: Digital Ocean Heavycoin SOLO Mining Guide! CPU only!
Post by: GreekBitcoin on March 08, 2014, 04:41:57 PM
i forgot gen=1 at the .conf file

now its added in the guide. you should restart deamon if you have already ran it


Title: Re: Digital Ocean Heavycoin SOLO Mining Guide! CPU only!
Post by: ntz on March 08, 2014, 05:05:08 PM
how to solomine with minerd?


Title: Re: Digital Ocean Heavycoin SOLO Mining Guide! CPU only!
Post by: GreekBitcoin on March 08, 2014, 05:08:29 PM
for mining with minerd you have to run this:

./minerd -a heavy -v 32 -o 127.0.0.1:7202 -O heavycoin:PASSWORD

remover gen=1 from .conf though cause you will be mining both with inwallet miner and minerd. i had some problems with restarting deamon after changing .conf file so every time i rebooted my VM with sudo reboot

also of course you need to download and compile cpuminer-heavycoin. See here:

https://bitcointalk.org/index.php?topic=506818.0



Title: Re: Digital Ocean Heavycoin SOLO Mining Guide! CPU only!
Post by: GreekBitcoin on March 08, 2014, 05:23:43 PM
i just updated the OP.

now the guide actully downloads and compiles heavycoin and also creates the .conf file. then you download and compile cpuminer-heavy and you run it.

it should work fine. i hope i didnt do any mistakes. because i am in a hurry. i will check this thread later.


Title: Re: Digital Ocean Heavycoin SOLO Mining Guide! CPU only!
Post by: elbereth on March 08, 2014, 05:49:45 PM
Thanks for the tutorial, hopefully this get me a block... Because with the wallet --> Nothing with 12 cores.


Title: Re: Digital Ocean Heavycoin SOLO Mining Guide! CPU only!
Post by: VanBreuk on March 08, 2014, 06:09:38 PM
Not working for my droplet... tried to specify rpcport in heavycoin.conf, same result.

Code:
[2014-03-08 13:07:27] HTTP request failed: The requested URL returned error: 500 Internal Server Error
[2014-03-08 13:07:27] json_rpc_call failed, retry after 30 seconds

halp...?

Edit: minerd starts to run when gen=0 in heavycoin.conf. So I'm guessing the problem was that heavycoind runs with gen=1 by default and minerd crashes in that case.


Title: Re: Digital Ocean Heavycoin SOLO Mining Guide! CPU only!
Post by: GreekBitcoin on March 08, 2014, 06:48:53 PM
Not working for my droplet... tried to specify rpcport in heavycoin.conf, same result.

Code:
[2014-03-08 13:07:27] HTTP request failed: The requested URL returned error: 500 Internal Server Error
[2014-03-08 13:07:27] json_rpc_call failed, retry after 30 seconds

halp...?

Edit: minerd starts to run when gen=0 in heavycoin.conf. So I'm guessing the problem was that heavycoind runs with gen=1 by default and minerd crashes in that case.

minerd wouldnt crash i think but it would mine together which will slow down minerd

are you sure you put the right username password? from my .conf file it is heavycoin:PASSWORD

btw you have to start deamon with heavycoin --daemon if it isnt running. and if it runs and you change the .conf file you have to restart it. stoppping it didnt work for me so i just rebooted the VM and started it again...


Title: Re: Digital Ocean Heavycoin SOLO Mining Guide! CPU only!
Post by: cntrlsquare on March 08, 2014, 08:28:00 PM
I had to add some extra nodes to heavycoin.conf from the main thread to make sure it connected.


Title: Re: Digital Ocean Heavycoin SOLO Mining Guide! CPU only!
Post by: GreekBitcoin on March 08, 2014, 09:31:36 PM
I had to add some extra nodes to heavycoin.conf from the main thread to make sure it connected.

more nodes added!

so guys everything was fine or i should change something in the guide?


Title: Re: Digital Ocean Heavycoin SOLO Mining Guide! CPU only!
Post by: VanBreuk on March 08, 2014, 11:29:24 PM
I had to add some extra nodes to heavycoin.conf from the main thread to make sure it connected.

more nodes added!

so guys everything was fine or i should change something in the guide?

It's been working for me for a while using your conf. Honestly I couldn't say 100% sure where the problem was before, since all it took was a couple reboots, regardless of minor conf edits... so thanks again.

Now it's about deciding whether 1) Going to bed leaving it in solo mode (and hear it weep and struggle) or 2) Going to bed leaving it playing ping pong with the pool. If we just had an ETA  ::) 


Title: Re: Digital Ocean Heavycoin SOLO Mining Guide! CPU only!
Post by: GreekBitcoin on March 08, 2014, 11:39:50 PM
I had to add some extra nodes to heavycoin.conf from the main thread to make sure it connected.

more nodes added!

so guys everything was fine or i should change something in the guide?

It's been working for me for a while using your conf. Honestly I couldn't say 100% sure where the problem was before, since all it took was a couple reboots, regardless of minor conf edits... so thanks again.

Now it's about deciding whether 1) Going to bed leaving it in solo mode (and hear it weep and struggle) or 2) Going to bed leaving it playing ping pong with the pool. If we just had an ETA  ::) 

personally i will leave all my VMs solo mining even if i havent got anything yet..after all solo seems stable at least...