NebulousLabs / Sia-Ant-Farm

A tool for setting up small testnets for Sia.
MIT License
24 stars 16 forks source link

Renter refactor #36

Closed DavidVorick closed 8 years ago

DavidVorick commented 8 years ago

as the commit message suggests, this is incomplete.

I removed the part about the downloading entirely. I think the EOF errors were caused by using io.CopyN with rand.Reader as the input, The logging in the renter job now has more context, the randfile uses code that should run much faster (and also grabs the Merkle root), but I've been unable to test it so far b/c I think my hosts were having trouble forwarding their ports.

avahowell commented 8 years ago

Latest commits complete this PR, fixing the issue with uploading and enabling permanentDownloader and adding the download method.

avahowell commented 8 years ago

Download progress should also be reported, do not merge until that is complete

avahowell commented 8 years ago

Download progress is now logged, should be ready to merge