aliascash / alias-wallet-archive

The content of this repository was reunited with the history of it's ancestors. It's archived now to keep all former release artifacts. The new repository is available at https://github.com/aliascash/alias-wallet
https://alias.cash/
59 stars 22 forks source link

wallet immediately close after walletpassphrase via console Win 8.1 #65

Closed igilepic closed 6 years ago

igilepic commented 6 years ago

I dwld the newest qt wallet 2.0.4.2 and try to find out my private key via console with dumpprivkey

wallet is encrypted and currently locked on my win 8.1

  1. walletpassphrase 60 then the wallet immediately close

FYI the balance is 0, and before I withdrawl my coins from cryptopia I wish to have this informations

teknex commented 6 years ago

Test:

Works with 2.0.5 and balance > 0 and balance == 0 for debugger version but not release version.

teknex commented 6 years ago

@shbli walletpassphrase works when in debugger, seems like a NDEBUG related problem you had before. Can you check this? Maybe related to #27

shbli commented 6 years ago

@teknex Looking into this

shbli commented 6 years ago

@teknex @igilepic test out the code I just committed on develop branch and let me know!

I'm closing the issue now but open it again if the issue arise again.

Not related to #27

igilepic commented 6 years ago

Sorry, but Im not a programmer, so what exactly should I do to test it?

teknex commented 6 years ago

The rpc server is needed to lock the wallet after the specified time With the current fix, when you don't have server active and you return the error message, the wallet is already unlocked

teknex commented 6 years ago

@igilepic The function does work already. dumpprivkey needs the wallet to be unlocked. You can do this by