zecwallet
zecwallet copied to clipboard
Zecwallet full node 1.8.0-beta 2 Disconnected with error: "account 0 has not been generated by z_getnewaccount"
I downloaded the new version of the program for Windows "Zecwallet.Fullnode.1.8.0-beta2.msi" and ran it. Then, as indicated in the instructions, I first launched zcashd.exe with administrator rights, waited for full synchronization and launched Zecwallet Fullnode.exe with administrator rights.
At the same time, Zecwallet Fullnode does not fully synchronize with zcasd and gives an error, no matter how many times I run Zecwallet Fullnode.exe. Synchronization always stays at 99.9%.
The wallet is not working, I can't use it. What am I doing wrong?
Can I use the old version of Zecwallet.Fullnode.1.7.8.msi? Will she work or not?
You can use an older version of Zecwallet Fullnode, no problem.
The issue you're having is that since zcashd v5.0.0, you also need to run the `zcashd-wallet-tool.exe" first to create and backup your seed phrase, which I think you have not yet done. This is included in the distribution. Once you run this, it will create your wallet and Zecwallet will work normally.
I'll work on improving the error messages
I unfortunately can't reproduce this. Can you give me any more information?
- What is the error you are getting?
- Can you run ./zcash-cli.exe and get results? Like
./zcash-cli.exe z_listunspent
? - Are there any clues in the debug.log or Javascript console?
Now I'm running the old version of Zecwallet.Fullnode.1.7.8. I set rescan=1 in the .conf configuration file. After the process has ended, synchronization remains at 99.9%. That is, the old wallet does not work. Maybe I have something with the wallet, so the beta version does not work either?
I'll try installing the beta and running ./zcash-cli.exe z_listunspent tomorrow. I will follow all your other instructions as well. It's a pity the time spent on synchronization in version 1.7.8.
Version 1.7.8 has been in this state for several hours now. If you close it now, then the synchronization will start from 99.5%, that is, the downloaded blocks, as it were, are not taken into account.
Is it possible that your wallet file is corrupted? Maybe try backing up your current wallet, creating a new one, and see if that works?
How to backup your wallet? Just copy the wallet.dat file? How to make a new wallet?
I am not sure if it's the same topic, but I can interact with the wallet using zcash-cli.exe
while using ZecWallet I get No accounts. Please run 'zcashd-wallet-tool' to create your wallet first...
.
I have run zcashd-wallet-tool.exe
with
migration=1 exportdir=
:<some_dir>
I can't see anything peculiar in debug.log
. I don't remember if there were something extra I could switch on to get more information. I'm can try "stuff", of course, to test if someone has a hypothesis. Running ZCashd from a command line is a bit cumbersome. :)
Example of interaction:
zcash-cli.exe getwalletinfo { "walletversion": 60000, "balance": x.xx, "unconfirmed_balance": x.xx, "immature_balance": x.xx, "shielded_balance": "x.xx", "shielded_unconfirmed_balance": "x.xx",
...
As an aside there's
Error: Error invoking remote method 'readfile_IPC': Error: ENOENT: no such file or directory, open 'C:\Users<userdata>\AppData\Roaming\Zcash\AddressBook.json'
as an error message in the WebView console.
@veikkoeeva You need to run the zcashd-wallet-tool.exe
first, to initialize the wallet and seed phrase. It is included in the distribution
@Flint911jr You can backup your wallet either by copying the wallet.dat
file or saving the seed phrase.
@adityapk00 I did run the supplied zcashd-wallet-tool.exe
, I also wrote that. :) Those parameters I quoted were supplied to zcashd
which i started before I ran zcashd-wallet-tool.exe
.
Did zcashd-wallet-tool.exe
complete? It will confirm your seed phrase if it finishes.
You can confirm this by running zcash-cli.exe z_listaccounts
@adityapk00 It did run to completion and queried some selected words from the seed list. Now that I run zcash-cli.exe z_listaccounts
I get []
. So maybe there's something fishy here now.
@Flint911jr You can backup your wallet either by copying the
wallet.dat
file or saving the seed phrase.
Yes, I did. I took the previously copied wallet.dat (it definitely works correctly) and ran version 1.7.8. Synchronization in progress.
When launching the wallet zcash fullnode "This wallet operation is disabled while reindexing" version 1.8.1. What is it and how can I fix it? The phrase export is ready, where should it be entered to restore the wallet?
Little more poking (sorry, on holiday so a bit sporadic) that I get a bunch of accounts with zcash-cli listaddresses
.
It may be the problem is that none of my addresses have originally been created using z_getnewaccount
.
My addresses (that I use) are in categories sprout
, legacy_hdseed -> sapling
. I do get a bunch of addresses and information using zcash-cli walletinfo
, zcash-cli z_gettotalbalance
, zcashc-cli z_getbalance <address>
and so on.
I just created an address using zcash-cli z_getnewaccount
and it's in category mnemonic_seed -> unified
when listed by zcash-cli listaddresses
results. It does not have any addresses when using listaddresses
.
It may be this explains some of the issues with the Wallet client.
Synchronization has been going on for the third day. It's very, very slow.
Version 1.7.8.
Currently block height is 1,736,075.
That is, synchronization is slower than new blocks appear.
I'm afraid I won't be able to verify why the wallet was corrupted in version 1.8.0-beta2, because the sync doesn't keep up with the new blocks on the network.
I have a rather old wallet address. Could this be the issue? Problem with old addresses?
The wallet never synced. Version 1.7.8.
Yesterday was like this (last block 1736258, difference -1582)
Today it became like this: (last block 1736733, difference -1404)
Obviously, the problem is not in my wallet.
In this case, Zecwallet Fullnode will sync for a week or more. How can I use my funds?
@Flint911jr I used a first generation Intel Core i7 (on Windows 10, quite old set up) and could synchronize. This successful synchronization was/is shown in the UI (it tells "Connected" where you have that "Syncing"). (Very early on, years ago, the Windows builds had performance problems, due to cache alignment if I remember. I record here if someone is lurking there and having the same problem and thinking to explore further.)
A bit problematic is that I used zcash-cli
to create a new account and an address to it and can check it using zcash-cli z_getaddressforaccount 0
but the user interface does not report anything. I have not yet checked the source code to see what's up with that.
I want to share the results of my attempts to restore the wallet.
There is a fairly old computer with the following characteristics:
- Intel(R) Core(TM)2 Quad CPU Q9650 @ 3.00GHz
- RAM 8 GB
- SSD hard disk (on which 'datadir' is located), more than 128GB free
- Windows 10 Pro 21H2 with latest updates
- Wired Internet connection 100 Mbps
- Version Zecwallet Fullnode 1.8.1 (zcashd 5.1.0)
The wallet was not processed by the zcashd-wallet-tool.exe utility. The zcashd.exe process, launched using the command prompt with administrator rights, takes up about 320 MB of RAM and 25% of the CPU time.
This version 1.8.1 has been in sync for a very long time. And I assume that there will never be full synchronization. There is no reason why a good Internet connection does not synchronize, because the processor is only partially busy.
Here's an example of a process at one point in time.
Here the difference is -8484.
And here is the next day.
Here the difference is -6694.
Still no sync.
Then there is a more modern computer with the following characteristics:
- AMD Ryzen 7 3700X 8-Core Processor 3.59 GHz
- 64GB RAM
- High speed SSD hard disk (on which 'datadir' is located), more than 128GB free
- Windows 10 Pro 21H2 with latest updates
- Wireless 4G internet connection 25Mbps
- Version Zecwallet Fullnode 1.8.1 (zcashd 5.1.0)
The wallet was not processed by the zcashd-wallet-tool.exe utility.
The zcashd.exe process, launched through the command line with administrator rights, occupies 3521 MB of RAM and about 1% of the processor time.
On this computer, zcashd synced in about 2 days with a rather poor internet connection.
The figure does not show how long the synchronization took place, because. the zcashd process has been restarted.
I could be wrong, but I think that on an old computer, zcashd simply does not work properly.
Zecwallet Fullnode version 1.8.1 cannot be run without the zcashd process running. As it turns out, Zecwallet Fullnode 1.8.1 cannot be run with zcashd running unless there is a full sync. Otherwise, error messages appear.
Next, after waiting for synchronization on the computer (with an AMD processor), following the instructions, I tried to run zcashd.exe with the '-exportdir' parameter. And what exactly to prescribe in the parameter is a little unclear. I did this: .\zcashd.exe -exportdir=C:\Zcashd\backup. Next, zcashd-wallet-tool.exe was launched, the default file name was export20220721. Then I wrote down 24 secret phrases.
A file with no extension was created in the specified directory.
Then zcashd was restarted without the '-exportdir' option.
When launched, the Zecwallet Fullnode application gives a status of "synchronized" and immediately gives an error that the account has not been created.
Next was this:
As you can see, the account and wallet have been created.
When running the Fullnode app, I get a blank screen with no wallet.
It looks like nothing else is going on here other than synchronization.
How to work with a wallet?
Is this the developer version of the wallet? Ordinary users can't use it? After all, you need to know certain commands to work with the command line, and the Zecwallet Fullnode GUI does not work.