Skip to content

Implement a blacklisting mechanism for libp2p peers #35

Description

@richard-ramos

Some peers are causing an increase in CPU usage when they connect/disconnect. I have identified two of them which spiked the processor to 100%.

if(peer.id.toB58String() !== "QmNo4aCrDJkwg7V1t28kp6EehNVYX3DkTa2UAdi9UaS4Vw" ||

Implement a blacklisting mechanism that after N reconnect attempts in a period of time, will stop murmur from invoking: this.node.dial(peer, () => { });.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or request

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions