Exporting Private Keys in PeerShares client [ubuntu]

Hi all,

So it seems I am unable to export my private keys in Peershares(so I can import them to PPCoin/Peerunity and see my dividends).

I get a similar message using the RPC command.

Anyone have this problem?

my Peershares.conf file:

server=1 testnet=1 rpcuser=rpc rpcpassword=hohoho addnode=54.255.142.16 addnode=54.72.105.68 addnode=54.207.53.43 addnode=54.81.120.250 rpcport=9091

I did play around with the file permissions and no combination I tried worked.

thx, -jmz

The error message is wrong. It should give you the path to your ppcoin.conf, not your peershares.conf. So to fix that you should add an rpc user and password in your ppcoin.conf.

This is fixed in pull request #111 but it was not merged yet.

[quote=“sigmike, post:2, topic:2287”]The error message is wrong. It should give you the path to your ppcoin.conf, not your peershares.conf. So to fix that you should add an rpc user and password in your ppcoin.conf.

This is fixed in pull request #111 but it was not merged yet.[/quote]

hi Sigmike,

ya I was just looking at the code. So you suggest I git update, and then add the rpc user/rpcpassword to my ppcoin.conf?

should there be a ppcoin.conf AND a peershares.conf?

I was just looking at these functions in the code.

-jmz

No need to update git. It would only change the message.
Just put a rpc user & password in your ppcoin.conf.

Yes but not in the same directory.
You should have a ppcoin.conf in the Peercoin data directory (~/.ppcoin on linux, C:\Documents and Settings\username\Application Data\PPCoin on windows)
And a peershares.conf in your Peershares data directory.

No need to update git. It would only change the message.
Just put a rpc user & password in your ppcoin.conf.

Yes but not in the same directory.
You should have a ppcoin.conf in the Peercoin data directory (~/.ppcoin on linux, C:\Documents and Settings\username\Application Data\PPCoin on windows)
And a peershares.conf in your Peershares data directory.[/quote]

I did that, and I no longer get the error message, but the entire app hangs. :frowning:

-jmz

If you have many keys it may take some time (and freeze in the meantime).

Maybe a firewall could cause this too.

Make sure can call RPC commands on peercoin.

In your ppcoin.conf you should have:

server=1
rpcuser=<change to anything>
rpcpassword=<change to anything>

And your peershares.conf should have what pennybreaker bundled with the packages:

testnet=1

rpcuser=<change to anything>
rpcpassword=<change to anything>

addnode=54.255.142.16
addnode=54.72.105.68
addnode=54.207.53.43
addnode=54.81.120.250

The users and passwords should not be the same in the 2 files.

I set up my files to be exactly what you showed.

now I get:

 Error: couldn't connect to Peercoin RPC server

I am using the ‘export Peercoin keys’ menu option btw.

-jmz

Looks like we resolved this. I was having a similar issue with the daemon. I didn’t have the daemon running, and he didn’t have the peercoin-qt running. Have to make surre ppcoin client or ppc daemon is running at the same time :slight_smile:

Mike,

we resolved this last night after much deliberating.

the ppcoin.conf you specified file does not have ‘testnet=1’ in it.

thanks for your help.

-jmz

If you have many keys it may take some time (and freeze in the meantime).

Maybe a firewall could cause this too.

Make sure can call RPC commands on peercoin.

In your ppcoin.conf you should have:

server=1
rpcuser=<change to anything>
rpcpassword=<change to anything>

And your peershares.conf should have what pennybreaker bundled with the packages:

testnet=1

rpcuser=<change to anything>
rpcpassword=<change to anything>

addnode=54.255.142.16
addnode=54.72.105.68
addnode=54.207.53.43
addnode=54.81.120.250

The users and passwords should not be the same in the 2 files.[/quote]