Skip to content

Implement NetworkPeers.ReportPeer on translation shim type #4799

Description

@timwu20

Issue summary

Implementation details

  • translate network.ReputationChange to peerset.ReputationChange
  • translate peerid.PeerID to peer.ID.
  • call peerset.Handler.ReportPeer
  • unit tests

Other information and links

Acceptance criteria

[] ReportPeer should adjust peer reputation of given peer
[] 70% coverage for ReportPeer function.

Metadata

Metadata

Assignees

No one assigned

    Labels

    T-implementationthis issue/pr is a new feature or functionality.

    Type

    No type

    Projects

    Status
    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions