This repository has been archived by the owner. It is now read-only.

Coins not showing in wallet #581

Open
PhABC opened this Issue May 7, 2017 · 76 comments

Comments

Projects
None yet
@PhABC

PhABC commented May 7, 2017

Problem

I purchased my first siacoins via Shapeshift.io and I transferred them to the first address generated with my seed, but I don't see them in my wallet.

Information

  1. My wallets are :
    wallet addresses

3221da3292ef7e7a395b8f4ae1cf334ded99ac142bbea49679c19c5c3e64f1c4b48312411bb4
5a56b777f8ccf730b62ad959292f178b90dd2b19df1c76f7487c658368f02332853c0523ff9f
ef62e8fcf59241f8f7a0c508932f685745c337702532e69528aa4b863642358d531b085306ac

  1. The coins were sent at my third address.

  2. The blockchain is synced : consensus

Synced: Yes
Block: 00000000000000b22c0b85c2706da2ef28c93a828b493c17889d755489e7d2cd
Height: 103580
...

  1. Wallet balance is zero: wallet balance

Wallet status:
Encrypted, Unlocked
Confirmed Balance: 0 H
Unconfirmed Delta: +0 H
Exact: 0 H
Siafunds: 0 SF
Siafund Claims: 0 H

  1. I am using Windows 10 with sia versions : version

Sia Client v1.2.1
Sia Daemon v1.2.1

  1. I tried restarting Sia, but no luck. Note that everytime I restart Sia-UI, it says Synchronizing 99.8% and then gets synced after about a minute. Everytime. This might be related, but seems also to be a glitch. I restart faster than a new block can be found.

It also seems like I am not the only user running into this problem.

famadorian 8 days ago
I transferred siacoins from poloniex like a week ago and it has not yet appeared in my mike wallet. It says it's synchronized and it's all green clean machine.

ameri-size 10 months ago
I have loaded a wallet from a seed key to my current machine. The address has loaded and is listed when I enter siac wallet addresses. However, when I enter siac wallet balance it still shows a 0 balance. On the Sia Explorer it shows the proper balance, so I'm not worried about them missing. I'm just wondering if there is something else I should be doing to display the balance. As of right now, the block height shows synced and the current height is 55711.

@lle-bout

This comment has been minimized.

Show comment
Hide comment
@lle-bout

lle-bout May 7, 2017

Hi,

Please backup your seed, and re-install Sia, then load your seed in this new install, then restart Sia.
You should now be able to see your balance.
To speed up syncing in the new install, you can also backup the consensus.db file, in the consensus folder at the root folder of the install.
You can also backup the transactionpool.db in the transactionpool folder to speed up consensus loading process in the new install.

If it still does not work and you really received funds, it confirms that it is indeed a bug.
You can check this with http://explore.sia.tech

Regards

lle-bout commented May 7, 2017

Hi,

Please backup your seed, and re-install Sia, then load your seed in this new install, then restart Sia.
You should now be able to see your balance.
To speed up syncing in the new install, you can also backup the consensus.db file, in the consensus folder at the root folder of the install.
You can also backup the transactionpool.db in the transactionpool folder to speed up consensus loading process in the new install.

If it still does not work and you really received funds, it confirms that it is indeed a bug.
You can check this with http://explore.sia.tech

Regards

@PhABC

This comment has been minimized.

Show comment
Hide comment
@PhABC

PhABC May 7, 2017

Will re-install now, but as mentioned in 2. I did receive the funds according to the blockchain explorer.

PhABC commented May 7, 2017

Will re-install now, but as mentioned in 2. I did receive the funds according to the blockchain explorer.

@lle-bout

This comment has been minimized.

Show comment
Hide comment
@lle-bout

lle-bout May 7, 2017

Did you load your current wallet from a seed?
Please describe the steps involved in setting up your bogus install.

lle-bout commented May 7, 2017

Did you load your current wallet from a seed?
Please describe the steps involved in setting up your bogus install.

@PhABC

This comment has been minimized.

Show comment
Hide comment
@PhABC

PhABC May 7, 2017

Steps taken for reinstall

  1. Delete Sia-UI folder in ~/Appdata/Roaming/ folder (with consensus.db and transactionpool.db backed up)
  2. Re-Download https://github.com/NebulousLabs/Sia-UI/releases/download/v1.2.1/Sia-UI-v1.2.1-win32-x64.zip
  3. Run Sia-UI.exe
  4. Shutdown Sia
  5. Copy backed-up consensus.db and transactionpool.db in respective folders
  6. Run Sia-UI.exe again (took a while to launch this time.)
  7. Load seed, copy seed and password, unlock wallet.
  8. Restart Sia after unlocked.
  9. Wait for syncing (always at 99.8% synced when opening).
  10. Unlock wallet.
  11. wallet balance

Wallet status:
Encrypted, Unlocked
Confirmed Balance: 0 H
Unconfirmed Delta: +0 H
Exact: 0 H
Siafunds: 0 SF
Siafund Claims: 0 H

Hence seems to be unresolved by the proposed method above.

PhABC commented May 7, 2017

Steps taken for reinstall

  1. Delete Sia-UI folder in ~/Appdata/Roaming/ folder (with consensus.db and transactionpool.db backed up)
  2. Re-Download https://github.com/NebulousLabs/Sia-UI/releases/download/v1.2.1/Sia-UI-v1.2.1-win32-x64.zip
  3. Run Sia-UI.exe
  4. Shutdown Sia
  5. Copy backed-up consensus.db and transactionpool.db in respective folders
  6. Run Sia-UI.exe again (took a while to launch this time.)
  7. Load seed, copy seed and password, unlock wallet.
  8. Restart Sia after unlocked.
  9. Wait for syncing (always at 99.8% synced when opening).
  10. Unlock wallet.
  11. wallet balance

Wallet status:
Encrypted, Unlocked
Confirmed Balance: 0 H
Unconfirmed Delta: +0 H
Exact: 0 H
Siafunds: 0 SF
Siafund Claims: 0 H

Hence seems to be unresolved by the proposed method above.

@lukechampine

