vergecurrency / verge

Official Verge Core Source Code Repository :muscle:
https://VergeCurrency.com
MIT License
1.41k stars 394 forks source link

4.0.1 fork for stealth new version unable to unlock my wallet #645

Closed Pele51 closed 6 years ago

Pele51 commented 6 years ago

Hi guys i want to unlock my wallet i have the newest version, its fully synched and my balance show up right, but i cant unlock my wallet, i know i have the right passphrase, i wrote it down and copy it also in an usb-stick.

Please Help

karanpatel863 commented 6 years ago

refer the link mentioned. https://github.com/vergecurrency/VERGE/issues/220 hopefully it will solve the problem 👍

jrsikors commented 6 years ago

in addition to that, how are you trying to unlock it? Just through the GUI?

Have you tried going to help -> debug -> console .. and typing out: walletpassphrase "YOUR PASS PHRASE HERE" 300

Unless you have weird special characters, there is an almost impossible chance that a QT upgrade will break your passphrase. Even if you DO have special characters, there is an almost impossible chance that a QT upgrade will break your passphrase.

You can always test the theory and go download the older version of QT where you think it's working. If for some magical reason it does work, go to help -> debug -> console and do a dumpprivkey on your address to get the private key.

If you are copying/pasting from a USB stick --- try pasting it on notepad first and make sure it comes across fine .. with no spaces at the beginning or end .. and no 'line breaks'

Pele51 commented 6 years ago

Hi thx for the help so i just go to help dubug console and type in

walletpassphrase "My passphrase" 300

 Error: Error parsing JSON:"And it shows up a word from my passphrase

jrsikors commented 6 years ago

oops try it with single quotes

walletpassphrase 'My passphrase' 300

jrsikors commented 6 years ago

If you do it right, it won't really give you a confirmation .. it either says "(null)" or just a blank line ... basically no message = good. You can check on the bottom right of your QT wallet UI -- the lock should now be unlocked.

the 300 you added at the end is for 300 seconds, so it will be unlocked for 5 minutes

Pele51 commented 6 years ago

Sorry i entered without quotes before, i tried now with single quotes and " this quotes but its says:

 Error: The wallet passphrase entered was incorrect. (code -14)

jrsikors commented 6 years ago

Did you check to see if the wallet is unlocked even though you got that message? keep in mind it will only unlock for 5 minutes

You have to look for the little 'lock' on the bottom right of your Verge-QT client .. not the console ... it will be "unlocked"... you can move the mouse over it

justinvforvendetta commented 6 years ago

do you have spaces in your password?

Pele51 commented 6 years ago

YES i have

now it shows up this

 Method not found (code -32601)

Pele51 commented 6 years ago

i try to copy and paste it and i try to typ it in

jrsikors commented 6 years ago

method not found means you might have misspelled/typo'd walletpassphrase

Pele51 commented 6 years ago

No with method not found only shows up if i type it with single Quotes

Why i have to put the number 300 at the end?

jrsikors commented 6 years ago

that's how many seconds you want to unlock it. 300 = 300 seconds = 5 minutes

jrsikors commented 6 years ago

If your passphrase is pele51 is cool , you would type: walletpassphrase 'pele51 is cool' 300 with single quote to start and end, and 300 at the end

Pele51 commented 6 years ago

Yes thx i typed it right before but with single quotes it allways shows me method not found and with double quotes it shows me the passphrase is incorrect

jrsikors commented 6 years ago

was reading: https://bitcointalk.org/index.php?topic=2087737.0

that person was getting 'method not found' after a few attempts, maybe there's some safety feature built in and it wont let you spam walletpassphrase a lot within a certain amount of time.

Pele51 commented 6 years ago

now its not typing method not found with single quotes, but it still says passphrase is incorrect

Pele51 commented 6 years ago

Can i check it in another way maybe?

Pele51 commented 6 years ago

I had this issues some months ago and somehow it worked out i still can remember it... as i added new coins yesterday i want to try it again and i found out its not working again now, im 1000% sure that my passphrase is correct because it worked several times before too

jrsikors commented 6 years ago

ss1

after you do walletpassphrase ... even if it says "passphrase incorrect" -- move your mouse over the lock and see if it says wallet unlocked

jrsikors commented 6 years ago

There's really not much you can do -- few things I would try though: A) Load up an older version of the verge-qt wallet , even though it wont sync to blockchain , at the very least you want to get your private key so you can create a new wallet and import it B) Load up an older version of your wallet.dat

Outside of that -- can we ask what special characters you are using in your passphrase, if any? Comma? Non-English character? Double Quotes? single quote?

Pele51 commented 6 years ago

