How can I get information if wallet is open for minting (only) from RPC?


#1

Wallet is open for minting only and

getinfo
returns
“unlocked_until” : 0

So how can I get information if wallet is open for minting only from RPC?


#2

If “errors” : “” then it is probably unlocked. I don’t think there is a way to know if it is unlocked only for minting.


#3

But “errors”:"" shows even if wallet is not unlocked for minting.

It’s very bad. I really wanted to implement “minting” indicator in Pearboard.

Thanks for answering.


#4

If you need more info, I can implement it in my fork of the ppcoin client.
I’ll then try to get it merged into the main code, but in the mean while you can use my fork.

So please describe the wanted functionality as detailed as possible, to reduce the work for me (and possible misunderstandings ;)).
Also other people please step in to give your thoughts on how it should work.