Hosting configuration
-
I just downloaded the latest version of everything :-)
So basically there exist no GUI for 0.6.0 ?
Thorvald
-
Nope, you'll have to do without for now
-
Is the a description of how to become a host just using the command line tools ?
Thorvald
-
Not yet, but to get started you should open a terminal window and run
./siac host -hThat will give you an explanation on all the options that are available from the commandline. The siac client is very well documented, whenever you need some explanation about a command just ass
-hto the end and you'll get a nice little description.In order to set up a host from the commandline you first need to add a storage location with
./siac host folder add [directory] [size]
The size can be specified in any format: MB, GB, TB, or just bytes.Then you should announce the host with
./siac host announce
This will make your IP address public to the sia nodes and they will be able to store data on your PC.If you want to edit some settings like storage cost and bandwidth you can get help from
./siac host confg -hHope that helps!
Fornax.
-
I just noticed you're using windows 10.. I'm not familiar with the windows commandline, but I think you should remove all the
./parts and add.exeto siac everywhere.You could also install Ubuntu for Windows 10, which will make all commands identical. To use this you will also have to download the 64 bit sia for linux release.
-
Running on windows is not that different
siac host -helpso the command is
siac host folder add [path] [size] [flags]normally I would expect [...] to be an optional parameter but
siac host folder add 400GBresults inUsage:
siac host folder add [path] [size] [flags]Global Flags:
-a, --addr string which host/port to communicate with (i.e. the host/port siad is listening on) (default "localhost:9980")so the command must be
siac host folder add SIAFolder 400GBbut now I get the error
Could not add folder: symlink SIAFolder host\storagemanager\3388f09c: A required privilege is not held by the client.but just for testing I continued with
siac host announceand got the message:
Host announcement submitted to network. The host has also been configured to accept contracts.
So that part seems ok.
It would be nice if it was possible to display the current config, but as far as I can see I can only update them
I found the API Documentation with the description of the different config elements, but not all of them and especially not the interesting ones (From a hosting point of view)
siac host config -h
Modify host settings.
Available settings:
...
minimumcontractprice currency
minimumdownloadbandwidthprice currency/TB
minimumstorageprice currency/TB/month
minimumuploadbandwidthprice currency/TB
...
-
oh, I forgot that adding a host folder on windows requires admin privileges, do you'll have to run siad as admin.
Also note that the host directory needs to exist before you link it, sia will not create it for you
-
I did run
siacas admin, but you are right it issiadthat needed the permissions. I did not think about that as it was still running from yesterday :-)One interesting thing is that though the Sia-UI is an old version it is still needed to unlock the wallet.
But now up and running - just waiting for all the customers
-
The wallet API didn't change (much), so that should still work with the UI indeed. But the host and renter API changed so much that the UI can't do anything with it anymore.