Skip to content

[p2p/lookup] Improve Logging on Blocked Filtering #2557

@patrick-ogrady

Description

@patrick-ogrady

If a blocked peer attempts to dial us, we log that the peer is unknown (as their IP isn't in the filtered list). This is at best an approximation because we only update this list when a new peer set is registered (so we may actually sometimes accept connections from blocked peers and immediately drop them).

We should indicate in logs that we are not connecting to someone because they are blocked, not because they are "unknown" (not true).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    Backlog

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions