Losing coins by 2 wallets in the same network. ????...... :(
-
Hello i got at home a host running now i got a lot of contracts on that pc nr 1 now i had another pc and i have there a second wallet for backup for my coins. Now i started up that wallet on my second pc and it has taken over my host from my other pc nr 1. Now on my pc nr 1 where i normaly host i am losing lots of coins suddenly. :( :( :(
Is it possible to get them back???......
-
Coins are not lost, Sia is just not able to cope with running the same wallet on two hosts yet.
Stop Sia on both, and only start it on your primary system again, I think that should fix your problem. Else use Google to find help, others have been through this before.
-
Ik have turned of my second pc with the back up wallet. Restarted my normaly host pc and still losing coins.
I think that my second pc have Demolished all my contracts and now i am losing colatteral. :(My normaly host pc says also now : host unreachable
-
I know that's been discussed by the devs somewhere, but can't remember where that was. Try searching the forum, Reddit and Slack for this problem. You may have to rescan the blockchain for your transactions on the computer that you're using now.
-
You rnot "loosing" coins... understanding Sia is important. Collateral is required. When you have space used.. the collateral is used from your host to fund the space used. You forfeit the coins if and only you do not uphold your side of the contract.
If you do uphold it, then the coins are returned after the contract has ended. This is what the deducts are for. Usually if collateral limit is aligned with price these are not large deducts... as contracts grow the "locked collateral" will grow... nothing unusual. However I agree with earlier comment. Do not run same wallet on 2 machines. Big mistake.
-
I have run 2 different wallets on 2 different machines at home in the same network ( ip ).
With sia 1.2.1 i got no problems to start up the wallets at the same time with the new version 1.2.2 it went a problem.1pc is accepting contracts the other not.
Now with the new version my second pc has taken over the connection to the sia network. The second pc has no contracts.
And my second pc has synced that wallet data with the network and haved destroyed the contracts. I think........ The same as you quit hosting.
Now if i start my sia on my pc that must be the host to rent space with the contracts accepting. It connects to the network with his 1050 contracts and after a while 10, 15 minutes my host goes offline.UPDATE: I think i fixt this that my host was going offine ( its running fine again )
1: i have created a static ip on my host pc and router en open the ports 9981 and 9982 ( Thanks reinisp )
2: I deleted all firewall settings for sia who where there for sia and started sia up again windows firewall will ask you to give again sia permission.
-
@daan1980
Do you use UPnP and let Sia manage ports on its own?
Luckily I had the feeling it could go wrong, disabled UPnP in my router and set port forwarding manually to my real hosting node. My other nodes are not hosting so there is no need to forward ports.If you want to host from multiple nodes, you should configure the usual port forwarding (9981 and 9982) to your main node internal ip.
For all other nodes you should configure port forwarding with different ports, for example,
forward port 9992 to <node2 internal ip> port 9982,
forward port 9993 to <node3 internal ip> port 9982
...
Then announce the node2 with <your ip>:9992 and node2 with <your ip>:9993I think, it is sufficient that only one host (your main node) is reachable on port 9981.
Important note:
Don't operate more than one wallet created from one seed (in parallel)!
Every working node should have own wallet (seed), especially if hosting or renting. You risk messing up your contracts if you create a "backup" or duplicate wallet from the seed.
-
First i let manage sia everything on its own. Now i have forward the ports in my router to the node.
I just want to host from 1 node. The other node i used for backup my coins. That machine is most of the time offline.
-
@daan1980
Your coins are safer if they are on a "nonhosting" wallet.
I operate with 2 wallets (seeds)- one for storing coins, other for hosting.
Just leave enough coins for collateral on the hosting node/wallet and transfer the excess coins to the new.
-
@reinisp Is there a non hosting wallet out there for sia? That would great for me.
I also works with 2 wallets 1 for storing 1 for hosting. But i have a feeling that there a conflict as occured.
Because the wallets hanging on the same ip.
Do you now if it is posible to see how many collateral already is taken for the hosting or what you have lost?
In my wallet i see a lot of withdraws but i am not sure if this is locked collateral or lost collateral.
-
@daan1980
with "nonhosting" I meant just not hosting or renting. There is no special wallet.
Just to clarify, you created 2 independent wallets (both wit init and not init-seed)? Or used the same seed for the second wallet?
As I wrote, I have 2 independent wallets, on one external IP. The coins holding wallet does not need to be visible from outside. The only thing it needs is a connection to outside for syncing the consensus.
And I still think, it helps to tell the "nonhosting" node that there is a nearby node for syncing by running
siac gateway connect <internal (local network) ip from my main (hosting) node>:9981regarding collateral, run siac host -v on the hosting node and you'll see detailed status- collateral locked, collateral risked and collateral lost.
For example I see:
Locked Collateral: 10.4 KS
Risked Collateral: 294.9 SC
Lost Collateral: 0 H
-
This post is deleted!
-
To clarify i have 2 independent wallets running in a local home network on 2 different pc,s / nodes on the same ip to the internet they have both there own seed and password.
With siac gateway connect i don,t know exactly how it work i will look at that.
I think you that you mean that it will sync the wallet faster from 1 pc to the other. :)Your answer if i have lost coins and how to check where great i didn,t lose any coins only locked. :) :) :)
Thank you.
I still got a little bad feeling with it to put the wallets online at the same time. Will it still be safe?... What wil happen in the new update?
Or is it possible to force sia only to connect the wallet and not to put the host online?
Maybe also handy?1 KS = 1000 SC
Do you know how many 1mS is into SC? Is it less then 1 SC?
-
@daan1980
It is safe to run more than one independent wallet on one external ip. You should just make sure your hosting node does not loose the ip forwarding in your router. I have set manually port forwarding to my hosting node. I even did not turn off UPnP, but as I see errors in the nonhosting nodes logfiles complaining about errors using UPnP, I know, the ports are forwarded to where they should.
The "wallet node" has only one function- syncing the blockchain to see the balance and transfer coins if needed. I don't care if it is reachable or not (it says it is, but i'm sure that is not true).
As a coin transfer between the two (wallet and hosting) nodes is really fast I assume everything is working as intended.