-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Contract Pruning #753
Contract Pruning #753
Conversation
…o pj/contract-pruning
…o pj/contract-pruning-metrics
testing on areq - will merge tomorrow morning if things did not explode |
@alexfreska this PR adds a new field to the When set to Eventually this can/should be tied in with prune metrics, and perhaps also expose |
Contract Pruning Metrics
…o pj/contract-pruning
…o pj/contract-pruning
…n/renterd into pj/contract-pruning
…o pj/contract-pruning
…aFoundation/renterd into pj/contract-pruning
This PR adds contract pruning to the contractor. I'm following it up with a metrics PR. I've been testing it quite extensively on a separate (integrity) node and haven't ran into any issues. I even discovered a nasty race in the upload manager wrt uploading sectors. I chose to extend the upload manager with persistence, to avoid having the caller worry about "finishing" the upload after persisting whatever needs persisting in the bus. It passed 1200 iterations of
TestSectorPruning
so should be good.