Luke Champine
Luke Champine
This bug has reared its head again: ```go func main() { type myint int xs := []myint{1, 2, 3}.reverse() } ``` Or worse: ```go func main() { type foo int...
>"The counter ensures that the result is unique to this thread." then use the threadID, not a massive counter... Go doesn't have the equivalent of thread IDs for goroutines. (Well,...
Hmm. I believe this bug occurs when the host is asked to contribute 0 SC to the contract. Instead of doing nothing, the host adds an output worth 0 SC,...
You could try running this patch (apply to both `FormContract` and `RenewContract`): ```diff diff --git a/renter/proto/formcontract.go b/renter/proto/formcontract.go index 0cbe034..9c53ada 100644 --- a/renter/proto/formcontract.go +++ b/renter/proto/formcontract.go @@ -78,7 +78,8 @@ func (s...
ok, it's as I suspected -- the host's `MaxCollateral` is set to 0. I will submit a patch to fix the host bug, but until people upgrade, renewing the contract...
I guess there's a broader question here of how much metadata should be attached to blobs. `MetaFile` has `Mode`, for example, but blobs aren't necessarily files, so should they have...
This was intentional. It prevents the HostSet from being used after Close is called. Is this causing problems?
I wrote it this way to catch developer errors, and it did: calling `acquire` after calling `Close`*should* be a developer error. I agree that deadlocking isn't ideal, but it was...
To make this *slightly* more concrete, I was thinking along the lines of: ```go type PseudoS3 struct { ... } func (PseudoS3) CreateBucket(name string) (*PseudoBucket, error) func (PseudoS3) Bucket(name string)...
Implemented in https://github.com/lukechampine/us/commit/91437d0f23a285cc735a337a4b2fa48f9748767c, let me know if more work is needed here.