Using uploaded files on a different computer



  • Hello all.

    Just installed sia in conjunction with netxcloud. Nice! But as you guess here is my first question. Can i access the uploaded data from my laptop too if i have installed the sia client there? How can i do that?

    Another question regarding renter. Can someone explain that to me in english? Well better in german but i suppose thats asked too much. :-) I've read all the documentation but still struggle to understand. What does it exactly mean when i enter: "siac renter setallowance 4KS 6w"? How much storage can i use? Is this 4KS the money used to pay for the maximum amount this money can buy for 6 weeks? Lets say that would be 500GB. And lets say i only use 20GB. How many SiaCoins are gone after 6 weeks?

    thanks and cheers
    h.


  • admins

    Just installed sia in conjunction with netxcloud. Nice! But as you guess here is my first question. Can i access the uploaded data from my laptop too if i have installed the sia client there? How can i do that?

    Right now, you can only access data from the instance of 'siad' that uploaded the data. It's on our short term roadmap to fix this. But, if you have NextCloud set up, you can connect your laptop to the NextCloud instance and download your files that way :)

    What does it exactly mean when i enter: "siac renter setallowance 4KS 6w"? How much storage can i use? Is this 4KS the money used to pay for the maximum amount this money can buy for 6 weeks? Lets say that would be 500GB. And lets say i only use 20GB. How many SiaCoins are gone after 6 weeks?

    When you create an allowance, you form a bunch of contracts that set a side money for hosts. This money is not spent until you upload, it is only set aside. If you do not spend the money (on uploads, downloads, storage, etc.), then at the end of 6 weeks the unspent funds will be returned to you.

    You will have to pay for the fees though. Fees are typically about 1200 SC + 10%. So, at 4KS your fees would be around 1600 SC. We recently reduced the transaction fees on the network, so you should see that drop to something closer to 250 SC + 10%, but it may take a few months while everyone upgrades and recalibrates.



  • Hello Taek.

    Thanks for your answer. Much appreciated. As for the nextcloud thingy. Yes i could (and actually do that) connect my phone and laptop to nextcloud. So getting the files is no problem. Although it is not possible at the moment to link files within the nextcloud sia directory to other people. But i guess that's in the works.

    edit: linking works in nextcloud. It's a setting in the sia app.

    Back to renter and allowance and set that and prices and so on. :-) I really have a hard time understanding this. But i have to. First: 1000SC is equal 1KS? I think so but i am not sure. If so why not KSC?

    If 4KS are 4000SC then 4KS are around 3€. Is this about right? So i spend around 1.5€ for the allowance i set on fees. Is this right too? My next question would be: What is the actual price for the storage? I have a lot of contracts like this:

    Contracts:
    Host                            Value     Data      End Height  ID
    100.xxx.xxx.xxx:9982              110.6 SC  29.36 MB  106964      47dcda1ad6caaa2035d278276331285ca19259bb0fb516609ecf40c0d61ee6b8
    82.xxx.xxx.xxx:9982                110.1 SC  71.30 MB  106964      81507565197d682e8f1b2934a20698f05bccd3a586beac9b6d53536c8a26fda7
    sundown.server.name:9982      93.96 SC  46.14 MB  106964      fc72fae565c7372b6b56749ca850877ad51c5591f6d1fe28bf66636abf76d800
    

    What do the numbers mean? For example the first line. 110.6SC for 29.36MB for the setallowance period? In my case 6w?

    Sorry to bother you that much but i guess this would help other users too if they find that thread.

    thanks and cheers
    h



  • @himbeere; I agree with you... we must get some understanding of the metrics and maths behind how contracts, allowances estimated revenue, "real" revenue work and how the pricing mechanism works...

    eg.: I've been active here now for a couple of months while I have seen the recomended price has go up, the available storage has gone up, the price of the coins has gone up. It is not my impression there has been a rising demand for the storage - I don't understand it.

    it is all very difficult... I've been tracing all documentation I could find but it is too programming-technical for me... I'm happy to facilitate any documentation, but one must understand it before trying to passit to some one else :-) ..

    Perhaps it would help to show by example how things works. At per now you cant bring any visibily to the contracts you own; what they mean, when they expire and how many GB they contain, and what potential revenue/collatteral at stake they represent - it is just a list of postings in the wallet, and a sum - no breakdown of the block chain info into an understandable overwiev - perhaps that was a potential business case for some one intelligent enough to crack this mystery :-)


  • admins

    @himbeere Hey, thanks for trying out Sia. It seems that NextCloud is working out well for you, and I'm really excited to hear that.

    1 KS = 1000 SC. We kept it to two letters for the currency unit, hopefully it is not confusing once you know. ~1.5€ in fees sounds about right. Currently, the fees are about 1200 SC + 10%. If you form larger contracts, the fee as a percentage will be a lot lower.

    Sorry for the unintuitive layout of the contract. We'll change it to make more sense. The column 'Value' is the amount of spendable money remaining in the contract. If you do not spend it, you will get it back when the contract expires. You will see this value decrease as you continue uploading.


  • admins

    @himbeere: if you run the command siac renter contracts view [id], you will get more useful information.

    Here is one of my contracts:

    [email protected]Debian-87-jessie-64-minimal:~/ssd$ ./siac renter contracts view
    5519e2542827078be36a8e18218d5dad4cc997fed2721d5b7227c4f642d6147e
    
    Contract 5519e2542827078be36a8e18218d5dad4cc997fed2721d5b7227c4f642d6147e
    Host: sia.m3ct0n.net:9982 (Public Key: {ed25519 [212 181 108 176 190 214 146 207
    107 172 11 39 55 126 56 94 188 253 226 249 177 10 201 7 170 15 105 252 100 169
    224 78]})
    
    Start Height: 100641
    End Height:   102077
    
    Total cost:        255.8 SC (Fees: 32.24 SC)
    Funds Allocated:   223.6 SC
    Upload Spending:   599.6 mS
    Storage Spending:  56.67 SC
    Download Spending: 0 H
    Remaining Funds:   166.3 SC
    
    File Size: 59.840 GB
    

    You can see above that I spent 255.8 SC total forming the contract. About 32 SC of that went to fees (contract fees, transaction fees, and siafund fees). So, a total of 223.6 SC were available to spend on storage, uploading, and downloading. I have spent very little on uploading and downloading, and about 57 SC on storage.

    That 57 SC is for ~2 weeks of storing ~60GB. (My renter is configured with a 2 week period). So this host is charging me about 1900 SC / TB / Mo. This is among my most expensive hosts, I have other hosts that are charging me only about 12 SC for a similar amount of data.

    So, there's another confusing aspect (believe me, we are working on simplifying the payment model) - renewals. When your contract is halfway complete, it'll renew. You'll pay for another two week contract, and all new uploads will go into that contract. The data you already uploaded will also be moved over to that contract. But, since you have already paid for 1 out of those 2 weeks (in my case anyway), you're only charged for the extra week you are adding (the host tracks the overlap to make sure you don't cheat). This means that if I were to look at the contract again, I might see that I spent 30 SC on data for the same amount of storage, in a contract of the same duration.

    At the end of the day, the best way to understand your spending is to look at the output of ./siac renter

    Renter info:
        Storage Spending:  1.424 KS
        Upload Spending:   143.7 SC
        Download Spending: 17.18 SC
        Unspent Funds:     1.945 KS
        Total Allocated:   3.529 KS
    

    I've spent about 1.5 KS on storage, and I've got about 1.9 KS remaining in my contracts.

    Like I mentioned, we're working on simplifying the allowance structure.



  • Thanks Taek. I think i'm getting closer understanding the whole thing. :-)

    cheers
    h.


Log in to reply