Author

Topic: eMark MINTING on ENCRYPTED Wallet - how can I enable this? (Read 1219 times)

newbie
Activity: 37
Merit: 0
I solved this by opening the wallet for mining only via the console.

Go to Help >> debug >> console

syntax: walletpassphrase [mintonly]

So: walletpassphrase MySecretPass 200000 true

leaves my wallet open for more than three days for minting only.


(and ctrl-L to wipe the password off your console window!!)


Question: what happens is the wallet is locked and a block is found. Is that share being rejected?

I found three blocks and two of them were rejected. In both cases the wallet was locked.
sr. member
Activity: 952
Merit: 253
I think I solved this myself.

Needed to send the command walletpassphrase to the encrypted wallet using JSON

eMark does not provide a daemon to do this so I used Peeroin ppcoind to send the command like this;

\daemon\ppcoind -conf \emark.conf wallet passphrase 

which on my PC turns into;

c:\Program Files\PPCoin\daemon\ppcoind -conf %appdata%\emark\emark.conf walletpassphrase

specify your own wallet password and timeout here of course  Wink

then if you are not sure you can get the wallet status

c:\Programe Files\PPCoin\daemon\ppcoind -conf -conf=%appdata%\emark\emark.conf getinfo

it should show something like

{
    "version" : "v1.0.0.0-oro",
    "protocolversion" : 60006,
    "walletversion" : 60000,
    "balance" : 2001.37628500,      <--- shows your balance here  Shocked
    "newmint" : 0.00000000,
    "stake" : 0.00000000,
    "blocks" : 52591,
    "moneysupply" : 2629550.00000000,
    "connections" : 7,
    "proxy" : "",
    "ip" : "xxx.xxx.xxx.xxx",            <--- I blanked this in case it was my ip
    "difficulty" : 1387123.16066229,
    "testnet" : false,
    "keypoololdest" : 1387411402,
    "keypoolsize" : 101,
    "paytxfee" : 0.00000000,
    "unlocked_until" : 1388837697,  <--- depends on your timeout value
    "errors" : ""                               <--- if its not worked this contains the error test "Minting halted due to locked wallet"
}

Finally if its worked the wallet screen for an encrypted eMark wallet looks like this

sr. member
Activity: 952
Merit: 253
Hi I've encrypted my eMark wallet now its stopped minting as I expected because it doesn't have the wallet pass phrase.

I'm trying now to start the wallet and give it the passphrase so minting can continue.

I've look at the source on github and it seems that "walletpassphrase" is supported, well the code to parse it is in there!

I can't figure out how the get it recognised on the command line, my understanding is it should be;

eMark-qt -server walletpassphrase

but it seems to make no difference.  Huh

I've set up emark.conf as required, -server allows eMark to accept command line arguments according to the source and walletpassphrase seems to be listed as a command..

Please can someone tell me if minting of an encrypted wallet is supported currently and how to get the wallet password accepted?

Thanks,
Ian
Jump to: