Bitcoin Forum
May 09, 2024, 08:35:36 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 5 6 7 8 9 10 [11] 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 »
  Print  
Author Topic: [XPM] Pool mining primecoin using DigitalOcean (VPS)  (Read 88501 times)
Cyberclones
Newbie
*
Offline Offline

Activity: 42
Merit: 0



View Profile
July 11, 2013, 02:43:14 AM
 #201

I have managed to compile it with the larger droplet thanks. If I want to move it to smaller droplets do I just have to move the primecoind file or is there more I have to move? Also is there a easy way to move it? tar it and upload it to dropbox?
1715243736
Hero Member
*
Offline Offline

Posts: 1715243736

View Profile Personal Message (Offline)

Ignore
1715243736
Reply with quote  #2

1715243736
Report to moderator
1715243736
Hero Member
*
Offline Offline

Posts: 1715243736

View Profile Personal Message (Offline)

Ignore
1715243736
Reply with quote  #2

1715243736
Report to moderator
1715243736
Hero Member
*
Offline Offline

Posts: 1715243736

View Profile Personal Message (Offline)

Ignore
1715243736
Reply with quote  #2

1715243736
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715243736
Hero Member
*
Offline Offline

Posts: 1715243736

View Profile Personal Message (Offline)

Ignore
1715243736
Reply with quote  #2

1715243736
Report to moderator
1715243736
Hero Member
*
Offline Offline

Posts: 1715243736

View Profile Personal Message (Offline)

Ignore
1715243736
Reply with quote  #2

1715243736
Report to moderator
1715243736
Hero Member
*
Offline Offline

Posts: 1715243736

View Profile Personal Message (Offline)

Ignore
1715243736
Reply with quote  #2

1715243736
Report to moderator
rethaw (OP)
Sr. Member
****
Offline Offline

Activity: 378
Merit: 255



View Profile
July 11, 2013, 02:45:23 AM
 #202

I have managed to compile it with the larger droplet thanks. If I want to move it to smaller droplets do I just have to move the primecoind file or is there more I have to move? Also is there a easy way to move it? tar it and upload it to dropbox?

Just the primecoind file.

From the directory where it is located:

scp primecoind otherdropletip:~/.

It will ask you for a password for the other instance. You should find the compiled binary in the home directory there.

nabworth
Newbie
*
Offline Offline

Activity: 50
Merit: 0


View Profile
July 11, 2013, 02:49:18 AM
Last edit: July 11, 2013, 03:08:17 AM by nabworth
 #203

fyi you dont need to create a new droplet to build the code. you can actually just temporarily resize your single droplet, build, and then downsize again.

edit : this way you don't need to move the primecoind file from one droplet to another

update : im getting ~120 on 1core /512mb ... about 3x from before the update
Zalfrin
Sr. Member
****
Offline Offline

Activity: 401
Merit: 250



View Profile
July 11, 2013, 03:01:00 AM
 #204

fyi you dont need to create a new droplet to build the code. you can actually just temporarily resize your single droplet, build, and then downsize again.

edit : this way you don't need to move the primecoind file from one droplet to another

Nice tip.

My plan was to clone my bigger droplet and reproduce it on a smaller server.
kimosan
Hero Member
*****
Offline Offline

Activity: 644
Merit: 501


View Profile
July 11, 2013, 03:04:17 AM
 #205

Thank you rethaw!

100 - 180 pps 1-core/1gig (compiled fine btw, didn't work on 512mb))
270 - 330 pps 1-core/1gig

Edit: Going to shut them off and try the 8-core. Pretty expensive though, hopefully can get a few xpm with it. Smiley

fyi you dont need to create a new droplet to build the code. you can actually just temporarily resize your single droplet, build, and then downsize again.

edit : this way you don't need to move the primecoind file from one droplet to another

Thanks for this.
rethaw (OP)
Sr. Member
****
Offline Offline

Activity: 378
Merit: 255



View Profile
July 11, 2013, 03:25:34 AM
 #206

Got a PM:

Quote
HI,

I was trying your VPS thread thank you.  I will happily donate if it pays! Hope it does and have a question.

When running this after i ssh in what command will show amount of XPM i have if found?

And what command will allow me to send the XPM to a wallet address?

primecoind listtransactions will list any mined blocks.

You can then dumpprivkey from the VPS and importprivkey to your home wallet. I'll add it to the OP since its been asked a few times.

OnlyC
Full Member
***
Offline Offline

Activity: 154
Merit: 100


View Profile
July 11, 2013, 03:33:07 AM
 #207

Okay, can we get instruction on how to extract coin from our DigitalOcean droplet.  It has been so long since I have had to do console/coding like this Sad.

Sure. I do it this way:

  • ssh into remote instance
  • ./primecoind listtransactions –> copy the address mentioned in the output at "address"
  • ./primecoind dumpprivkey {{paste copied address here}} –> copy the private key returned
  • on your local computer holding the "master wallet" -> ./primecoind importprivkey {{paste copied private key here}}
  • now address holding the minted coins appears in your local wallet

No need to send coins over the blockchain this way, immature coins can be imported immediately.
It may help

//How can I get the address before found a block?
Cyberclones
Newbie
*
Offline Offline

Activity: 42
Merit: 0



View Profile
July 11, 2013, 03:33:32 AM
 #208

I have managed to compile it with the larger droplet thanks. If I want to move it to smaller droplets do I just have to move the primecoind file or is there more I have to move? Also is there a easy way to move it? tar it and upload it to dropbox?

Just the primecoind file.

From the directory where it is located:

scp primecoind otherdropletip:~/.

It will ask you for a password for the other instance. You should find the compiled binary in the home directory there.
Thanks got them all working with the new miner. Didn't see the post about resizing till I was done but that would have been a better way to do it.
Currently have 4 miners going here and they are each getting 155, 169, 143, 112 (All in new York) All on the smallest droplets.
OnlyC
Full Member
***
Offline Offline

Activity: 154
Merit: 100


View Profile
July 11, 2013, 03:39:11 AM
 #209

Haven't mined a block with 2 smallest + 1 largest  Undecided
TheSpiral
Full Member
***
Offline Offline

Activity: 322
Merit: 113


Sinbad Mixer: Mix Your BTC Quickly


View Profile
July 11, 2013, 03:44:18 AM
 #210

Oh, nice. After a resize, compiled easily. Hashes:
Before: 5-15
After: 200-270

Huge difference. Even my old and free CR-48 was at 0, now at 130. Nice update by Sunny!
rethaw (OP)
Sr. Member
****
Offline Offline

Activity: 378
Merit: 255



View Profile
July 11, 2013, 03:53:24 AM
 #211

Thanks got them all working with the new miner. Didn't see the post about resizing till I was done but that would have been a better way to do it.
Currently have 4 miners going here and they are each getting 155, 169, 143, 112 (All in new York) All on the smallest droplets.

Oh, nice. After a resize, compiled easily. Hashes:
Before: 5-15
After: 200-270

Huge difference. Even my old and free CR-48 was at 0, now at 130. Nice update by Sunny!

Great! Added to OP.

//How can I get the address before found a block?

You can share one wallet.dat amongst many instances, but I don't advise it.

nabworth
Newbie
*
Offline Offline

Activity: 50
Merit: 0


View Profile
July 11, 2013, 03:54:52 AM
 #212

Okay, can we get instruction on how to extract coin from our DigitalOcean droplet.  It has been so long since I have had to do console/coding like this Sad.

Sure. I do it this way:

  • ssh into remote instance
  • ./primecoind listtransactions –> copy the address mentioned in the output at "address"
  • ./primecoind dumpprivkey {{paste copied address here}} –> copy the private key returned
  • on your local computer holding the "master wallet" -> ./primecoind importprivkey {{paste copied private key here}}
  • now address holding the minted coins appears in your local wallet

No need to send coins over the blockchain this way, immature coins can be imported immediately.
It may help

//How can I get the address before found a block?


primecoind getaccountaddress [yourusername]
rethaw (OP)
Sr. Member
****
Offline Offline

Activity: 378
Merit: 255



View Profile
July 11, 2013, 05:06:19 AM
 #213

Looks like the block reward is going down pretty quickly.

rethaw (OP)
Sr. Member
****
Offline Offline

Activity: 378
Merit: 255



View Profile
July 11, 2013, 05:25:08 AM
 #214

Received a PM:

Quote
Hi, please help me with this.
I have mined 3 blocks, here is one of them. Then I type:
primecoind dumpprivkey address
then I got error:
error: {"code":-4,"message":"Private key for address address is not known"}

How can I got my coin?

I'm very appreciated your help.

Are you dumping the private key from the VPS where you mined it? If the address shows in the transaction for the same wallet you will be able to dump it.

Zalfrin
Sr. Member
****
Offline Offline

Activity: 401
Merit: 250



View Profile
July 11, 2013, 05:31:53 AM
 #215

Received a PM:

Quote
Hi, please help me with this.
I have mined 3 blocks, here is one of them. Then I type:
primecoind dumpprivkey address
then I got error:
error: {"code":-4,"message":"Private key for address address is not known"}

How can I got my coin?

I'm very appreciated your help.

Are you dumping the private key from the VPS where you mined it? If the address shows in the transaction for the same wallet you will be able to dump it.

Is he actually filling in "address" with the address he mined coins to, or is he actually typing "address"?   Cheesy
rethaw (OP)
Sr. Member
****
Offline Offline

Activity: 378
Merit: 255



View Profile
July 11, 2013, 05:33:23 AM
 #216

Received a PM:

Quote
Hi, please help me with this.
I have mined 3 blocks, here is one of them. Then I type:
primecoind dumpprivkey address
then I got error:
error: {"code":-4,"message":"Private key for address address is not known"}

How can I got my coin?

I'm very appreciated your help.

Are you dumping the private key from the VPS where you mined it? If the address shows in the transaction for the same wallet you will be able to dump it.

Is he actually filling in "address" with the address he mined coins to, or is he actually typing "address"?   Cheesy

There's an actual address there...

OnlyC
Full Member
***
Offline Offline

Activity: 154
Merit: 100


View Profile
July 11, 2013, 05:37:04 AM
 #217

Received a PM:

Quote
Hi, please help me with this.
I have mined 3 blocks, here is one of them. Then I type:
primecoind dumpprivkey address
then I got error:
error: {"code":-4,"message":"Private key for address address is not known"}

How can I got my coin?

I'm very appreciated your help.

Are you dumping the private key from the VPS where you mined it? If the address shows in the transaction for the same wallet you will be able to dump it.

I think i found the reason. I have copy the primecoind to another VPS, so I should get privkey from the VPS that address belong to Cheesy
twobits
Sr. Member
****
Offline Offline

Activity: 574
Merit: 250



View Profile
July 11, 2013, 05:37:53 AM
 #218

I always get this when I try compiling.  Any tips? 

URCE=2  -MMD -MF obj/init.d -o obj/init.o init.cpp
g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.7/README.Bugs> for instructions.
make: *** [obj/init.o] Error 4


Addressed earlier: need to build on a larger instance or remove the -O2 flag in makefile.unix.

I deleted -O2, but run into the same error still.

Anyone want to put up a dropbox link to a primecoind? The direct link to a precompiled binary in a previous post is no longer working.

It is not dropbox, but   https://app.box.com/s/nz9wwv5sgizrnosnu7nx

█████                █████      ███████             
█████                ███    █████████████       
█████                ██  █████████████████   
█████                █  ██████              ██████ 
█████                    ████                      ████ 
█████████████  █████                        ████
█████████████  █████                        ████
█████████████  █████                        ████
█████                    █████                             
█████                █  ██████              ███████
█████                ██  ███████████    █████ 
█████                ███    █████████    ████   
█████                █████      ███████    ██
███
███
███
███
███
███
███
███
███
HyperQuant.net
Platform for Professional Asset Management
███
███
███
███
███
███
███
███
███
WhitePaper
One-Pager
███
███
███
███
███
███
███
███
███
Telegram 
Facebook
Twitter
Medium
███
███
███
███
███
███
███
███
███
███
███
███
███
███
███
███
███
███
█████                █████      ███████             
█████                ███    █████████████       
█████                ██  █████████████████   
█████                █  ██████              ██████ 
█████                    ████                      ████ 
█████████████  █████                        ████
█████████████  █████                        ████
█████████████  █████                        ████
█████                    █████                             
█████                █  ██████              ███████
█████                ██  ███████████    █████ 
█████                ███    █████████    ████   
█████                █████      ███████    ██
rethaw (OP)
Sr. Member
****
Offline Offline

Activity: 378
Merit: 255



View Profile
July 11, 2013, 05:39:25 AM
 #219

I always get this when I try compiling.  Any tips? 

URCE=2  -MMD -MF obj/init.d -o obj/init.o init.cpp
g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.7/README.Bugs> for instructions.
make: *** [obj/init.o] Error 4


Addressed earlier: need to build on a larger instance or remove the -O2 flag in makefile.unix.

I deleted -O2, but run into the same error still.

Anyone want to put up a dropbox link to a primecoind? The direct link to a precompiled binary in a previous post is no longer working.

It is not dropbox, but   https://app.box.com/s/nz9wwv5sgizrnosnu7nx

FYI, we discussed how to build it yourself and transfer it to your other instances. Using someone else's build is a bit reckless.

jaakkop
Member
**
Offline Offline

Activity: 63
Merit: 10


View Profile WWW
July 11, 2013, 05:51:10 AM
 #220

I always get this when I try compiling.  Any tips?  

URCE=2  -MMD -MF obj/init.d -o obj/init.o init.cpp
g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.7/README.Bugs> for instructions.
make: *** [obj/init.o] Error 4

I was facing the same problem, found a solution from here:
https://bitcointalk.org/index.php?topic=110627.msg1204122#msg1204122

You'll need a bit of swap Wink
Code:
sudo dd if=/dev/zero of=/swapfile bs=64M count=16
sudo mkswap /swapfile
sudo swapon /swapfile
After compiling, remove swap:
Code:
sudo swapoff /swapfile
sudo rm /swapfile

For myself, this did the trick just fine

I'd buy that for a dollar bitcoin!
Pages: « 1 2 3 4 5 6 7 8 9 10 [11] 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 »
  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!