adityapk00 / zecwallet-light-cli

Zecwallet Lightclient Library and CLI interface
MIT License
69 stars 65 forks source link

missing UTXOs when recovering from seed #90

Closed hayeah closed 2 years ago

hayeah commented 2 years ago

i exported the wallet seed from the electron electron zecwallet-lite.

i have 2 z-addresses in the electron zecwallet-lite that have balances, but for only one is found, even though I am scanning from 0.

there is also a missing t-address UTXO with >15 confirmations that i've generated with the electron app, that

are there hard-limits on how many t and z addresses the client would try to recover?

I see that there is a num_zaddrs param when creating the wallet, not sure if i need to configure something?

https://github.com/adityapk00/zecwallet-light-cli/blob/1aac5b589f85e234346f978cbc4adbdca47ec7dd/lib/src/lightwallet/keys.rs#L140

hayeah commented 2 years ago

i figured out how to manually recover the missing utxos...

for future reference if anyone runs into the same problem: you need to generate the t and z addresses, the rescan.

from the cli:

// as many times as necessary to find the z-addresses that you need
new t

// as many times as necessary to find the z-addresses that you need
new z

then rescan:

rescan