Its a 9word passphrase without any special stuff just words no numbers nothing

I still have an older version of my wallet.dat and this one is unlocked but not have my actually balance there just around 40000 coins

Pele51 commented 6 years ago

Ahh and yes its still showing that the wallet is locked, i tried it several times

jrsikors commented 6 years ago

are you sure you didn't write your passphrase down wrong but only you would remember what the "wrong" thing was ? This just doesn't sound like anything that can happen with a QT version upgrade.

It sounds like what it is -- your passphrase is incorrect -- you said you had problems with it a while ago and eventually figured it out?

Again though -- the only thing I would try if I were you ... load up an older version of verge-qt.. where you think it worked.

Pele51 commented 6 years ago

When i try to download an older version on the verge websites, it gives me several errors like this: On realese 1, 2 and full i get this error:

NoSuchKey The specified key does not exist. 50223128/fae70f02-f4ab-11e7-8e10-0b44ba439dcc C13F79A7A3BC821F 6hsfgp88pJZ1nDSfXxn3bMw8sNr2cLHYUUUnMrKaxDj7mR8iE6FuXRH9T84FqBgR7byVVuth8Z0=
jrsikors commented 6 years ago

try: https://github.com/vergecurrency/VERGE/releases

jrsikors commented 6 years ago

oh crap -- maybe @justinvforvendetta took them down so people would stop using them

Pele51 commented 6 years ago

Im 100% sure i have the correct passphrase i allways double check make screenshots with my phone ect ect... when i got the passphrase i copy and paste it in an editor file and put it on my usb stick, for double secure i make a sceenshot with my phone and write it down on a paper, im not the only one who had issues in the past, there were many guys out there

jrsikors commented 6 years ago

per the #220 referenced .. did you try this:

"Weird. When changing password the encryption password is accepted, but not for unlocking the wallet. Will test once more with changed password"

Basically go to Settings -> Change Passphrase

See if your passphrase allows you to change it to a new passphrase, do something super simple if it works

Pele51 commented 6 years ago

i tried it too before and it didnt help me

justinvforvendetta commented 6 years ago

definitely do not use older wallets

Pele51 commented 6 years ago

that was my last problem and one time my passphrase worked but before it doesnt work

https://github.com/vergecurrency/VERGE/issues/498

Its the same problem now i have the right passphrase im 100% sure

jrsikors commented 6 years ago

try walletpassphrase again , but use double quotes instead of single quotes ... that might have been what worked for you in #498 ... bout the only thing i dont think we've tried here yet.

If you do get it unlocked, you would be extremely wise to do a dumpprivkey through the console on your wallet address and stash it somewhere safe. You will definitely want to create a new wallet.dat, re-encrypt it, and then import the private key into the new wallet.

Pele51 commented 6 years ago

It still shows that it is incorrect, i tried that before as i said with single and double quotes

jrsikors commented 6 years ago

I guess just keep trying like you did in #498 when it magically just started working again.

I do think your wallet.dat must be corrupt somehow , and if you do ever get it unlocked, you need to dumpprivkey for all the addresses that have coins on them ... and create a new wallet.dat.

Having the private key for your addresses, although adds another layer of risk if you aren't safe about storing them, completely eliminates any potential for lost coins like this.

jrsikors commented 6 years ago

I know it takes 10-15 minutes ... but closing down verge-qt and re-opening it is your best bet.

Once you do have your wallet unlocked... go to the console and do a "listaddressgroupings" .. it will tell you where all your coins are.

then do a: dumpprivkey YOURVERGEADDRESS

repeat and do as many as you have to .. all your addresses that have coins if they are spread out

Pele51 commented 6 years ago

So i did nothing wrong verge had or still has problem with them wallets, not synching balance doesnt show up right cant unlock wallet ect... i have stellar lumens wallet and ada wallets too and many more, never had problems with them, only siacoin one time, i cant do more then save my wallet.dat on a usb drive and securely put down my passphrase several times.

I only have one receiving adress all my coins are on the same adress, how can i unlock my wallet if it doesnt work? And i close and reopen the verge wallet several times today

jrsikors commented 6 years ago

I know it's unfortunate you are having problems, and we are trying to assist.

Verge-QT doesn't have any of those issues you describe for 99% of people. In my experience, if it works for 99% and doesn't for 1%, the problem is typically with the 1% not doing something right.

This is not a widespread problem. People had issues with previous version per #220 , but no one actually lost coins. It was throwing an error when it shouldn't, and all wallets were unlocked successfully.. and the false positive message issue was fixed in the latest release.

We are trying to assist, but you said so yourself in #498 you had fixed the problem... and you were on the latest version.

