hhanh00 / zwallet

Zcash and Ycash light shielded wallet
https://ywallet.app
MIT License
42 stars 20 forks source link

Detect reorgs during scan #107

Closed hhanh00 closed 11 months ago

hhanh00 commented 1 year ago

It seems that the LWD server can return a range of blocks that are not chained properly if there is a reorg in the middle. Since we only detect reorg on the first block, we can end up with invalid data.