This comment has been minimized.

Show comment
Hide comment
@lukechampine

lukechampine May 7, 2017

Member

Thanks for the detailed issue. Can you check your wallet.log for errors? You can view the log by pressing Ctrl+Shift+L and viewing the wallet tab.

Member

lukechampine commented May 7, 2017

Thanks for the detailed issue. Can you check your wallet.log for errors? You can view the log by pressing Ctrl+Shift+L and viewing the wallet tab.

@PhABC

This comment has been minimized.

Show comment
Hide comment
@PhABC

PhABC May 7, 2017

Doesn't seem to have any issue. Time doesn't look like mine however.

2017/05/07 07:56:04.248189 persist.go:92: STARTUP: Logging has started.
2017/05/07 08:06:32.685066 persist.go:92: STARTUP: Logging has started.
2017/05/07 15:44:56.620267 wallet.go:158: SHUTDOWN: Logging has terminated.
2017/05/07 15:45:38.478031 persist.go:92: STARTUP: Logging has started.
2017/05/07 15:48:16.354419 encrypt.go:426: INFO: Unlocking wallet.
2017/05/07 15:48:24.130308 encrypt.go:426: INFO: Unlocking wallet.
2017/05/07 19:33:04.811649 persist.go:92: STARTUP: Logging has started.
2017/05/07 19:35:12.198079 encrypt.go:426: INFO: Unlocking wallet.
2017/05/07 21:25:45.607048 encrypt.go:403: INFO: Locking wallet.
2017/05/07 21:25:45.607510 wallet.go:158: SHUTDOWN: Logging has terminated.
2017/05/07 21:26:11.332097 persist.go:92: STARTUP: Logging has started.
2017/05/07 21:28:24.700083 encrypt.go:426: INFO: Unlocking wallet.
2017/05/07 21:30:54.331547 encrypt.go:403: INFO: Locking wallet.
2017/05/07 21:30:54.331547 wallet.go:158: SHUTDOWN: Logging has terminated.

PhABC commented May 7, 2017

Doesn't seem to have any issue. Time doesn't look like mine however.

2017/05/07 07:56:04.248189 persist.go:92: STARTUP: Logging has started.
2017/05/07 08:06:32.685066 persist.go:92: STARTUP: Logging has started.
2017/05/07 15:44:56.620267 wallet.go:158: SHUTDOWN: Logging has terminated.
2017/05/07 15:45:38.478031 persist.go:92: STARTUP: Logging has started.
2017/05/07 15:48:16.354419 encrypt.go:426: INFO: Unlocking wallet.
2017/05/07 15:48:24.130308 encrypt.go:426: INFO: Unlocking wallet.
2017/05/07 19:33:04.811649 persist.go:92: STARTUP: Logging has started.
2017/05/07 19:35:12.198079 encrypt.go:426: INFO: Unlocking wallet.
2017/05/07 21:25:45.607048 encrypt.go:403: INFO: Locking wallet.
2017/05/07 21:25:45.607510 wallet.go:158: SHUTDOWN: Logging has terminated.
2017/05/07 21:26:11.332097 persist.go:92: STARTUP: Logging has started.
2017/05/07 21:28:24.700083 encrypt.go:426: INFO: Unlocking wallet.
2017/05/07 21:30:54.331547 encrypt.go:403: INFO: Locking wallet.
2017/05/07 21:30:54.331547 wallet.go:158: SHUTDOWN: Logging has terminated.

@lukechampine

This comment has been minimized.

Show comment
Hide comment
@lukechampine

lukechampine May 7, 2017

Member

The times are UTC. There should be an entry for when you loaded the seed that shows the highest index it located in the blockchain. Is this the full log? It will also be on disk in the Sia folder under wallet/wallet.log.

Member

lukechampine commented May 7, 2017

The times are UTC. There should be an entry for when you loaded the seed that shows the highest index it located in the blockchain. Is this the full log? It will also be on disk in the Sia folder under wallet/wallet.log.

@PhABC

This comment has been minimized.

Show comment
Hide comment
@PhABC

PhABC May 7, 2017

This is the actual wallet.log file.

PhABC commented May 7, 2017

This is the actual wallet.log file.

@lukechampine

This comment has been minimized.

Show comment
Hide comment
@lukechampine

lukechampine May 8, 2017

Member

Apologies for the inconvenience. Multiple other users are reporting the same issue, so I have created a tool called recover for manually determining and setting the seed progress. From the usage:

Run recover in your Sia directory with one of the following arguments:

    scan           Scan consensus/consensus.db for outputs generated from your seed
    set [index]	   Overwrite the seed progress value of your wallet
    find [addr]	   Scan consensus/consensus.db for uses of an address

First run 'scan' to determine the largest seed index present in the
blockchain. Your blockchain must be synced, and siad must be stopped.

Then, run 'set' using the index provided by 'scan'. This will overwrite the
existing value in your wallet. As a safeguard, 'set' will only run if the
wallet's primary seed matches the seed you provide.

Download link (Windows, OS X, Linux)

Source code

Again, I apologize for the trouble. I'll try to track down the root cause and have this fixed in the next release. In the meantime, the tool above should restore your correct balance.

Member

lukechampine commented May 8, 2017

Apologies for the inconvenience. Multiple other users are reporting the same issue, so I have created a tool called recover for manually determining and setting the seed progress. From the usage:

Run recover in your Sia directory with one of the following arguments:

    scan           Scan consensus/consensus.db for outputs generated from your seed
    set [index]	   Overwrite the seed progress value of your wallet
    find [addr]	   Scan consensus/consensus.db for uses of an address

First run 'scan' to determine the largest seed index present in the
blockchain. Your blockchain must be synced, and siad must be stopped.

Then, run 'set' using the index provided by 'scan'. This will overwrite the
existing value in your wallet. As a safeguard, 'set' will only run if the
wallet's primary seed matches the seed you provide.

Download link (Windows, OS X, Linux)

Source code

Again, I apologize for the trouble. I'll try to track down the root cause and have this fixed in the next release. In the meantime, the tool above should restore your correct balance.

@PhABC

This comment has been minimized.

Show comment
Hide comment
@PhABC

PhABC May 8, 2017

Thank you @lukechampine .

Two things ;

  1. Why does this require root access? Not that I don't trust you, but I don't know Go well and I don't want to leak something :).
  2. I get the following error:

$ recover scan
The type of the file system is NTFS.
Press ENTER to begin recovery of the file on drive C:
Cannot lock the drive. The volume is still in use.

Steps taken to reproduce error:

  1. Download recover-windows.exe
  2. Run recover-windows.exe
  3. Shutdown sia
  4. Go to /Users/AppData/Roaming/Sia-UI/sia folder in terminal
  5. Run recover scan
  6. Press Enter
  7. Error

PhABC commented May 8, 2017

Thank you @lukechampine .

Two things ;

  1. Why does this require root access? Not that I don't trust you, but I don't know Go well and I don't want to leak something :).
  2. I get the following error:

$ recover scan
The type of the file system is NTFS.
Press ENTER to begin recovery of the file on drive C:
Cannot lock the drive. The volume is still in use.

Steps taken to reproduce error:

  1. Download recover-windows.exe
  2. Run recover-windows.exe
  3. Shutdown sia
  4. Go to /Users/AppData/Roaming/Sia-UI/sia folder in terminal
  5. Run recover scan
  6. Press Enter
  7. Error
@lukechampine

This comment has been minimized.

Show comment
Hide comment
@lukechampine

lukechampine May 8, 2017

Member

Sorry, apparently recover was a bad choice for a name. It seems that recover is a built-in operation on Windows. You should instead run recover-windows.exe scan and recover-windows.exe set accordingly.

Member

lukechampine commented May 8, 2017

Sorry, apparently recover was a bad choice for a name. It seems that recover is a built-in operation on Windows. You should instead run recover-windows.exe scan and recover-windows.exe set accordingly.

@PhABC

This comment has been minimized.

Show comment
Hide comment
@PhABC

PhABC May 8, 2017

Error ;

$ recover-windows.exe scan
Seed:
The handle is invalid.

PhABC commented May 8, 2017

Error ;

$ recover-windows.exe scan
Seed:
The handle is invalid.

@lukechampine

This comment has been minimized.

Show comment
Hide comment
@lukechampine

lukechampine May 8, 2017

Member

Did you enter your seed and press enter before seeing that message?

Member

lukechampine commented May 8, 2017

Did you enter your seed and press enter before seeing that message?

@PhABC

This comment has been minimized.

Show comment
Hide comment
@PhABC

PhABC May 8, 2017

I was running this command with git bash on windows, which doesn't work. When running it via command line and at the seed prompt, I try to copy/type my seed but no success. When typing, I don't see any character. Tried to press enter both after pasting and type and I get the following message :

word not found in dictionary for given language

PhABC commented May 8, 2017

I was running this command with git bash on windows, which doesn't work. When running it via command line and at the seed prompt, I try to copy/type my seed but no success. When typing, I don't see any character. Tried to press enter both after pasting and type and I get the following message :

word not found in dictionary for given language

@lukechampine

This comment has been minimized.

Show comment
Hide comment
@lukechampine

lukechampine May 8, 2017

Member

It intentionally hides the seed for privacy reasons. Here is a version that does not hide the seed. The seed should look like word1 word2 word3 etc. when pasted in, i.e. no " or trailing spaces.

Member

lukechampine commented May 8, 2017

It intentionally hides the seed for privacy reasons. Here is a version that does not hide the seed. The seed should look like word1 word2 word3 etc. when pasted in, i.e. no " or trailing spaces.

@PhABC

This comment has been minimized.

Show comment
Hide comment
@PhABC

PhABC May 9, 2017

recover-windows.exe scan doesn't seem to find anything:

Scanning blockchain...
Scanned to height 103831 (largest index seen: 0)
Finished scanning. Largest index found: 0
Suggested seed progress: 1

PhABC commented May 9, 2017

recover-windows.exe scan doesn't seem to find anything:

Scanning blockchain...
Scanned to height 103831 (largest index seen: 0)
Finished scanning. Largest index found: 0
Suggested seed progress: 1

@lukechampine

This comment has been minimized.

Show comment
Hide comment
@lukechampine

lukechampine May 9, 2017

Member

I have high confidence in the ability of the scanner to find all outputs, and there's no chance you entered the seed incorrectly (since they have a checksum), so the address you sent the coins to must belong to a different seed. Here is another helper program that will confirm whether an address belongs to a given seed. (Source code)

Member

lukechampine commented May 9, 2017

I have high confidence in the ability of the scanner to find all outputs, and there's no chance you entered the seed incorrectly (since they have a checksum), so the address you sent the coins to must belong to a different seed. Here is another helper program that will confirm whether an address belongs to a given seed. (Source code)

@PhABC

This comment has been minimized.

Show comment
Hide comment
@PhABC

PhABC May 9, 2017

Does this address contains any Siacoin? Perhaps I am not interpreting correctly the explorer output.

ef62e8fcf59241f8f7a0c508932f685745c337702532e69528aa4b863642358d531b085306ac

This is one of the addresses coming out of the wallet addresses command.

For the new helper program, I ran the following code:

checkaddr.exe ef62e8fcf59241f8f7a0c508932f685745c337702532e69528aa4b863642358d531b085306ac
seed: ...

Generating keys...
ef62e8fcf59241f8f7a0c508932f685745c337702532e69528aa4b863642358d531b085306ac
Found address at seed index 0

PhABC commented May 9, 2017

Does this address contains any Siacoin? Perhaps I am not interpreting correctly the explorer output.

ef62e8fcf59241f8f7a0c508932f685745c337702532e69528aa4b863642358d531b085306ac

This is one of the addresses coming out of the wallet addresses command.

For the new helper program, I ran the following code:

checkaddr.exe ef62e8fcf59241f8f7a0c508932f685745c337702532e69528aa4b863642358d531b085306ac
seed: ...

Generating keys...
ef62e8fcf59241f8f7a0c508932f685745c337702532e69528aa4b863642358d531b085306ac
Found address at seed index 0
@DavidVorick

This comment has been minimized.

Show comment
Hide comment
@DavidVorick

DavidVorick May 9, 2017

Member

The explorer indicates that there are about 43k siacoins in that address. They have not been spent, so assuming that the wallet code is not buggy, any wallet with that address listed in wallet addresses should also show a balance of at least 43k siacoins.

Member

DavidVorick commented May 9, 2017

The explorer indicates that there are about 43k siacoins in that address. They have not been spent, so assuming that the wallet code is not buggy, any wallet with that address listed in wallet addresses should also show a balance of at least 43k siacoins.

@lukechampine

This comment has been minimized.

Show comment
Hide comment
@lukechampine

lukechampine May 9, 2017

Member

Ah. Perhaps index 0 was the only seed address used?
I seem to recall that this was also true for another user. Maybe the bug only occurs when index 0 is the only index used.

Try running recover-windows.exe set 1 and unlocking the wallet.

Member

lukechampine commented May 9, 2017

Ah. Perhaps index 0 was the only seed address used?
I seem to recall that this was also true for another user. Maybe the bug only occurs when index 0 is the only index used.

Try running recover-windows.exe set 1 and unlocking the wallet.

@PhABC

This comment has been minimized.

Show comment
Hide comment
@PhABC

PhABC May 10, 2017

Worked! Took a full day to unlock, but the transaction and coins are there. Also, I should not that while the money was transferring I clicked on "Receive token". So perhaps the address change before the tokens were sent was part of the problem? Just thought I would let you know and might be worth trying see if it is a problem.

PhABC commented May 10, 2017

Worked! Took a full day to unlock, but the transaction and coins are there. Also, I should not that while the money was transferring I clicked on "Receive token". So perhaps the address change before the tokens were sent was part of the problem? Just thought I would let you know and might be worth trying see if it is a problem.

@DavidVorick

This comment has been minimized.

Show comment
Hide comment
@DavidVorick

DavidVorick May 11, 2017

Member

The problem appears to be that the wallet is not correctly recognizing when it is doing a load/scan. We've got a pull request that should fix this.

Member

DavidVorick commented May 11, 2017

The problem appears to be that the wallet is not correctly recognizing when it is doing a load/scan. We've got a pull request that should fix this.

@trolololomg

This comment has been minimized.

Show comment
Hide comment
@trolololomg

trolololomg May 11, 2017

hi
SiaCoin will never be popular if we have to scan/recover/reinstall/redownload and so on.....SiaCoin is in its baby-stage...problems like this should be fixed ASAP !! I also get 0 ballance..quite frustrating.

trolololomg commented May 11, 2017

hi
SiaCoin will never be popular if we have to scan/recover/reinstall/redownload and so on.....SiaCoin is in its baby-stage...problems like this should be fixed ASAP !! I also get 0 ballance..quite frustrating.

@tostyp

This comment has been minimized.

Show comment
Hide comment
@tostyp

tostyp May 17, 2017

@lukechampine @DavidVorick Can you help me receive my coins , I made a transaction of 344,000 sia coins yesterday and I still have yet to receive them, thanks in advance :)!

I think i have to recover them please help.

tostyp commented May 17, 2017

@lukechampine @DavidVorick Can you help me receive my coins , I made a transaction of 344,000 sia coins yesterday and I still have yet to receive them, thanks in advance :)!

I think i have to recover them please help.

@BuvSethia

This comment has been minimized.

Show comment
Hide comment
@BuvSethia

BuvSethia May 18, 2017

@PhABC Quick question. When you say it took a full day for your wallet to unlock, do you mean that it was stuck on that screen that says "Unlocking your wallet" for a whole day after running recover-windows set 1? I'm in the same situation right now and I'm not sure if the wallet unlock process has just stopped/frozen or if it's doing something in the background still to unlock it,

BuvSethia commented May 18, 2017

@PhABC Quick question. When you say it took a full day for your wallet to unlock, do you mean that it was stuck on that screen that says "Unlocking your wallet" for a whole day after running recover-windows set 1? I'm in the same situation right now and I'm not sure if the wallet unlock process has just stopped/frozen or if it's doing something in the background still to unlock it,

@Zoodinger

This comment has been minimized.

Show comment
Hide comment
@Zoodinger

Zoodinger Jun 18, 2017

It still doesn't work. I'm using the correct seed and address.

Zoodinger commented Jun 18, 2017

It still doesn't work. I'm using the correct seed and address.

@lukechampine

This comment has been minimized.

Show comment
Hide comment
@lukechampine

lukechampine Jun 18, 2017

Member

I've updated my comment above with a new version of recover that can scan the blockchain for an address. It will print a running balance for the specified address. For example:

./recover-linux find 8c8c123091271b68b813d5decb182117148a1b043fbbffa4ba2304311bbf104cbc457eee837e
Scanning blockchain...
Scanned to height 68782 (running balance: 0 H)
Received 2.218 SC at height 70000
Scanned to height 110318 (running balance: 2.218 SC)
Finished scanning 110333 blocks. Final balance: 2.218 SC

I ran this command on my own blockchain (synced to height 110333) and did not find any transactions containing your address.

Member

lukechampine commented Jun 18, 2017

I've updated my comment above with a new version of recover that can scan the blockchain for an address. It will print a running balance for the specified address. For example:

./recover-linux find 8c8c123091271b68b813d5decb182117148a1b043fbbffa4ba2304311bbf104cbc457eee837e
Scanning blockchain...
Scanned to height 68782 (running balance: 0 H)
Received 2.218 SC at height 70000
Scanned to height 110318 (running balance: 2.218 SC)
Finished scanning 110333 blocks. Final balance: 2.218 SC

I ran this command on my own blockchain (synced to height 110333) and did not find any transactions containing your address.

@Zoodinger

This comment has been minimized.

Show comment
Hide comment
@Zoodinger

Zoodinger Jun 20, 2017

I followed the steps here:
https://mtlynch.io/windows-sia-mining/

I created a new wallet, then got an address from Sia-UI, then modified the bat file of marlin to have that address and started mining. It's not the first address that I got from it that I've been using, but that's not supposed to make any difference. You can see that the mining did happen from the link I posted before:
https://siamining.com/addresses/0bde01089769c3cebafe45a8a0a8627edd95f4a17a42a226cab0d044375138dfc804df0ecc3f

I guess it will only show up when I go over 1000 (first payout), is that the case?

Either way, I got confused because it doesn't show the mining on my dashboard, which it's supposed to do (according to the guide). Is this correct? I guess that's a different problem then.

Thank you for your time!

Zoodinger commented Jun 20, 2017

I followed the steps here:
https://mtlynch.io/windows-sia-mining/

I created a new wallet, then got an address from Sia-UI, then modified the bat file of marlin to have that address and started mining. It's not the first address that I got from it that I've been using, but that's not supposed to make any difference. You can see that the mining did happen from the link I posted before:
https://siamining.com/addresses/0bde01089769c3cebafe45a8a0a8627edd95f4a17a42a226cab0d044375138dfc804df0ecc3f

I guess it will only show up when I go over 1000 (first payout), is that the case?

Either way, I got confused because it doesn't show the mining on my dashboard, which it's supposed to do (according to the guide). Is this correct? I guess that's a different problem then.

Thank you for your time!

@finid

This comment has been minimized.

Show comment
Hide comment
@finid

finid Jun 20, 2017

@lukechampine, in Linux, what's the location of the consensus.db and transactionpool.db? Looked, but couldn't find them on an installation of Ubuntu 16.04.

By the way, Sia UI is installed, and it's completely synced.

Thanks,

finid commented Jun 20, 2017

@lukechampine, in Linux, what's the location of the consensus.db and transactionpool.db? Looked, but couldn't find them on an installation of Ubuntu 16.04.

By the way, Sia UI is installed, and it's completely synced.

Thanks,

@lukechampine

This comment has been minimized.

Show comment
Hide comment
@lukechampine

lukechampine Jun 20, 2017

Member

If you're using Sia-UI, the default location is ~/.config/Sia-UI/sia. That's the folder from which you should run the recovery tools.

Member

lukechampine commented Jun 20, 2017

If you're using Sia-UI, the default location is ~/.config/Sia-UI/sia. That's the folder from which you should run the recovery tools.

@finid

This comment has been minimized.

Show comment
Hide comment
@finid

finid commented Jun 20, 2017

Thank you, @lukechampine

@paizzj

This comment has been minimized.

Show comment
Hide comment
@paizzj

paizzj Jul 3, 2017

I haven't used Sia for anything other than hosting, and 1855 siacoins has gone.
my transaction ID is : 848949a84514d293672f8005ba1461cd1448f292885989d4317aed0076b3ea21

paizzj commented Jul 3, 2017

I haven't used Sia for anything other than hosting, and 1855 siacoins has gone.
my transaction ID is : 848949a84514d293672f8005ba1461cd1448f292885989d4317aed0076b3ea21

@codingoyster

This comment has been minimized.

Show comment
Hide comment
@codingoyster

codingoyster Jul 3, 2017

@lukechampine

I seem to have tried everything in this thread without success. My problem is a bit different, but symptoms are the same - that is, I'm unable to recover my wallet balance of ~74,000 (or at least not able to see it) from my seed. Here is my experience:

  1. My Windows installation crashed on me. I'm paranoid about my data, so had luckily backed up the wallet.db file along with my seed and password from my previous installation. On my fresh Windows install, I started Sia-UI to let it create the wallet folder. I then shut down Sia-UI and copied over my old wallet.db file. Reopened Sia-UI and was able to successfully login to the wallet using my seed/password. Unfortunately, even after 100% sync and 6-7 hour wait, my balance was zero.
  2. Here's the funky thing. I issued "wallet addresses" in Sia-UI and couldn't see the address that had the 74,000 balance in it. The wallet shows four other addresses, but not "b6b9bfb8e6c8c1cbf37cdaafbd28dec42cc04af8f89e411e5903dfa8bd5cdcfd5f1ca37aebd6".
  3. Here's the original transaction, detailing the transfer of coins. At that time, I was able to see all my coins in Sia-UI in my old Windows installation.
  4. I figured the old wallet.db was causing issues. So decided to start from scratch. Deleted my sia AppData folder. Launched Sia-UI and let it sync 100%. Shut down Sia-UI.
  5. Then began troubleshooting using the utilities you have supplied in this thread.
.\checkaddr.exe b6b9bfb8e6c8c1cbf37cdaafbd28dec42cc04af8f89e411e5903dfa8bd5cdcfd5f1ca37aebd6
    Seed:
    Generating keys... b6b9bfb8e6c8c1cbf37cdaafbd28dec42cc04af8f89e411e5903dfa8bd5cdcfd5f1ca37aebd6
    Found address at seed index 4
.\recover-windows.exe scan
    Seed:
    Generating keys... Finished in 6.78 seconds.
    Scanning blockchain...
    Scanned to height 112546 (largest index seen: 4)
    Finished scanning. Largest index found: 4
    Suggested seed progress: 5
.\recover-windows.exe set 1
    Rewrote seed progress from 5 -> 1
    The next time you unlock the wallet, it will need to do a full rescan.
  1. I then opened Sia-UI and let it sync (took about an hour). Still no coins!!!
  2. Shut down Sia-UI and issued the following command just to make sure.
.\recover-windows.exe find b6b9bfb8e6c8c1cbf37cdaafbd28dec42cc04af8f89e411e5903dfa8bd5cdcfd5f1ca37aebd6
    Scanning blockchain...
    Scanned to height 105324 (running balance: 0 H)
    Received 74.43 KS at height 105575
    Scanned to height 112346 (running balance: 74.43 KS)
    Finished scanning 112605 blocks. Final balance: 74.43 KS
  1. At this point, I don't to proceed without getting feedback from you. Can you please guide when you get a moment? I have my old wallet.db file, my wallet seed, and my wallet password for troubleshooting.

Thanks!

codingoyster commented Jul 3, 2017

@lukechampine

I seem to have tried everything in this thread without success. My problem is a bit different, but symptoms are the same - that is, I'm unable to recover my wallet balance of ~74,000 (or at least not able to see it) from my seed. Here is my experience:

  1. My Windows installation crashed on me. I'm paranoid about my data, so had luckily backed up the wallet.db file along with my seed and password from my previous installation. On my fresh Windows install, I started Sia-UI to let it create the wallet folder. I then shut down Sia-UI and copied over my old wallet.db file. Reopened Sia-UI and was able to successfully login to the wallet using my seed/password. Unfortunately, even after 100% sync and 6-7 hour wait, my balance was zero.
  2. Here's the funky thing. I issued "wallet addresses" in Sia-UI and couldn't see the address that had the 74,000 balance in it. The wallet shows four other addresses, but not "b6b9bfb8e6c8c1cbf37cdaafbd28dec42cc04af8f89e411e5903dfa8bd5cdcfd5f1ca37aebd6".
  3. Here's the original transaction, detailing the transfer of coins. At that time, I was able to see all my coins in Sia-UI in my old Windows installation.
  4. I figured the old wallet.db was causing issues. So decided to start from scratch. Deleted my sia AppData folder. Launched Sia-UI and let it sync 100%. Shut down Sia-UI.
  5. Then began troubleshooting using the utilities you have supplied in this thread.
.\checkaddr.exe b6b9bfb8e6c8c1cbf37cdaafbd28dec42cc04af8f89e411e5903dfa8bd5cdcfd5f1ca37aebd6
    Seed:
    Generating keys... b6b9bfb8e6c8c1cbf37cdaafbd28dec42cc04af8f89e411e5903dfa8bd5cdcfd5f1ca37aebd6
    Found address at seed index 4
.\recover-windows.exe scan
    Seed:
    Generating keys... Finished in 6.78 seconds.
    Scanning blockchain...
    Scanned to height 112546 (largest index seen: 4)
    Finished scanning. Largest index found: 4
    Suggested seed progress: 5
.\recover-windows.exe set 1
    Rewrote seed progress from 5 -> 1
    The next time you unlock the wallet, it will need to do a full rescan.
  1. I then opened Sia-UI and let it sync (took about an hour). Still no coins!!!
  2. Shut down Sia-UI and issued the following command just to make sure.
.\recover-windows.exe find b6b9bfb8e6c8c1cbf37cdaafbd28dec42cc04af8f89e411e5903dfa8bd5cdcfd5f1ca37aebd6
    Scanning blockchain...
    Scanned to height 105324 (running balance: 0 H)
    Received 74.43 KS at height 105575
    Scanned to height 112346 (running balance: 74.43 KS)
    Finished scanning 112605 blocks. Final balance: 74.43 KS
  1. At this point, I don't to proceed without getting feedback from you. Can you please guide when you get a moment? I have my old wallet.db file, my wallet seed, and my wallet password for troubleshooting.

Thanks!

@lukechampine

This comment has been minimized.

Show comment
Hide comment
@lukechampine

lukechampine Jul 3, 2017

Member

I think you can still recover your coins. You made a mistake here:

    Finished scanning. Largest index found: 4
    Suggested seed progress: 5
.\recover-windows.exe set 1
    Rewrote seed progress from 5 -> 1
    The next time you unlock the wallet, it will need to do a full rescan.

The recovery tool recommend that you set the progress to 5, but you set it to 1. Try running recover-windows.exe set 5 and unlocking the wallet again. Since the address was generated from your seed, and clearly still has coins in it, I have high confidence that your full balance will be restored after setting the progress to 5.

Member

lukechampine commented Jul 3, 2017

I think you can still recover your coins. You made a mistake here:

    Finished scanning. Largest index found: 4
    Suggested seed progress: 5
.\recover-windows.exe set 1
    Rewrote seed progress from 5 -> 1
    The next time you unlock the wallet, it will need to do a full rescan.

The recovery tool recommend that you set the progress to 5, but you set it to 1. Try running recover-windows.exe set 5 and unlocking the wallet again. Since the address was generated from your seed, and clearly still has coins in it, I have high confidence that your full balance will be restored after setting the progress to 5.

@codingoyster

This comment has been minimized.

Show comment
Hide comment
@codingoyster

codingoyster Jul 3, 2017

@lukechampine

Setting the index to 5 worked like a charm! Thanks for the help. I hope my detailed steps above will prove useful to others.

I also seriously hope that this gets addressed and fixed in the next Sia-UI release. This type of anxiety can't be dealt with easily :).

codingoyster commented Jul 3, 2017

@lukechampine

Setting the index to 5 worked like a charm! Thanks for the help. I hope my detailed steps above will prove useful to others.

I also seriously hope that this gets addressed and fixed in the next Sia-UI release. This type of anxiety can't be dealt with easily :).

@lukechampine

This comment has been minimized.

Show comment
Hide comment
@lukechampine

lukechampine Jul 3, 2017

Member

Indeed, it is already fixed in the master branch, and will be included in the next release. :)

Member

lukechampine commented Jul 3, 2017

Indeed, it is already fixed in the master branch, and will be included in the next release. :)

@MichaelSkami

This comment has been minimized.

Show comment
Hide comment
@MichaelSkami

MichaelSkami Jul 19, 2017

Hello. Today, i withdrew 1574.60000000 coins from the stock exchange. Coins did not come to my wallet for several hours. I decided to make a recovery, after which I did not see even the 2 coins that were before in my wallet. The others did not reach me either. What should I do?

WITHDRAWAL HISTORY

  | Complete | SC | 1574.60000000
  | 2017-07-19 11:04:32Address: b058232b9396e9dddaa6dfd205a42fdda08ca65f524fb7c3f8861e6c80319dc2f09858a2eaaeTxid: 2a5b1495d6375aa8c1ac85666da5a2e2574c9c3ccb4ffb240bbfa9bdd9d0ee9c

MichaelSkami commented Jul 19, 2017