Looking back on it, I should have warned you in #498 to be more careful and perhaps create a new wallet, but you seemed like you figured it out.

I'm now convinced that your wallet.dat file is corrupt somehow... and as I've said.. if/when you get it unlocked .. you need to dumpprivkey immediately.

Only other thing I can think of to try: Go try on a different computer, borrow a friends/family laptop/desktop if you have to

You don't need to fully sync with the blockchain, all you need to do is: 1) Download Verge-QT 2) Unzip Verge-QT 3) Run Verge-QT 4) Close Verge-QT 5) Copy your wallet.dat to the data directory and replace the one created 6) Run Verge-QT 7) try to unlock wallet (Again, you don't need to be sync'd with the blockchain at all for this to work) and dumpprivkey

justinvforvendetta commented 6 years ago

yeah this issue doesn't really make sense. can you go to help, then debug console, and then type getinfo, and paste the results here? i want to verify a few things

Pele51 commented 6 years ago

thx for ur help guys i hope we can figure out what the problem is

18:20:12  getinfo

18:20:12  { "version" : "v4.0.1.0-794660a-funky-beta", "protocolversion" : 90001, "walletversion" : 60000, "balance" : 91417.46153000, "newmint" : 0.00000000, "stake" : 0.00000000, "blocks" : 1966338, "moneysupply" : 14728647279.99999619, "connections" : 18, "proxy" : "", "ip" : "634fbazyn6yaillv.onion", "pow_algo_id" : 0, "pow_algo" : "scrypt", "difficulty" : 58687.15084104, "difficulty_x17" : 7988.50848624, "difficulty_scrypt" : 58687.15084104, "difficulty_groestl" : 449971.80268265, "difficulty_lyra2re" : 27403.88805942, "difficulty_blake" : 16312253.91392075, "testnet" : false, "keypoololdest" : 1515832738, "keypoolsize" : 100, "paytxfee" : 0.01000000, "unlocked_until" : 0, "errors" : "" }

Pele51 commented 6 years ago

is this the right version i have?

jrsikors commented 6 years ago

that's the correct version -- i will let Justin go through the other stuff, that's out of my skillset :smile:

just for SNG while we wait for Justin do a walletpassphrase 'YOUR PASS PHRASE AGAIN' 300

then do a getinfo again

does the 2nd to last thing _"unlockeduntil" : 0, change.. or does it still say 0 ?

Even if you get the error message about it being wrong .. still do the getinfo

justinvforvendetta commented 6 years ago

that looks right. try changing your password.

jrsikors commented 6 years ago

Last comment from me, probably not, but going over this again .. you said:

I still have an older version of my wallet.dat and this one is unlocked but not have my actually balance there just around 40000 coins

If you have been sending all your coins to the same address, and you have a wallet.dat that isn't encrypted ... and this wallet.dat has the same address as all your coins ... in theory this should work just fine. close down verge-qt, plop this wallet.dat in, let verge-qt sync, and all the coins will show (you might need to run a scanforalltxns)

Pele51 commented 6 years ago

i put in the walletpassphrase again and it says its incorrect

and then i getinfo on this:

version" : "v4.0.1.0-794660a-funky-beta", "protocolversion" : 90001, "walletversion" : 60000, "balance" : 91417.46153000, "newmint" : 0.00000000, "stake" : 0.00000000, "blocks" : 1966378, "moneysupply" : 14728709679.99999619, "connections" : 20, "proxy" : "", "ip" : "634fbazyn6yaillv.onion", "pow_algo_id" : 0, "pow_algo" : "scrypt", "difficulty" : 51704.68976477, "difficulty_x17" : 11037.04822234, "difficulty_scrypt" : 51704.68976477, "difficulty_groestl" : 822882.18214857, "difficulty_lyra2re" : 29848.71505119, "difficulty_blake" : 9518859.03503684, "testnet" : false, "keypoololdest" : 1515832738, "keypoolsize" : 100, "paytxfee" : 0.01000000, "unlocked_until" : 0, "errors" : "" }

Pele51 commented 6 years ago

what a scanforalltxns?

jrsikors commented 6 years ago

justin said to try changing your password , ignore me for now while he's trying to help :smile:

Pele51 commented 6 years ago

i try it several times but it doesnt work

Pele51 commented 6 years ago

its crazy i just delete the exist wallet.dat copy and paste the unlocked wallet.dat, and reopen my wallet again and it shows up all my coins but still locked

Pele51 commented 6 years ago

Once i want to know can u also rename a wallet.dat like unlockedwallet.dat? i think that doesnt work but i can rename it in wallet.dat again if i need it then right?