Wallet on multiple hosts
-
Hi,
I did set-up a Sia client on Macos (GUI client) without issue, and wanted to share the account on a linux server I own in order to set-up some storage (this server is on 10Gb internet link with few TB available).
I did'nt encountered any problem by using the client (I've mined some KS to credit my account), nor buying some storage for tests, and I did setup the storage server without any issue.
BUT... here is the purpose of my message : when I ask the MacOS Gui client about my balance, I get :
Wallet status:
Encrypted, Unlocked
Confirmed Balance: 19.03 KS
Unconfirmed Delta: +0 H
Exact: 19033076716952279199294030884 H
Siafunds: 0 SF
Siafund Claims: 0 HWhen I ask the linux cli client running on my server :
Wallet status:
Encrypted, Unlocked
Confirmed Balance: 8.671 KS
Unconfirmed Delta: +0 H
Exact: 8671000000000000000000000000 H
Siafunds: 0 SF
Siafund Claims: 0 HHow is it possible to have a different balance between two clients running the same account ???
The MacOS GUI client has been used to buy some storage, and the linux client acts as storage server (240GB), but from my point of view, the balance should be the same on both hosts.
Any clue ?
kind regards,
Sand.
-
Solved. Thanks to Fornax96 on the chat.
The balance is calculated from the sum of all the addresses (an address is generated with "siac wallet address"). The number of adresses is stored on the wallet/wallet.json as "PrimarySeedProgress".
In order to have the correct balance, this value must be the same on both hosts. Restart or lock/unlock the wallet is needed to re-read the blockchain and recalculate the balance.
Sand.
-
@Sand can I manually increase the PrimarySeedProgress value? how would I know what to change it to? My issue is that I had a wallet.json backup, then did some storage sharing/operations, and then my PC crashed. When I brought back the backup, it shows a different balance, similar to what you are referencing in your post.