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

addrmgr: Track network types and remove TorV2 support #3406

Merged
merged 3 commits into from
Jul 20, 2024

Commits on Jul 18, 2024

  1. addrmgr: Track network address types.

    This commit adds support for determining and tracking the type of a
    network address when constructed. While here, several functions are
    refactored for easier reading and interpretability.
    
    The types are first defined in network.go, and then constructed in
    netaddress.go. The rest of the changes propagate outward from there.
    Minimal changes were made to anything related to TorV2, because it will
    be removed in a future commit.
    matthawkins90 committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    86ec3d5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8a0203b View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2024

  1. addrmgr: Add convenient new functions.

    This commit creates two new functions: EncodeHost and
    NewNetAddressFromParams. The goal is to allow easier creation of net
    addresses without needing to resort to DNS lookups. DNS lookups will be
    removed from addrmgr.
    matthawkins90 committed Jul 19, 2024
    Configuration menu
    Copy the full SHA
    b085d66 View commit details
    Browse the repository at this point in the history