Pages:
Author

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

sr. member
Activity: 378
Merit: 255
Is there a way with listtransaction to only see mined coins?

I checked before bur might have missed it.  


Not without a separate script, they are labeled as being mined when you listtransactions.

Let me ask again...do I need to do anything else other than sharing the same wallet.dat between my instances and main rig to get the coins in my main wallet?
Do I need to watch all the instances, or is having one with putty opened displaying watch 'primecoind getbalance "" & primecoind getmininginfo' enough?

I don't suggest sharing the wallet.dat, but it will probably work fine if you aren't mining too many. My suggestion on how to move mined coins around is in the OP.
hero member
Activity: 812
Merit: 1000
Is there a way with listtransaction to only see mined coins?

I checked before bur might have missed it. 


Not without a separate script, they are labeled as being mined when you listtransactions.

Let me ask again...do I need to do anything else other than sharing the same wallet.dat between my instances and main rig to get the coins in my main wallet?
Do I need to watch all the instances, or is having one with putty opened displaying watch 'primecoind getbalance "" & primecoind getmininginfo' enough?
sr. member
Activity: 378
Merit: 255
Is there a way with listtransaction to only see mined coins?

I checked before bur might have missed it. 


Not without a separate script, they are labeled as being mined when you listtransactions.
full member
Activity: 224
Merit: 100
Is there a way with listtransaction to only see mined coins?

I checked before bur might have missed it. 
hero member
Activity: 812
Merit: 1000
Remember folks, if you're doing this, keep your primecoind updated:

Code:
cd ~/primecoin
git pull
cd src
make -f makefile.unix USE_UPNP=-
primecoind stop
mv /usr/local/bin/primecoind /usr/local/bin/primecoind.old
mv primecoind /usr/local/bin/primecoind
primecoind --daemon

No need to add the url or nothing else to update like that?

I've been manually removing and reinstalling each time...
Also, what about wallets...If I have the same wallet.dat in all my rigs, that should be enough?
legendary
Activity: 1456
Merit: 1000
How much you earn for each pps?
1 pps is equal to .... (how much primecoin per share)?

thanks

Shares are irrelevant if you're mining solo.

and how much you can earn with 100 pps?

Its a lot of luck.  But if you doing 1 machine or instance and its 100 pps, chances are slim of finding something.
sr. member
Activity: 378
Merit: 255
Remember folks, if you're doing this, keep your primecoind updated:

Code:
cd ~/primecoin
git pull
cd src
make -f makefile.unix USE_UPNP=-
primecoind stop
mv /usr/local/bin/primecoind /usr/local/bin/primecoind.old
mv primecoind /usr/local/bin/primecoind
primecoind --daemon
sr. member
Activity: 378
Merit: 255
When using a VPS to mine, I needed to know when an instance found a block.

This will monitor for blocks each minute and e-mail you when "You've Got Coin".  The e-mail includes the hostname of the machine, and the amount.

Sign up for SendGrid using this referral link: http://sendgrid.tellapal.com/a/clk/N4V2k  Smiley
They have a 200 e-mail a day free program.
Fill in your e-mail address, and your SendGrid user/pass.

It is set to query primecoind, but you can change that to any other coin with a search/replace.

Code:
#!/bin/bash

email=""
sendgriduser=""
sendgridpass=""


hostname=$(hostname)
lasttranscount=$(primecoind listtransactions |  grep "txid" | wc -l)
echo "Original transactions count: $lasttranscount"

#loop continuously and check every minute for more transactions
#email a notification
while :
do
#Get a count of transactions
transcount=$(primecoind listtransactions | grep "txid" | wc -l)
echo "Current  transaction  count: $transcount"
if [ "$transcount" -gt "$lasttranscount" ]; then
  #Get the amount of the last transaction
  amount=$(primecoind listtransactions | grep "amount" | tail -1)
#Send e-mail via SendGrid
  wget -qO- "https://sendgrid.com/api/mail.send.json?api_user=$sendgriduser&api_key=$sendgridpass&to=$email&subject=You%27ve%20Got%20Coin&text=Found%20by%20Machine:%20$hostname%20%20$amount&from=$email"
  echo "Notification Sent"
fi
lasttranscount="$transcount"
sleep 60
done

It could be easily modified to send coin to your central wallet address.

If this is helpful to you:  AcRrefxiqDNpdm4YAr6nqHpTVJYtcFW6Ct  (XPM)



Hey, that's cool!
legendary
Activity: 1059
Merit: 1000
How much you earn for each pps?
1 pps is equal to .... (how much primecoin per share)?

thanks

