haven-protocol-org / haven-main

Haven is an untraceable cryptocurrency with a mix of standard market pricing and real world asset-pegged value storage. It achieves this via a “mint and burn” process within a single blockchain.
https://havenprotocol.org
Other
39 stars 25 forks source link

View-only wallet shows incoming transactions only #34

Open dshumsky opened 2 years ago

dshumsky commented 2 years ago

View-only wallet doesn't seem to be working.

online-view-only: rescan_bc
online-view-only: export_outputs outputs.txt
offline-cold:     import_outputs outputs.txt
offline-cold:     export_key_images images.txt
online-view-only: import_key_images images.txt
online-view-only: show_transfers

After this actions from my understanding online-view-only should "see" both incoming and outgoing transactions. But only incoming transactions are shown. What am I missing? cc @akildemir , @crocket

crocket commented 2 years ago

Offline wallet should import all outputs from viewing wallet. Viewing wallet must import all key images from offline wallet.

dshumsky commented 2 years ago

@crocket this is what I did. See the corresponding commands for CLI-client above. The problem is that after these actions incoming-transactions are not shown.

crocket commented 2 years ago

Maybe, you should execute export_outputs all and export_key_images all?