Luke Champine

Results 184 comments of Luke Champine

They are internally sorted by "weight" ([see here](https://github.com/NebulousLabs/Sia/blob/master/modules/renter/hostdb/hosttree/hosttree.go#L197)) which is not quite the same as the "score," which is computed [here](https://github.com/NebulousLabs/Sia/blob/master/modules/renter/hostdb/hostweight.go#L411). They should probably be re-sorted by score in siac.

hmm. Currently the code calls `Truncate` to try to allocate space on disk for the folder: https://github.com/NebulousLabs/Sia/blob/4253a220a53228e2f089c764f258ee6913b61df8/modules/host/contractmanager/storagefolderadd.go#L222-L235 On some filesystems, `Truncate` may not properly reserve the disk space, i.e. it...

Looks like there is a cross-platform package for determine free space: https://github.com/ricochet2200/go-disk-usage We don't like adding new dependencies if we can avoid it, so we'll have to decide whether this...

This sounds like a good project for a third-party dev, or a weekend project for a Sia dev. What sort of API do you have in mind? Would this be...

@rmcdaniel excellent. DM me on Discord (nemo -- need to Friend Request me first) if you need any pointers. Can you (and/or @mtlynch) elaborate on what the API for this...

I was thinking along similar lines. 1,000,000 addresses would be more than sufficient for most people and only occupies 32MB -- small enough for an in-memory `map`. So then it's...

I'm also planning to work on this over the next week.

Partly yes, but for we also need to use an offline wallet for the TSO.

@nielscastien The Wiki is correct too. The problem is that it's talking about something slightly different: the storage price. The storage price, like the upload and download price, is allowed...