Bitcoin Forum
November 11, 2024, 08:22:28 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Digital Ocean Heavycoin SOLO Mining Guide! CPU only!  (Read 2887 times)
GreekBitcoin (OP)
Legendary
*
Offline Offline

Activity: 1428
Merit: 1001


getmonero.org


View Profile WWW
March 08, 2014, 04:10:22 PM
Last edit: March 08, 2014, 09:31:50 PM by GreekBitcoin
 #1

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...

GreekBitcoin (OP)
Legendary
*
Offline Offline

Activity: 1428
Merit: 1001


getmonero.org


View Profile WWW
March 08, 2014, 04:15:54 PM
 #2

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

GreekBitcoin (OP)
Legendary
*
Offline Offline

Activity: 1428
Merit: 1001


getmonero.org


View Profile WWW
March 08, 2014, 04:41:57 PM
 #3

i forgot gen=1 at the .conf file

now its added in the guide. you should restart deamon if you have already ran it
ntz
Full Member
***
Offline Offline

Activity: 137
Merit: 100


View Profile
March 08, 2014, 05:05:08 PM
 #4

how to solomine with minerd?
GreekBitcoin (OP)
Legendary
*
Offline Offline

Activity: 1428
Merit: 1001


getmonero.org


View Profile WWW
March 08, 2014, 05:08:29 PM
 #5

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

GreekBitcoin (OP)
Legendary
*
Offline Offline

Activity: 1428
Merit: 1001


getmonero.org


View Profile WWW
March 08, 2014, 05:23:43 PM
 #6

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.
elbereth
Newbie
*
Offline Offline

Activity: 54
Merit: 0


View Profile WWW
March 08, 2014, 05:49:45 PM
 #7

Thanks for the tutorial, hopefully this get me a block... Because with the wallet --> Nothing with 12 cores.
VanBreuk
Sr. Member
****
Offline Offline

Activity: 460
Merit: 250



View Profile
March 08, 2014, 06:09:38 PM
Last edit: March 08, 2014, 06:30:21 PM by VanBreuk
 #8

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.
GreekBitcoin (OP)
Legendary
*
Offline Offline

Activity: 1428
Merit: 1001


getmonero.org


View Profile WWW
March 08, 2014, 06:48:53 PM
 #9

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...
cntrlsquare
Newbie
*
Offline Offline

Activity: 58
Merit: 0


View Profile
March 08, 2014, 08:28:00 PM
 #10

I had to add some extra nodes to heavycoin.conf from the main thread to make sure it connected.
GreekBitcoin (OP)
Legendary
*
Offline Offline

Activity: 1428
Merit: 1001


getmonero.org


View Profile WWW
March 08, 2014, 09:31:36 PM
 #11

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?
VanBreuk
Sr. Member
****
Offline Offline

Activity: 460
Merit: 250



View Profile
March 08, 2014, 11:29:24 PM
 #12

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  Roll Eyes 
GreekBitcoin (OP)
Legendary
*
Offline Offline

Activity: 1428
Merit: 1001


getmonero.org


View Profile WWW
March 08, 2014, 11:39:50 PM
 #13

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  Roll Eyes 

personally i will leave all my VMs solo mining even if i havent got anything yet..after all solo seems stable at least...
Pages: [1]
  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!