Hello. Today, i withdrew 1574.60000000 coins from the stock exchange. Coins did not come to my wallet for several hours. I decided to make a recovery, after which I did not see even the 2 coins that were before in my wallet. The others did not reach me either. What should I do?

WITHDRAWAL HISTORY

  | Complete | SC | 1574.60000000
  | 2017-07-19 11:04:32Address: b058232b9396e9dddaa6dfd205a42fdda08ca65f524fb7c3f8861e6c80319dc2f09858a2eaaeTxid: 2a5b1495d6375aa8c1ac85666da5a2e2574c9c3ccb4ffb240bbfa9bdd9d0ee9c

@Fornax96

This comment has been minimized.

Show comment
Hide comment
@Fornax96

Fornax96 Jul 20, 2017

@MichaelSkami is your wallet synchronized? The transaction is confirmed and the coins are on your address: http://explore.sia.tech/hash.html?hash=b058232b9396e9dddaa6dfd205a42fdda08ca65f524fb7c3f8861e6c80319dc2f09858a2eaae

A recovery from seed requires Sia to rescan the whole blockchain for your addresses, which takes a while.

Fornax96 commented Jul 20, 2017

@MichaelSkami is your wallet synchronized? The transaction is confirmed and the coins are on your address: http://explore.sia.tech/hash.html?hash=b058232b9396e9dddaa6dfd205a42fdda08ca65f524fb7c3f8861e6c80319dc2f09858a2eaae

A recovery from seed requires Sia to rescan the whole blockchain for your addresses, which takes a while.

@MichaelSkami

This comment has been minimized.

Show comment
Hide comment
@MichaelSkami

MichaelSkami Jul 20, 2017

@Fornax96 Hello. Yes, I once again made a scan and saw coins in my wallet. Thanks for the answer. Why all transactions take such a long time? It's somewhat unnerving) In other blockchain it's much faster.

MichaelSkami commented Jul 20, 2017

@Fornax96 Hello. Yes, I once again made a scan and saw coins in my wallet. Thanks for the answer. Why all transactions take such a long time? It's somewhat unnerving) In other blockchain it's much faster.

@Fornax96

This comment has been minimized.

Show comment
Hide comment
@Fornax96

Fornax96 Jul 20, 2017

@MichaelSkami My transactions usually show up in the receiving wallet in a few seconds. But before a transaction is seen your wallet needs to be completely synchronized, and connected to 8 peers.

Fornax96 commented Jul 20, 2017

@MichaelSkami My transactions usually show up in the receiving wallet in a few seconds. But before a transaction is seen your wallet needs to be completely synchronized, and connected to 8 peers.

@Attilino

This comment has been minimized.

Show comment
Hide comment
@Attilino

Attilino Aug 2, 2017

Hi, I just installed SIA-UI and it has been synching and it is at 33.5%...I made the msitake (well I don't know if it was a mistake) to transfer a big amount of ($1,100.00) to one of my SIA addresses (are all those generated all mine? - I got scared here), but it is still not showing up, I guess because of the sync.

Is it supposed to appear in my wallet after the sync? The trnsaction hash cannot be found on the database, am I to worry abot this? It is 0xf4fac7739c9231b196f487f79db98ec5183e6e9e585f821d2ae6dd748989332f

Can anybody comment please? Thanks.

Neer mind, I got the wrong Transaction Hash - I can see it on the blockcahin

fea6b8e27a6a989eca07dde34a82fe93118cbb2b489793fb936d48bb9ef10e51a27f82ef52c8

After the sync, it should appear in my wallet, as well?

I has to restart my computer and when I reran the Sia.exe it says checking for release notes, might take some time....how many hours can it take like this? Am I missing something here?

Please advise

Attilino commented Aug 2, 2017

Hi, I just installed SIA-UI and it has been synching and it is at 33.5%...I made the msitake (well I don't know if it was a mistake) to transfer a big amount of ($1,100.00) to one of my SIA addresses (are all those generated all mine? - I got scared here), but it is still not showing up, I guess because of the sync.

Is it supposed to appear in my wallet after the sync? The trnsaction hash cannot be found on the database, am I to worry abot this? It is 0xf4fac7739c9231b196f487f79db98ec5183e6e9e585f821d2ae6dd748989332f

Can anybody comment please? Thanks.

Neer mind, I got the wrong Transaction Hash - I can see it on the blockcahin

fea6b8e27a6a989eca07dde34a82fe93118cbb2b489793fb936d48bb9ef10e51a27f82ef52c8

After the sync, it should appear in my wallet, as well?

I has to restart my computer and when I reran the Sia.exe it says checking for release notes, might take some time....how many hours can it take like this? Am I missing something here?

Please advise

@armandocuesta

This comment has been minimized.

Show comment
Hide comment
@armandocuesta

armandocuesta Oct 1, 2017

Let me tell you something...unless the SIA people fix this this coin is doomed. I have mined for a week and I think ill stop now that the wallet is giving me so many problems. I like the SIA concept but the wallet is a f disaster.

armandocuesta commented Oct 1, 2017

Let me tell you something...unless the SIA people fix this this coin is doomed. I have mined for a week and I think ill stop now that the wallet is giving me so many problems. I like the SIA concept but the wallet is a f disaster.

@arashghaemi

This comment has been minimized.

Show comment
Hide comment
@arashghaemi

arashghaemi Dec 6, 2017

Hey All! Running into the same issue. I just scanned this thread and will try some of what was suggested. With that being said, just wanted to post and give a heads up. I just started mining, the payout shows complete but it's only been like 2 days. I will check back on Saturday to see if they are there.

https://explore.sia.tech/hash.html?hash=4f1c3a6ecc8b1933296be8f8215496b71de820fef4e113bfdfe6510a386e6af1

arashghaemi commented Dec 6, 2017

Hey All! Running into the same issue. I just scanned this thread and will try some of what was suggested. With that being said, just wanted to post and give a heads up. I just started mining, the payout shows complete but it's only been like 2 days. I will check back on Saturday to see if they are there.

https://explore.sia.tech/hash.html?hash=4f1c3a6ecc8b1933296be8f8215496b71de820fef4e113bfdfe6510a386e6af1

@mattkgross

This comment has been minimized.

Show comment
Hide comment
@mattkgross

mattkgross Dec 16, 2017

I followed the steps with the tool outlined above on OSX.

Suggested seed was 1, and was accordingly set. Even after this and sync/rescan of the blockchain, there is no balance in the wallet. I imagine this would be quite a turn-off for new users attempting to hit the ground running and start using services off the bat.

The transaction is confirmed, FYI: https://explorer.siahub.info/hash/a5a924e5585f04500297cd138b736110ed1442fcf8c0c58d6851f15651377b0b

My desktop client, though indicating it is fully sync'd, indicates it is on block 135019, which is behind this transaction. Re-installs and the recovery tool are seemingly not resolving this sync problem.

Update: I went ahead and tried setup on my Windows machine, as well (on same network as OSX). That machine setup perfectly from the get-go, syncing to the latest block. This makes me think that this may perhaps be an OSX specific syncing issue. I'll perform another re-install in a day or two and see if anything changes.

mattkgross commented Dec 16, 2017

I followed the steps with the tool outlined above on OSX.

Suggested seed was 1, and was accordingly set. Even after this and sync/rescan of the blockchain, there is no balance in the wallet. I imagine this would be quite a turn-off for new users attempting to hit the ground running and start using services off the bat.

The transaction is confirmed, FYI: https://explorer.siahub.info/hash/a5a924e5585f04500297cd138b736110ed1442fcf8c0c58d6851f15651377b0b

My desktop client, though indicating it is fully sync'd, indicates it is on block 135019, which is behind this transaction. Re-installs and the recovery tool are seemingly not resolving this sync problem.

Update: I went ahead and tried setup on my Windows machine, as well (on same network as OSX). That machine setup perfectly from the get-go, syncing to the latest block. This makes me think that this may perhaps be an OSX specific syncing issue. I'll perform another re-install in a day or two and see if anything changes.

@okraslayer

This comment has been minimized.

Show comment
Hide comment
@okraslayer

okraslayer Dec 25, 2017

**** fixed***
after a complete reinstall and adding gateways manually via terminal the deposit finally showed.

Started having the this same issue. It's very frustrating to say the least.

Never had this problem with other wallets even ones that were also this new. Any way, what all do I need to back up to be able to reinstall this wallet and give it another go?

Also everytime I hit for receive coins I get a different address that pops up.

I have download the 1.3.1 update and still syncing issue ugh..

Not dissing this project... I wouldnt have bought into if I thought it was a bad idea... Yet when its difficult enough to buy in and then greeted with this sort of wallet it just comes off as very bush league.

okraslayer commented Dec 25, 2017

**** fixed***
after a complete reinstall and adding gateways manually via terminal the deposit finally showed.

Started having the this same issue. It's very frustrating to say the least.

Never had this problem with other wallets even ones that were also this new. Any way, what all do I need to back up to be able to reinstall this wallet and give it another go?

Also everytime I hit for receive coins I get a different address that pops up.

I have download the 1.3.1 update and still syncing issue ugh..

Not dissing this project... I wouldnt have bought into if I thought it was a bad idea... Yet when its difficult enough to buy in and then greeted with this sort of wallet it just comes off as very bush league.

@mattkgross

This comment has been minimized.

Show comment
Hide comment
@mattkgross

mattkgross Dec 25, 2017

What solved it for me was gleaning the following from this thread:

Make sure to remove consensus.db and transactionpool.db if doing a reinstall - they are not removed automatically and you'll still be out of sync if you reinstall.

To your point, the most pervasive issue is the peer list. Very frequently, I will be informed of no active peers and have to comb back through the gateway list and manually find and add 2-3 that work (https://siastats.info/nodes.html).

As an FYI, Sia provides you with multiple wallets. But your seed will provide you access to them all. You can also run 'wallet addresses' in the terminal to see all of your public keys. These are the 'random' keys that you're seeing every time you hit Receive. As long as you have your seed, you have your coin.

It appears both the db clean and peer gateway resolution are reproducible and arguably fixable with some simple automation. That being said, that's part of the beauty of open source - anyone can contribute this fix, even you and I. I may take a look in the next few weeks. Hopefully this information at least helps others get on the right path.

mattkgross commented Dec 25, 2017

What solved it for me was gleaning the following from this thread:

Make sure to remove consensus.db and transactionpool.db if doing a reinstall - they are not removed automatically and you'll still be out of sync if you reinstall.

To your point, the most pervasive issue is the peer list. Very frequently, I will be informed of no active peers and have to comb back through the gateway list and manually find and add 2-3 that work (https://siastats.info/nodes.html).

As an FYI, Sia provides you with multiple wallets. But your seed will provide you access to them all. You can also run 'wallet addresses' in the terminal to see all of your public keys. These are the 'random' keys that you're seeing every time you hit Receive. As long as you have your seed, you have your coin.

It appears both the db clean and peer gateway resolution are reproducible and arguably fixable with some simple automation. That being said, that's part of the beauty of open source - anyone can contribute this fix, even you and I. I may take a look in the next few weeks. Hopefully this information at least helps others get on the right path.

@Bitcoiner4444

This comment has been minimized.

Show comment
Hide comment
@Bitcoiner4444

Bitcoiner4444 Jan 28, 2018

HI,

I have a problem, there was a confirmed payout but I don´t get the SIACOIN to my wallet. All other payout´s went good.

This is the payout:

2018-01-26 00:10 UTC 2,149.49 SC 2aa24fd60c86a86e0cb58ecb2e8826f3992293614e7727bc00989143a2476b19 confirmed

What should I do now?

Thanks for your help.

Bitcoiner4444 commented Jan 28, 2018

HI,

I have a problem, there was a confirmed payout but I don´t get the SIACOIN to my wallet. All other payout´s went good.

This is the payout:

2018-01-26 00:10 UTC 2,149.49 SC 2aa24fd60c86a86e0cb58ecb2e8826f3992293614e7727bc00989143a2476b19 confirmed

What should I do now?

Thanks for your help.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.