How do I update the wallet in Linux?

daddeo

New Member
Mar 28, 2014
26
3
3
How in the hell do I update the wallet in Linux? I compiled a wallet using Propulsions guide and it starts and hangs. It's version
v0.9.1.2-8-g11cb148-beta. I know it's not the latest one but its all thats available on github that I can see. Obviously I've never done this before so please keep the laughter down. :) I feel like such an arse for asking but my patience is wearing thin. I have about zero Linux knowledge. HELP!
 

sgeos

New Member
May 2, 2014
17
1
3
Download the latest source and recompile. If you have the latest source code, you are probably out of luck. You could try recompiling anyway.

EDIT: Make a backup before you start futzing with your wallet! Things happen and you will be sad if you lose your wallet.
 

daddeo

New Member
Mar 28, 2014
26
3
3
Download the latest source and recompile. If you have the latest source code, you are probably out of luck. You could try recompiling anyway.

EDIT: Make a backup before you start futzing with your wallet! Things happen and you will be sad if you lose your wallet.
Thanks for the reply. I've downloaded the latest files from the website but I'm not sure how to implement them to the source code I guess. Its also a new wallet so there's nothing in it to back up.
 

sgeos

New Member
May 2, 2014
17
1
3
The instructions should be in the readme. See the following files and follow the directions:
  1. README.md
  2. INSTALL
  3. build-unix.md
 

daddeo

New Member
Mar 28, 2014
26
3
3
I just noticed that a new release has been issued on GitHub so maybe that will bring me up to date. However, the fact remains that I couldn't figure out how to update the wallet. I tried removing the darkcoin-qt from the darkcoin folder compiled from source with the updated darkcoin-qt downloaded from the website but it won't start. I'm sure it's a simple fix, it's just out of my skill set at this point. I guess you've got to start somewhere.:)
 

Propulsion

The buck stops here.
Feb 26, 2014
1,008
468
183
Dash Address
XerHCGryyfZttUc6mnuRY3FNJzU1Jm9u5L
Inside the directory where you downloaded it.
Code:
sudo git pull
sudo make clean
sudo make
If downloading QT version add to the end of it:
Code:
qmake
Note all this is assuming your downloaded from github.
 

daddeo

New Member
Mar 28, 2014
26
3
3
Inside the directory where you downloaded it.
Code:
sudo git pull
sudo make clean
sudo make
If downloading QT version add to the end of it:
Code:
qmake
Note all this is assuming your downloaded from github.
Thanks! I'll try that after work. Another rookie question. The source from which I compiled the wallet in my first post using your guide did start ok when finished but got stuck syncing at block 45993 or something. So I was trying to update to the newest qt version to solve the syncing issue. Until this morning the source on github was the same as I had tried before. So how would I update the client with the same source code? It's so much easier it seems in Windows- just download and run the latest .exe and done.
 

daddeo

New Member
Mar 28, 2014
26
3
3
Wait, did you mean to put the new updated darkcoin-qt file in the directory I had the old one and then run the commands you suggested?
 

Propulsion

The buck stops here.
Feb 26, 2014
1,008
468
183
Dash Address
XerHCGryyfZttUc6mnuRY3FNJzU1Jm9u5L
Wait, did you mean to put the new updated darkcoin-qt file in the directory I had the old one and then run the commands you suggested?
Nope. In the terminal CD into the directory where the source is. Then do the above commands. If git pull doesn't work, then just delete the source directory but not your .darkcoin directory. Only the source.
 

zerofossilfuel

New Member
May 12, 2014
10
0
1
Let me start with I'm not entirely new to cryptos. With the advent of x11 added to ccminer I decided to give DRK a spin. I run Xubuntu Linux 13.10. I downloaded and compiled from source this evening the qt wallet without darksend. It didn't take long for the wallet to report "0 hours behind" but it's been sitting there that way for some time now and still says "Wallet Out of sync". Sifted the forums and found the .conf is virtually identical to other wallets with the exception of rpc port numbers, etc. After letting the wallet acquire some nodes, getpeerinfo and adding them to my .conf mine looks like this...

rpcuser=darkcoin
rpcpassword=[crazy-long-password]
rpcallowip=127.0.0.1
rpcallowip=192.168.*.*
rpcport=4455
gen=0
server=1
listen=1

addnode=54.80.16.112
addnode=23.23.186.131
addnode=162.252.83.44
addnode=62.57.35.214
addnode=107.170.94.162
addnode=185.7.80.116
addnode=54.187.230.6
addnode=185.12.7.79
addnode=188.226.167.143
addnode=67.189.108.129
addnode=67.215.11.196

Why do you think it won't finish syncing?
 
Last edited by a moderator:

zerofossilfuel

New Member
May 12, 2014
10
0
1
I usually prefer to compile my own machine specific, hence optimized code from source. Curious how going that route is inferior. Is the darksend feature closed source?
 

just_mike

Member
Mar 9, 2014
218
20
78
Los Angeles
I usually prefer to compile my own machine specific, hence optimized code from source. Curious how going that route is inferior. Is the darksend feature closed source?
Darksend is closed source during RC (release candidate) stage. There is a schedule somewhere about when it will be open source but I cannot find.

