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

feat!: namesys refactor, ipns TTL bubbled up to gateway #459

Merged
merged 9 commits into from
Oct 18, 2023

Commits on Oct 18, 2023

  1. Configuration menu
    Copy the full SHA
    429b016 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a046446 View commit details
    Browse the repository at this point in the history
  3. 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.
    hacdias committed Oct 18, 2023
    Configuration menu
    Copy the full SHA
    d25d673 View commit details
    Browse the repository at this point in the history
  4. 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.
    lidel authored and hacdias committed Oct 18, 2023
    Configuration menu
    Copy the full SHA
    0d12f2a View commit details
    Browse the repository at this point in the history
  5. refactor: DefaultRecordTTL DefaultRecordLifetime

    Moving defaults that are not specific to (re)publisher
    lidel authored and hacdias committed Oct 18, 2023
    Configuration menu
    Copy the full SHA
    88f0702 View commit details
    Browse the repository at this point in the history
  6. refactor: dht params to consts

    This defines the implicit defaults used for every 'ipns name resolve'
    DefaultResolverDhtTimeout
    DefaultResolverDhtRecordCount
    lidel authored and hacdias committed Oct 18, 2023
    Configuration menu
    Copy the full SHA
    2776fd3 View commit details
    Browse the repository at this point in the history
  7. chore: cosmetics

    lidel authored and hacdias committed Oct 18, 2023
    Configuration menu
    Copy the full SHA
    27c8e55 View commit details
    Browse the repository at this point in the history
  8. refactor(ipns) Name.src → Name.multihash

    lidel authored and hacdias committed Oct 18, 2023
    Configuration menu
    Copy the full SHA
    8d4e7dd View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    d4411ba View commit details
    Browse the repository at this point in the history