Shares are irrelevant if you're mining solo.

and how much you can earn with 100 pps?
full member
Activity: 201
Merit: 100
What version are you using? I'm getting x10 with ver1, then back to normal with ver2 Sad (linux)

I always get the latest, so this is ver2.

BTW I tried creating a 16-core droplet in NYC, getting 2x the PPS (about 4000) for 6x the price ($480 a month).

Something is wrong with that 16-core..I'm getting  around 7k with a 12 core using Mikaelh2's build
legendary
Activity: 2940
Merit: 1090
listtransactions only lists, by default, the last ten. So that script needs a tweak to keep counting past ten I think.

-MarkM-
full member
Activity: 588
Merit: 107
When using a VPS to mine, I needed to know when an instance found a block.

This will monitor for blocks each minute and e-mail you when "You've Got Coin".  The e-mail includes the hostname of the machine, and the amount.

Sign up for SendGrid using this referral link: http://sendgrid.tellapal.com/a/clk/N4V2k  Smiley
They have a 200 e-mail a day free program.
Fill in your e-mail address, and your SendGrid user/pass.

It is set to query primecoind, but you can change that to any other coin with a search/replace.

Code:
#!/bin/bash

email=""
sendgriduser=""
sendgridpass=""


hostname=$(hostname)
lasttranscount=$(primecoind listtransactions |  grep "txid" | wc -l)
echo "Original transactions count: $lasttranscount"

#loop continuously and check every minute for more transactions
#email a notification
while :
do
#Get a count of transactions
transcount=$(primecoind listtransactions | grep "txid" | wc -l)
echo "Current  transaction  count: $transcount"
if [ "$transcount" -gt "$lasttranscount" ]; then
  #Get the amount of the last transaction
  amount=$(primecoind listtransactions | grep "amount" | tail -1)
#Send e-mail via SendGrid
  wget -qO- "https://sendgrid.com/api/mail.send.json?api_user=$sendgriduser&api_key=$sendgridpass&to=$email&subject=You%27ve%20Got%20Coin&text=Found%20by%20Machine:%20$hostname%20%20$amount&from=$email"
  echo "Notification Sent"
fi
lasttranscount="$transcount"
sleep 60
done

It could be easily modified to send coin to your central wallet address.

If this is helpful to you:  AcRrefxiqDNpdm4YAr6nqHpTVJYtcFW6Ct  (XPM)

newbie
Activity: 25
Merit: 0
What version are you using? I'm getting x10 with ver1, then back to normal with ver2 Sad (linux)

I always get the latest, so this is ver2.

BTW I tried creating a 16-core droplet in NYC, getting 2x the PPS (about 4000) for 6x the price ($480 a month).
full member
Activity: 224
Merit: 100
Orphan city still even with the difficulty increase.  Sad
member
Activity: 61
Merit: 10
How much you earn for each pps?
1 pps is equal to .... (how much primecoin per share)?

thanks

Shares are irrelevant if you're mining solo.
full member
Activity: 201
Merit: 100
Mikaelh's is definitely and improvement.  Found another 3 blocks in the last few hours. 2 on a 12 core and 1 on a 8 core. But also found an orphan which leads to another basic mining question.

When you get an orphan, I notice that the ophan amount appears to be included in the wallet balance, though it shouldn't correct?

So my question is, what are you supposed to do with the orphan blocks and is there something you should do to remove them from your balance?
full member
Activity: 154
Merit: 100
New York?

Yes. I think with the difficulty rising the PPS has dropped. Now averaging about 7500 PPS.

What version are you using? I'm getting x10 with ver1, then back to normal with ver2 Sad (linux)


What do you mean by ver1 & ver2 ?

mikaelh's build. Has 2 version, hp1 and updated hp2 I mean.

I couldnt find hp1 anywhere. Where did you dl it?
hp1 is the first released. Then it has been updated to hp2 Smiley
sr. member
Activity: 560
Merit: 250
The hosting options seemed expensive how much is it per core? Ca  you just keep the base plan and just add cores?
sr. member
Activity: 359
Merit: 250
New York?

Yes. I think with the difficulty rising the PPS has dropped. Now averaging about 7500 PPS.

What version are you using? I'm getting x10 with ver1, then back to normal with ver2 Sad (linux)


What do you mean by ver1 & ver2 ?

mikaelh's build. Has 2 version, hp1 and updated hp2 I mean.

I couldnt find hp1 anywhere. Where did you dl it?
legendary
Activity: 1059
Merit: 1000
How much you earn for each pps?
1 pps is equal to .... (how much primecoin per share)?

thanks
Pages:
Jump to: