BirthdayResearch / defichain-app

DeFi Blockchain desktop app for Windows, Linux and Mac.
https://defichain.com
MIT License
157 stars 57 forks source link

After update 2.6.5 my BTC value in the BTC (beta wallet) missing #1043

Closed nordi6000 closed 3 years ago

nordi6000 commented 3 years ago

I install the Version 2.6.5 to fix the problem with the fee. After the installation my BTC credit is 0.000000 image

My BTC address: bc1qrqczhshp2eumnluguw5h3ffvneef6grjc89esa image

You can see the the balance of 0.0001 BTC in the Bitcoin explorer. image

Error_2.6.5.zip

defichain-bot commented 3 years ago

@nordi6000: Thanks for opening an issue, it is currently awaiting triage.

The triage/accepted label can be added by foundation members by writing /triage accepted in a comment.

In the meantime, you can:

  1. Checkout DeFiChain’s Github issue page to see if your issue has already been reported
  2. Submit any logs if you have them, this will greatly expedite the process for us.
  3. You can also join our Telegram or Reddit community channels.
Details I am a bot created to help the [DeFiCh](https://github.com/DeFiCh) developers manage community feedback and contributions. You can check out my [manifest file](https://github.com/DeFiCh/app/blob/master/.github/governance.yml) to understand my behavior and what I can do. If you want to use this for your project, you can check out the [DeFiCh/oss-governance-bot](https://github.com/DeFiCh/oss-governance-bot) repository.
izzycsy commented 3 years ago

Hi @nordi6000 , thanks for opening an issue. Please give us time to investigate.

m1at1 commented 3 years ago

I also have this issue. For info: I had a crash on my linux machine, thenforce re-indexed the wallet, then updated. ALl DFI balances working and showing. BTC beta wallet balance shows zero but all the transactions are as before.

prasannavl commented 3 years ago

Hi @nordi6000, @m1at1 - could you run the following command from the console in the app:

  1. spv_getbalance: Please let us know if the balance output for this is also zero, just to make sure.

  2. spv_getalladdresses: Please run this and and check if your address is included in this output (No need to share this, just a yes/no for if your address is included in here).

  3. spv_syncstatus: Please share this output. Both the current and estimated needs to be in sync with the bitcoin block height ideally (atleast above blockheight where your txes exist), otherwise the in-built SPV wallet may not be synced properly. If this is not, running spv_rescan <rescan_from_blockheight>, or just spv_rescan 0 to rescan it all can help fix that. (It'll take a short while as this is resynced, and then you can try again).

Might also be helpful if you spv_rescan 0 from step 3 regardless of the result. Since SPV just downloads the block headers, it should be pretty quick - a few mins, depending on your internet speed.

nordi6000 commented 3 years ago

Hi @prasannavl , I try but my balance show 0 look at the picture.

image

m1at1 commented 3 years ago

On Fri, 17 Sept 2021 at 10:36, Prasanna Loganathar @.***> wrote:

Hi @nordi6000 https://github.com/nordi6000, @m1at1 https://github.com/m1at1 - could you please help us with the following from the console in the app:

1.

spv_getbalance: Please let us know if the balance outpupt for this is also zero, just to make sure.

  1. Zero
  2. spv_syncstatus: Please share this output.

{ "connected": true, "current": 700939, "estimated": 700939 } Correlates with recent blocks @ https://live.blockcypher.com/btc/

1.

Both the current and estimated needs to be in sync with the bitcoin block height ideally (atleast above blockheight where your txes exist), otherwise the in-built SPV wallet may not be synced properly. If this is not, running spv_rescan , or just spv_rescan 0 to rescan it all can help fix that.

1. 2.

spv_getalladdresses: Please run this and and check if your address is included in this output (No need to share this, just a yes/no for if your address is included in here).

yes - the output matches my received address. The address shows a balance in the BTC explorer at blockcypher.com

You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/DeFiCh/app/issues/1043#issuecomment-921655598, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVUTV7IZHGEE3LUNJFEWOZLUCMDY7ANCNFSM5D2FXDPA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

nordi6000 commented 3 years ago

Hi @m1at1 look here...

image

m1at1 commented 3 years ago

Hi Prasanna,

spv_rescan 0

fixed the problem, once the blocks were re-synched,

Matt

On Fri, 17 Sept 2021 at 10:36, Prasanna Loganathar @.***> wrote:

Hi @nordi6000 https://github.com/nordi6000, @m1at1 https://github.com/m1at1 - could you please help us with the following from the console in the app:

1.

spv_getbalance: Please let us know if the balance outpupt for this is also zero, just to make sure. 2.

spv_syncstatus: Please share this output. Both the current and estimated needs to be in sync with the bitcoin block height ideally (atleast above blockheight where your txes exist), otherwise the in-built SPV wallet may not be synced properly. If this is not, running spv_rescan

, or just spv_rescan 0 to rescan it all can help fix that. 3. spv_getalladdresses: Please run this and and check if your address is included in this output (No need to share this, just a yes/no for if your address is included in here). — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub , or unsubscribe . Triage notifications on the go with GitHub Mobile for iOS or Android .
nordi6000 commented 3 years ago

Hi @prasannavl okay, now I have my balance back. I think the spv_rescan 0 is working by me too. Thanks @m1at1

image

m1at1 commented 3 years ago

Maybe a refresh button &loading bar for the spvwallet could be included in a future update?

On Fri, 17 Sept 2021 at 15:33, Marco @.***> wrote:

Hi @prasannavl https://github.com/prasannavl okay, now I have my balance back. I think the spv_rescan 0 is working by me too. Thanks @m1at1 https://github.com/m1at1

[image: image] https://user-images.githubusercontent.com/49670309/133800600-565fa653-1411-49e4-8098-6c2d4f93a810.png

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/DeFiCh/app/issues/1043#issuecomment-921846582, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVUTV7MYWMJT4D7F3R5ULH3UCNGU3ANCNFSM5D2FXDPA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

prasannavl commented 3 years ago

Glad to hear the spv resync fixed it.

Thank you for both the feedback and early adoption while the feature is in beta! The team is actively monitoring the user experiences and exploring how integrate these in the next interations.

angelocastiglione commented 3 years ago

Yes is working also for me, I have reinstalled OS + Defi Wallet and import my wallet with a backup .dat

My balance DFI is ok but see BTC at zero :-(

For first i have type spv_getalladdresses and see that on the list my BTC address

Then use spv_rescan 0 and after few minute my balance BTC is displayed correclty.

Thanks for big support.