Skip to content

ipfs bootstrap plumbing cmd? #117

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

Closed
jbenet opened this issue Sep 24, 2014 · 5 comments
Closed

ipfs bootstrap plumbing cmd? #117

jbenet opened this issue Sep 24, 2014 · 5 comments

Comments

@jbenet
Copy link
Member

jbenet commented Sep 24, 2014

this doesn't need to be an advertised command, but i imagine it might be nice to have a simple command -- rather than editing arrays with ipfs config or opening up the file.

# list out bootstrap addresses
> ipfs bootstrap
/ip4/104.131.131.82/tcp/4001/QmaCpDMGvV2BGHeYERUEnRQAwe3N8SzbUtfsmvsqQLuvuJ

# add another address
> ipfs bootstrap add /ip4/162.243.139.61/tcp/5001/QmXZPT1SLcczjNSLnSCsQBWwbosKjrDRo122Ys8ajKoqXR
> ipfs bootstrap add /ip4/162.243.139.61/tcp/5002/QmXZPT1SLcczjNSLnSCsQBWwbosKjrDRo122Ys8ajKoqXR


> ipfs bootstrap
/ip4/104.131.131.82/tcp/4001/QmaCpDMGvV2BGHeYERUEnRQAwe3N8SzbUtfsmvsqQLuvuJ
/ip4/162.243.139.61/tcp/5001/QmXZPT1SLcczjNSLnSCsQBWwbosKjrDRo122Ys8ajKoqXR
/ip4/162.243.139.61/tcp/5002/QmXZPT1SLcczjNSLnSCsQBWwbosKjrDRo122Ys8ajKoqXR

# remove specific address
> ipfs bootstrap remove /ip4/162.243.139.61/tcp/5001/QmXZPT1SLcczjNSLnSCsQBWwbosKjrDRo122Ys8ajKoqXR

# remove all addresses with a given pk
> ipfs bootstrap remove QmXZPT1SLcczjNSLnSCsQBWwbosKjrDRo122Ys8ajKoqXR
@whyrusleeping
Copy link
Member

+1

@whyrusleeping
Copy link
Member

maybe instead of ipfs bootstrap to list, make it ipfs bootstrap list

@whyrusleeping
Copy link
Member

Also, when listing them out, we could ensure they are ordered and number them, so you could ipfs delete 2 to delete the second entry

@llSourcell
Copy link
Contributor

i'm on it

llSourcell added a commit to llSourcell/go-ipfs that referenced this issue Oct 1, 2014
jbenet pushed a commit that referenced this issue Oct 6, 2014
This set of commits implements the bootstrap commands,
following from the description in #117
@jbenet
Copy link
Member Author

jbenet commented Oct 13, 2014

this was done + merged in already.

@jbenet jbenet closed this as completed Oct 13, 2014
Jorropo pushed a commit that referenced this issue May 30, 2023
* fix issues #26
Implement an IsPinned function
* fix issues #113
Implement interface v0.3.0
* ci: update to use go-ipfs v0.6.0
* ci: bump go version

Co-authored-by: godcong <[email protected]>
Co-authored-by: Adin Schmahmann <[email protected]>

This commit was moved from ipfs/go-ipfs-http-client@4e8a6c8
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

No branches or pull requests

3 participants