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

mcclient manifest commands #158

Merged
merged 5 commits into from
Jan 13, 2017
Merged

mcclient manifest commands #158

merged 5 commits into from
Jan 13, 2017

Conversation

yusefnapora
Copy link
Contributor

@yusefnapora yusefnapora commented Jan 12, 2017

This adds some mcclient commands for working with manifests from mediachain/concat#116

  • mcclient manifest get [remotePeer] prints the array of existing manifests (optionally for the remote peer)
  • mcclient manifest add [filename] reads a signed manifest from stdin or filename and adds it to the node if it doesn't exist already
  • mcclient manifest remove [filename] reads the manifest and removes it from the node if it exists on the node already
  • mcclient manifest self prints the "node manifest" body, which can be fed into mcid sign to produce a signed manifest.

I'd like to also add aleph support, but that can go in a new PR

@parkan
Copy link
Contributor

parkan commented Jan 12, 2017

Hmm yeah let's call manifest node something else. prepare? blank? challenge? ingot? preimage? affidavit?

p.s. this is not really the right command but I really want to use autopen for something

@vyzo
Copy link
Contributor

vyzo commented Jan 13, 2017

maybe manifest self?

@vyzo
Copy link
Contributor

vyzo commented Jan 13, 2017

It might also make sense to have a manifest set command to unconditionally set the manifests, without having to fight with remove arguments.

@yusefnapora yusefnapora merged commit 4eb3780 into master Jan 13, 2017
@yusefnapora yusefnapora deleted the yn-manifests branch January 13, 2017 15:42
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.

None yet

3 participants