Luke Champine

Results 184 comments of Luke Champine

The process is: 1. Read *n* bytes from the original file. The maximum is `SectorSize * index.MinPieces` bytes. This is one chunk. 2. Run `erasureCode(chunk)` to get a `[][]byte`. Each...

>a host may not have each of the chunk i I think this is the source of the confusion, though I'm not quite sure what you mean. Host *j* will...

Ah, I understand now. You are right, in the current codebase, hosts are assigned shards at random. When I wrote the first iteration of the renter, host *j* always stored...

@chrsch good questions. If the recipient doesn't have contracts with at least `MinShards` hosts storing the file, they won't be able to download it. To rectify this, either the recipient...

This is a duplicate of https://github.com/NebulousLabs/Sia/issues/2406. See this StackOverflow answer: https://stackoverflow.com/a/923369

Update: I've confirmed that this patch prevents the segfault: ```diff diff --git a/tx.go b/tx.go index 6700308..a1527dc 100644 --- a/tx.go +++ b/tx.go @@ -161,7 +161,7 @@ func (tx *Tx) Commit() error...

I think this is something we ought to do even if we don't end up migrating from GitHub. Personally, I don't expect much will change as a result of the...

this is a result of moving to gitlab. You will need to re-clone using `gitlab.com/NebulousLabs/Sia`.

For contributors interested in tackling this, the implementation should be pretty straightforward. The fee is calculated [here](https://github.com/NebulousLabs/Sia/blob/master/modules/wallet/money.go#L95). Instead of calling `txnBuilder.FundSiacoins(amount.Add(tpoolFee))`, you can just call `txnBuilder.FundSiacoins(amount)`. (Of course, you'll need...

@ach1000 this doesn't address the other half of the issue. It should still be possible to have the wallet choose the fee for you, since that's a lot more convenient....