EDIT - found schedule - https://bitcointalk.org/index.php?topic=421615.msg6488297#msg6488297

Schedule has changed today, so open source may be pushed out a little.
 

zerofossilfuel

New Member
May 12, 2014
10
0
1
Okay, I updated to RC v0.10.7.3-beta. Still have the same problem. Hover over the "0 hours behind" sync progress bar, the tool tip says "Catching up... Processed 67511 of 470000 (estimated) yatta yatta yatta...)" and the Wallet still shows out of sync. o_O
 

zerofossilfuel

New Member
May 12, 2014
10
0
1
More info. Solo mining for a solid day was fruitless so tonight I tried pool mining at drkpool.com:3333 using both cpu-miner 1.2c and/or ccminer v1.0. Both report "stratum_subscribe timed out" over and over. So, not only is the wallet misbehaving, I can't even mine. drkpool.com resolves to 162.252.83.46 which is a NOC4HOST address, hivelocity.net hosted account. Looks like the actual data center may be somewhere in GA. Open ports 22, 80, 3333, 9998, 9999. Pinging is blocked but I can still http to it with Firefox. Router UPNP is enabled. Other coins work fine.
 

Propulsion

The buck stops here.
Feb 26, 2014
1,008
468
183
Dash Address
XerHCGryyfZttUc6mnuRY3FNJzU1Jm9u5L
zerofossilfuel Do this:

Code:
minerd.exe -a X11 -o stratum+tcp://[pool address]: port  -u Username -p password
Also your wallet is not related to actually mining.
 

just_mike

Member
Mar 9, 2014
218
20
78
Los Angeles
I don't know about syncing on the main net with 10.7.3, I have only tried on on testnet. It doesn't work there, but I think the testnet is broke. Give me a few minutes to try on main net.

Mining is different can of worms. Don't bother CPU mining. The difficulty and hash rate are very high and the rewards are low. Drkpool was down earlier but appears to be back to normal now. I have no experience with ccminer, can't help. Try another pool.
 

zerofossilfuel

New Member
May 12, 2014
10
0
1
zerofossilfuel Do this:

Code:
minerd.exe -a X11 -o stratum+tcp://[pool address]: port  -u Username -p password
Also your wallet is not related to actually mining.
Thanks sir but I do know how to mine. The wallet only has to be running (or the daemon alone) if I solo mine. My line parameters are correct. I will try another pool..........
 

zerofossilfuel

New Member
May 12, 2014
10
0
1
I confirm that I can pool mine at cpu-pool.net, albeit slow as molasses (45Kh/core x4 cores), but mining nonetheless, and seeing accepted shares.
P.S. Ask anyone that knows me. I don't do windoze, winblows or any other worship at the macrosoft alter. Strictly Linux now so my command line is
./minerd -a X11 -o stratum+tcp://drk.cpu-pool.net:3500 -u ZeroFossilFuel.m1 -p m1
or
./minerd -a X11 -o stratum+tcp://drkpool.com:3333 -u ZeroFossilFuel.m1 -p m1
etc etc
cpu-pool.net works. drkpool.com does not.
 
Last edited by a moderator:

zerofossilfuel

New Member
May 12, 2014
10
0
1
Just tried. It's an Intel Core2 Quad 2.83 GHz. Not compatible. I think it's SSE3. Tried compiling that way too. No joy. I don't rely too heavily on CPU mining anymore anyway. I have three 7950s hashing at ~7Mh/s on a AMD rig with sgminer plus, a 2nd computer with two GT 640 at 1Mh/s with ccminer plus three out of four CPU threads at 45Kh/s each, all pointed at cpu-pool.net. I'll let it run through the night and see what it turns up.
 

zerofossilfuel

New Member
May 12, 2014
10
0
1
Okay, I've been mining at cpu-pool.net for almost a day at ~8Mh/s with only about 1 DRK to show for it. This is not an easy coin to mine.

Has anyone come up with any answers to my other two problems, namely wallet that always says out of sync even though "0 hours behind" and "stratum_subscribe timed out" at drkpool.com?
 

zerofossilfuel

New Member
May 12, 2014
10
0
1
Do you have any nodes in conf file?
Yes. I have 17 active connections ATM. Most of the nodes I added myself by using getpeerinfo. They're all port 9999. I ignore the others.
addnode=54.80.16.112
addnode=23.23.186.131
addnode=162.252.83.44
addnode=62.57.35.214
addnode=107.170.94.162
addnode=185.7.80.116
addnode=54.187.230.6
addnode=185.12.7.79
addnode=188.226.167.143
addnode=67.189.108.129
addnode=67.215.11.196
addnode=70.190.252.233
addnode=86.31.116.79
addnode=98.81.80.37

BTW I retried the miners pointed at drkpool.com. Tonight they do work but sort of like a V8 hitting on only 5 cylinders. cpu-pool.net purrs right along. I'm wondering if this is not part of an ongoing DDOS attack? Or perhaps just not enough server capacity?
 
Last edited by a moderator: