Cyberclones
Newbie
Offline
Activity: 42
Merit: 0
|
|
July 11, 2013, 02:43:14 AM |
|
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?
|
|
|
|
rethaw (OP)
|
|
July 11, 2013, 02:45:23 AM |
|
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
Activity: 50
Merit: 0
|
|
July 11, 2013, 02:49:18 AM Last edit: July 11, 2013, 03:08:17 AM by nabworth |
|
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
|
|
July 11, 2013, 03:01:00 AM |
|
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
|
|
July 11, 2013, 03:04:17 AM |
|
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. 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)
|
|
July 11, 2013, 03:25:34 AM |
|
Got a PM: 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
|
|
July 11, 2013, 03:33:07 AM |
|
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 . 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
Activity: 42
Merit: 0
|
|
July 11, 2013, 03:33:32 AM |
|
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
|
|
July 11, 2013, 03:39:11 AM |
|
Haven't mined a block with 2 smallest + 1 largest
|
|
|
|
TheSpiral
Full Member
Offline
Activity: 322
Merit: 113
Sinbad Mixer: Mix Your BTC Quickly
|
|
July 11, 2013, 03:44:18 AM |
|
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)
|
|
July 11, 2013, 03:53:24 AM |
|
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
Activity: 50
Merit: 0
|
|
July 11, 2013, 03:54:52 AM |
|
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 . 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)
|
|
July 11, 2013, 05:06:19 AM |
|
Looks like the block reward is going down pretty quickly.
|
|
|
|
rethaw (OP)
|
|
July 11, 2013, 05:25:08 AM |
|
Received a PM: 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
|
|
July 11, 2013, 05:31:53 AM |
|
Received a PM: 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"?
|
|
|
|
rethaw (OP)
|
|
July 11, 2013, 05:33:23 AM |
|
Received a PM: 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"? There's an actual address there...
|
|
|
|
OnlyC
|
|
July 11, 2013, 05:37:04 AM |
|
Received a PM: 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
|
|
|
|
twobits
|
|
July 11, 2013, 05:37:53 AM |
|
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
|
█████ █████ ███████ █████ ███ █████████████ █████ ██ █████████████████ █████ █ ██████ ██████ █████ ████ ████ █████████████ █████ ████ █████████████ █████ ████ █████████████ █████ ████ █████ █████ █████ █ ██████ ███████ █████ ██ ███████████ █████ █████ ███ █████████ ████ █████ █████ ███████ ██ | | | ███ ███ ███ ███ ███ ███ ███ ███ ███ | | | | | | ███ ███ ███ ███ ███ ███ ███ ███ ███ | | ►WhitePaper ►One-Pager | ███ ███ ███ ███ ███ ███ ███ ███ ███ | | | | ███ ███ ███ ███ ███ ███ ███ ███ ███ | | ███ ███ ███ ███ ███ ███ ███ ███ ███ | █████ █████ ███████ █████ ███ █████████████ █████ ██ █████████████████ █████ █ ██████ ██████ █████ ████ ████ █████████████ █████ ████ █████████████ █████ ████ █████████████ █████ ████ █████ █████ █████ █ ██████ ███████ █████ ██ ███████████ █████ █████ ███ █████████ ████ █████ █████ ███████ ██ |
|
|
|
|
rethaw (OP)
|
|
July 11, 2013, 05:39:25 AM |
|
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/nz9wwv5sgizrnosnu7nxFYI, we discussed how to build it yourself and transfer it to your other instances. Using someone else's build is a bit reckless.
|
|
|
|
jaakkop
|
|
July 11, 2013, 05:51:10 AM |
|
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#msg1204122You'll need a bit of swap sudo dd if=/dev/zero of=/swapfile bs=64M count=16 sudo mkswap /swapfile sudo swapon /swapfile After compiling, remove swap: sudo swapoff /swapfile sudo rm /swapfile For myself, this did the trick just fine
|
I'd buy that for a dollar bitcoin!
|
|
|
|