particl / particl-core

Particl Core integration/staging tree

Home Page:https://particl.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cold staking problem on Pi

AutomaticMonkey opened this issue · comments

This issue tracker is only for technical issues related to particl-core.

General questions and/or support requests and are best directed to our Slack or RIOT channels.

Describe the issue

Can you reliably reproduce the issue?

If so, please list the steps to reproduce below:

Expected behaviour

Tell us what should happen

Actual behaviour

Tell us what happens instead
I think I found a little bug in the core. I'm setting up cold staking, Pi to Pi, and the wallet has to be fully unlocked for that. But when you enter the cold wallet staking key with wallesettings, it goes back and locks your wallet if you had unlocked it with 0 for an indefinite time. You have to go back and unlock with 65535 to make it accept it, and I assume I will have to periodically go back and unlock .

Running Raspbian, machine and core just updated.

Screenshots.

If the issue is related to the GUI, screenshots can be added to this issue via drag & drop.

What version of particl-core are you using?

List the version number/commit ID, and if it is an official binary, self compiled or a distribution package such as PPA.

Machine specs:

  • OS:
  • CPU:
  • RAM:
  • Disk size:
  • Disk Type (HD/SDD):

Any extra information that might be useful in the debugging process.

This is normally the contents of a debug.log or config.log file. Raw text or a link to a pastebin type site are preferred.

Unlock for indefinite time only works when unlocking with 'stakingonly' set.
The wallet must be fully unlocked to run walletsettings. After that you should be able to go back to unlocked for stakingonly for indefinite time.

I did find a problem where unlocking for indefinite stakingonly wasn't cancelling a previously existing scheduled relock.

It should work as expected again, thanks for the report.