generated from ipfs/ipfs-repository-template
-
Notifications
You must be signed in to change notification settings - Fork 87
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
feat!: namesys refactor, ipns TTL bubbled up to gateway #459
Merged
Commits on Oct 18, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 429b016 - Browse repository at this point
Copy the full SHA 429b016View commit details -
Configuration menu - View commit details
-
Copy full SHA for a046446 - Browse repository at this point
Copy the full SHA a046446View commit details -
refactor: use ipns.Name instead of peer.ID
I made ipns.Name.src a string in order to make the struct comparable. It can now be used as a map key, but it's still protected from being converted around.
Configuration menu - View commit details
-
Copy full SHA for d25d673 - Browse repository at this point
Copy the full SHA d25d673View commit details -
fix: set DefaultIPNSRecordTTL to 1h
Since we've started using TTLs, we should adjust default to make them more useful by default. 1h comes from https://specs.ipfs.tech/ipns/ipns-record/#ipns-record and is a safer default than 1m.
Configuration menu - View commit details
-
Copy full SHA for 0d12f2a - Browse repository at this point
Copy the full SHA 0d12f2aView commit details -
refactor: DefaultRecordTTL DefaultRecordLifetime
Moving defaults that are not specific to (re)publisher
Configuration menu - View commit details
-
Copy full SHA for 88f0702 - Browse repository at this point
Copy the full SHA 88f0702View commit details -
refactor: dht params to consts
This defines the implicit defaults used for every 'ipns name resolve' DefaultResolverDhtTimeout DefaultResolverDhtRecordCount
Configuration menu - View commit details
-
Copy full SHA for 2776fd3 - Browse repository at this point
Copy the full SHA 2776fd3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 27c8e55 - Browse repository at this point
Copy the full SHA 27c8e55View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8d4e7dd - Browse repository at this point
Copy the full SHA 8d4e7ddView commit details -
Configuration menu - View commit details
-
Copy full SHA for d4411ba - Browse repository at this point
Copy the full SHA d4411baView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.