BirthdayResearch / defichain-app

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

BTC Balance Zero #1140

Open putorti opened 2 years ago

putorti commented 2 years ago

Actual behavior:

Balance in the wallet provided address should reflect the balance of the address on the blockchain bc1qgxs6twn77la83p03hknlre42xlefq8n0swad2x

Expected behavior:

Balance is zero

How to reproduce it (as minimally and precisely as possible):

Open the DeFi wallet app 2.9.1 on OS X, tap balances.

What are your environment parameters?

Anything else we need to know?

defichain-bot commented 2 years ago

@putorti: 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/main/.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 2 years ago

Hi @putorti , can you try this:



1. Restart app

  1. In CLI type spv_rescan 672683
  2. Type spv_syncstatus to make sure that scanning is progresses from block 672,683 and above. All Bitcoin TXs in the wallet will be in a Bitcoin block above that height.
putorti commented 2 years ago
image

No change, hope this helps.

Bushstar commented 2 years ago

@putorti please try again and wait until the current is equal to the estimated value in the spv_syncstatus result. It will not be able to find your TX until it hits block 719,859.

If that does not work then please stop the client, go to the DeFiChain data directory and delete the spv folder and also delete the spv.log file. Then start the client and wait for the current value in spv_syncstatus to match the estimated value.

If this also fails then please share here the spv.log file which will be recreated on the new sync.