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!: use single DHT only by default #2322

Merged
merged 6 commits into from
Dec 20, 2023
Merged

Commits on Dec 18, 2023

  1. feat!: use single DHT only by default

    We have a weird dual-DHT setup whereby we have a DHT for public
    addresses (amino, `/ipfs/kad/1.0.0`) and a DHT for private addresess
    (`/ipfs/lan/kad/1.0.0`).
    
    This is an artefact of the previous libp2p setup whereby there could
    only be a single DHT implementation at once.
    
    Now we have services we can configure an amino DHT service and if
    desired an additional lan-only DHT, or the user can just use amino
    and not pay the overhead of running an extra DHT.
    
    Most content is resolved via the public DHT so running the lan-only
    DHT gives the user no benefit.
    
    BREAKING CHANGE: the `kadDHT` function returns a single DHT - see the readme for how to configure amino/lan as before
    achingbrain committed Dec 18, 2023
    Configuration menu
    Copy the full SHA
    e5a5f18 View commit details
    Browse the repository at this point in the history

Commits on Dec 19, 2023

  1. chore: optional protocol

    achingbrain committed Dec 19, 2023
    Configuration menu
    Copy the full SHA
    ca1f29d View commit details
    Browse the repository at this point in the history
  2. chore: fix tests and deps

    achingbrain committed Dec 19, 2023
    Configuration menu
    Copy the full SHA
    3a04f15 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b5c1796 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ea4635d View commit details
    Browse the repository at this point in the history
  5. chore: update mapper

    achingbrain committed Dec 19, 2023
    Configuration menu
    Copy the full SHA
    e4a6305 View commit details
    Browse the repository at this point in the history