Skip to content
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

allow storage miners to manage a blocklist of piece CIDs #2068

Closed
wants to merge 5 commits into from
Closed

allow storage miners to manage a blocklist of piece CIDs #2068

wants to merge 5 commits into from

Conversation

laser
Copy link
Contributor

@laser laser commented Jun 18, 2020

Why does this PR exist?

Addresses the storage provider side of this request from @whyrusleeping.

What's in this PR?

This PR adds three new commands lotus-storage-miner deals get-blocklist (writes the piece CID blacklist to stdout, one per line, using the specified encoding), lotus-storage-miner deals set-blocklist (replaces the existing storage miner piece CID-blacklist with the contents of the provided file or the CIDs read from stdin), and lotus-storage-miner deals reset-blocklist, which wipes the storage miner's blacklist.

@laser laser changed the base branch from master to next June 18, 2020 21:32
@laser laser requested review from arajasek and magik6k June 18, 2020 21:32
@laser laser changed the title allow storage miners to manage a blacklist of piece CIDs allow storage miners to manage a blocklist of piece CIDs Jun 18, 2020
@laser laser closed this Jun 18, 2020
@laser laser deleted the feat/1920-blacklist-cids branch June 18, 2020 23:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant