-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Feature: Advanced ipns tooling #4536
Comments
I really want both of these. Not sure where exactly to put it in the api though, could be something like:
|
For additional input:
but I don't have any strong opinion on this, I like create/push as well. Maybe an additional inspect command might make sense as well that prints the encoded data in a human readable way to ease debugging. In the end, this should work: RECORD=`ipfs name record create $params`
ipfs name inspect "$RECORD"
ipfs name push "$RECORD" Also, for even more bonus points, something like this: while sleep 5m; do
# TODO: resolve-raw feels somewhat clunky
ipfs name resolve-raw $params | ipfs name push
done These might be related to |
|
Why not something like this... Generate raw data
Will do just like Use case: generate a record for others to publish Publish a record
Additional form of edit: if the raw record is not on the command line, it is read from stdin (with or without encoding?) Use case: seed offline generated record Resolve a raw record for republish
An additional option to Use case: republish a record taken from the network Republish a record
Will republish a record already existing on the network.
Use case: have multiple nodes to republish the same record in case the primary node is failing added: Inspect a record
Use case: inspect a raw record so it is readable and we know what it contains What do you think? |
@mildred sounds great. For the commands accepting a raw (untrusted) record it might make sense to accept the data on stdin instead, but this might be neglectable. The only thing I would want to add to the list would be the inspect command to parse the raw record into something human readable and/or json. This would also be useful for debugging when combined with |
Added the inspect command so we don't forget about it. Also, if the raw record is read from stdin and not the command line, it is possible to skip the encoding part and have the raw binary bytes. Perhaps we should add an option to choose the encoding of the record itself (default being binary). Something like disclaimer: I'm interested in the republish command so I can publish a record on my laptop and have my server follow it and republish it forever |
We generally use |
Type:
Feature
Description:
While discussion ipns on irc, the following tools might be interesting for advanced ipns operations, eg. during DDoS:
The text was updated successfully, but these errors were encountered: