Pages:
Author

Topic: [XPM] Pool mining primecoin using DigitalOcean (VPS) - page 22. (Read 88559 times)

sr. member
Activity: 294
Merit: 250
Yes, after I do the following:
cd ~/primecoin/src
make -f makefile.unix USE_UPNP=-

It gives me this error

In file included from db.cpp:6:0:
db.h:14:20: fatal error: db_cxx.h: No such file or directory
compilation terminated.
make: *** [obj/db.o] Error 1
sr. member
Activity: 401
Merit: 250
I see. That's why.. primecoind not in there. Where did I go wrong? back up and install it again?

addrman.cpp         clientversion.h  leveldb.cpp           obj-test               sync.h
addrman.h           compat.h         leveldb.h             prime.cpp              test
alert.cpp           crypter.cpp      limitedmap.h          prime.h                threadsafety.h
alert.h             crypter.h        main.cpp              protocol.cpp           txdb.cpp
allocators.h        db.cpp           main.h                protocol.h             txdb.h
base58.h            db.h             makefile.linux-mingw  qt                     ui_interface.h
bignum.h            hash.cpp         makefile.mingw        rpcblockchain.cpp      uint256.h
bitcoinrpc.cpp      hash.h           makefile.osx          rpcdump.cpp            util.cpp
bitcoinrpc.h        init.cpp         makefile.unix         rpcmining.cpp          util.h
bloom.cpp           init.h           mruset.h              rpcnet.cpp             version.cpp
bloom.h             json             net.cpp               rpcrawtransaction.cpp  version.h
checkpoints.cpp     key.cpp          net.h                 rpcwallet.cpp          wallet.cpp
checkpoints.h       key.h            netbase.cpp           script.cpp             wallet.h
checkpointsync.cpp  keystore.cpp     netbase.h             script.h               walletdb.cpp
checkpointsync.h    keystore.h       noui.cpp              serialize.h            walletdb.h
checkqueue.h        leveldb          obj                   sync.cpp


Your make didn't work for some reason, that's what builds the primecoind.
sr. member
Activity: 294
Merit: 250
I see. That's why.. primecoind not in there. Where did I go wrong? back up and install it again?

addrman.cpp         clientversion.h  leveldb.cpp           obj-test               sync.h
addrman.h           compat.h         leveldb.h             prime.cpp              test
alert.cpp           crypter.cpp      limitedmap.h          prime.h                threadsafety.h
alert.h             crypter.h        main.cpp              protocol.cpp           txdb.cpp
allocators.h        db.cpp           main.h                protocol.h             txdb.h
base58.h            db.h             makefile.linux-mingw  qt                     ui_interface.h
bignum.h            hash.cpp         makefile.mingw        rpcblockchain.cpp      uint256.h
bitcoinrpc.cpp      hash.h           makefile.osx          rpcdump.cpp            util.cpp
bitcoinrpc.h        init.cpp         makefile.unix         rpcmining.cpp          util.h
bloom.cpp           init.h           mruset.h              rpcnet.cpp             version.cpp
bloom.h             json             net.cpp               rpcrawtransaction.cpp  version.h
checkpoints.cpp     key.cpp          net.h                 rpcwallet.cpp          wallet.cpp
checkpoints.h       key.h            netbase.cpp           script.cpp             wallet.h
checkpointsync.cpp  keystore.cpp     netbase.h             script.h               walletdb.cpp
checkpointsync.h    keystore.h       noui.cpp              serialize.h            walletdb.h
checkqueue.h        leveldb          obj                   sync.cpp
sr. member
Activity: 448
Merit: 250
Well, I managed to get the optimized client compiled. It's running about 100-200pps on four instances. I'm pretty proud of myself...linux is kind of frustrating when you're just learnin'. Thanks for everyone throwing it down in this thread. Super helpful!
sr. member
Activity: 401
Merit: 250
sudo mv primecoind /usr/local/bin/.

^^ Not working

/primecoin/src# sudo mv primecoind /usr/local/bin/.
mv: cannot stat `primecoind': No such file or directory


I am on ubuntu-12.04-x86_64



See this post on the previous page, and the following posts where he fixes the problem. Can't remember if he said explicitly what his issue was for that particular hangup.

https://bitcointalksearch.org/topic/m.2707718
sr. member
Activity: 294
Merit: 250
sudo mv primecoind /usr/local/bin/.

^^ Not working

/primecoin/src# sudo mv primecoind /usr/local/bin/.
mv: cannot stat `primecoind': No such file or directory


I am on ubuntu-12.04-x86_64

hero member
Activity: 840
Merit: 1000
I've upgraded to the 16 core for the night and my pps is : 2391

I tried the 16 core and get 0-5 pps

the 1 core 20 pps

what am I doing wrong???

Compile and run the update in the original op:

Code:
apt-get install git
git clone https://github.com/primecoin/primecoin.git
apt-get install build-essential libssl-dev libboost-all-dev libdb5.3++-dev -y
cd ~/primecoin/src
make -f makefile.unix USE_UPNP=-
mkdir ~/.primecoin
echo "rpcuser=ARPCUserName
rpcpassword=SomethingReallyLongOK
gen=1" > ~/.primecoin/primecoin.conf
sudo mv primecoind /usr/local/bin/.
primecoind --daemon
watch 'primecoind listtransactions & primecoind getmininginfo'

Also apparently New York servers have the best performance.

I did that !!!!!


Hmmm...

Try moving all of your coins to your local wallet and then delete your droplet and start all over again.
legendary
Activity: 2632
Merit: 1023
I've upgraded to the 16 core for the night and my pps is : 2391

I tried the 16 core and get 0-5 pps

the 1 core 20 pps

what am I doing wrong???

Compile and run the update in the original op:

Code:
apt-get install git
git clone https://github.com/primecoin/primecoin.git
apt-get install build-essential libssl-dev libboost-all-dev libdb5.3++-dev -y
cd ~/primecoin/src
make -f makefile.unix USE_UPNP=-
mkdir ~/.primecoin
echo "rpcuser=ARPCUserName
rpcpassword=SomethingReallyLongOK
gen=1" > ~/.primecoin/primecoin.conf
sudo mv primecoind /usr/local/bin/.
primecoind --daemon
watch 'primecoind listtransactions & primecoind getmininginfo'

Also apparently New York servers have the best performance.

I did that !!!!!
full member
Activity: 221
Merit: 100
Does the copy paste work? I can not paste code in ubuntu console.

right-mouse click, paste

I press right mouse click and see nothing, ctrl+v doesnt work too.

I used putty and it works.
hero member
Activity: 840
Merit: 1000
I've upgraded to the 16 core for the night and my pps is : 2391

I tried the 16 core and get 0-5 pps

the 1 core 20 pps

what am I doing wrong???

Compile and run the update in the original op:

Code:
apt-get install git
git clone https://github.com/primecoin/primecoin.git
apt-get install build-essential libssl-dev libboost-all-dev libdb5.3++-dev -y
cd ~/primecoin/src
make -f makefile.unix USE_UPNP=-
mkdir ~/.primecoin
echo "rpcuser=ARPCUserName
rpcpassword=SomethingReallyLongOK
gen=1" > ~/.primecoin/primecoin.conf
sudo mv primecoind /usr/local/bin/.
primecoind --daemon
watch 'primecoind listtransactions & primecoind getmininginfo'

Also apparently New York servers have the best performance.
legendary
Activity: 2632
Merit: 1023
I have been unable to get a block in two days. Now I am only getting 1 and 0 PPS. I rebooted the drop, but it didn't help.

I have the same problem as you really low PPS
legendary
Activity: 2632
Merit: 1023
I've upgraded to the 16 core for the night and my pps is : 2391

I tried the 16 core and get 0-5 pps

the 1 core 20 pps

what am I doing wrong???
full member
Activity: 154
Merit: 100
Does the copy paste work? I can not paste code in ubuntu console.

right-mouse click, paste
hero member
Activity: 840
Merit: 1000
I've upgraded to the 16 core for the night and my pps is : 2391
full member
Activity: 221
Merit: 100
Does the copy paste work? I can not paste code in ubuntu console.
newbie
Activity: 50
Merit: 0
wallet location is: ~/.primecoin/wallet.dat

In the same hidden directory you will find (or you can create it) primecoin.conf if you need it.

If you don't want all your droplets to mine with the same address you don't need to recompile anything, on the contrary after the recompile they would still mine with the old addresses from the previously created and unchanged wallet.dat. If you want not to mix found blocks from droplets, it is enough to delete wallet.dat on each droplet, restart the primecoind on each droplet, wallet.dat will be automatically recreated with new addresses, and they will now have found blocks of its own.

good point . thanks!
legendary
Activity: 1974
Merit: 1077
^ Will code for Bitcoins
wallet location is: ~/.primecoin/wallet.dat

In the same hidden directory you will find (or you can create it) primecoin.conf if you need it.

If you don't want all your droplets to mine with the same address you don't need to recompile anything, on the contrary after the recompile they would still mine with the old addresses from the previously created and unchanged wallet.dat. If you want not to mix found blocks from droplets, it is enough to delete wallet.dat on each droplet, restart the primecoind on each droplet, wallet.dat will be automatically recreated with new addresses, and they will now have found blocks of its own.
sr. member
Activity: 401
Merit: 250
So I made a snapshot of my orig droplet and spun up a couple new ones from that snapshot and noticed something interesting.
One of them mined a block ( yay! ) but it is showing up in each of the clone droplets. my guess is it's happening because they're all using a cloned wallet aka priv key .
I imagine that is not a big deal ... but my worry is that they may be doing redundant work, and trying to solve for identical things since theyre clones and not unique instances.
Crossing my fingers that since they all read off the blockchain, that they'd be trying to solve for different blocks from each other.
Either way, I'll probably just end up destroying them and compiling primecoin on each one, just to be safe.

I've been using the cloned wallet and it's been working fine. Can't say if having separate wallets would give you better performance, but I doubt it.
newbie
Activity: 50
Merit: 0
So I made a snapshot of my orig droplet and spun up a couple new ones from that snapshot and noticed something interesting.
One of them mined a block ( yay! ) but it is showing up in each of the clone droplets. my guess is it's happening because they're all using a cloned wallet aka priv key .
I imagine that is not a big deal ... but my worry is that they may be doing redundant work, and trying to solve for identical things since theyre clones and not unique instances.
Crossing my fingers that since they all read off the blockchain, that they'd be trying to solve for different blocks from each other.
Either way, I'll probably just end up destroying them and compiling primecoin on each one, just to be safe.
sr. member
Activity: 378
Merit: 255
Looks like coupon code no longer works Sad.

Thanks, I'll remove it from OP.
Pages:
Jump to: