Post
Topic
Board Announcements (Altcoins)
Re: View-Only Wallets - Spent Outputs are not found
by
Mr.Vice
on 19/06/2018, 11:34:07 UTC
There is an issue with the GUI/CLI wallet clients regarding view-only wallets. After the scanning process of a view-only wallet there are all previous incoming tx displayed/found, but not a single outgoing tx! This happens only with view-only wallets. Any solutions please?

I think this issue is caused by the fact that view-only wallets have no secret spend key, although they have the public one. But somehow the software doesn't check every spent output if there is no secret spend key as well. Is there any fix in sight?

That isn't a bug. The view key can only be used to see incoming transactions.

But a view-only (watching-only) wallet should be able to monitor all incoming and outgoing transactions, right? otherwise it isn't possible to create/broadcast a transaction if the unspent UTXOs can't be determined.

I did the following to (try) claim(-ing) my unspent XMV which are stored at an offline workstation:
1) Recover my wallet at the offline device with my seed in "monerov-wallet-gui.exe".
2) Go to "Settings" and "Export watching-only copy".
3) Transfered my watching-only copy onto a USB stick.
4) Opend my watching-only copy of my wallet at an online workstation.
5) "monerov-wallet-gui.exe" scanned my wallet and only found all incoming tx and not a single outgoing one.

The summary is that I can't spend any of my funds because "monerov-wallet-gui.exe" just completely ignors my past outgoing tx. I can create an  unsigned tx and sign it on my offline PC, but I can't broadcast it because some of my incoming tx were already spent (that's the error message I get when doing so). So my actual balance is false to because my spendings aren't recorded. The wallet acts like if I haven't spent anything, only the coins I have received are recognized.

Although my hot-wallets work perfectly fine (all of them). I can't explain why that happens, because I did this 100 times in Monero the same way I did it in MoneroV. So it's not the first time I use offline walets.

It works the same as it does in Monero. The view key can not be used to view outgoing transactions.

You need to use export_outputs, import_outputs, export_key_images and import_key_images. There's a nice guide on the Monero Stack Exchange.

Now I see my mistake here. Thank you very much for helping me out. In Monero I didn't had to use this because I've always used the same wallet files on the same PCs offline/online. So I basically never had to recover my wallet files and thus there where no expenses my online copy didn't know about.
I really appreciate your help! There should be more guides on the Monero/MoneroV homepages regarding this, though.