Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Basic, persistent reputation system #370

@gavofyork

Description

@gavofyork
  • assign a number to every node address
  • bootnodes get 100
  • nodes that are discovered otherwise get 10
  • keep them all in order
  • connect to the nodes at the top of the list, but ensure there's a jittered exponential reconnect time to avoid hammering nodes at the top that go offline for a while and let nodes at the bottom get tried
  • if a node doesn't work when trying to connect, reduce the number by 1. if it does successfully connect then for every 10 minutes of successful connection, increase by 1.
  • nodes don't go above 100.
  • once a node gets to 0, remove from the local table

Metadata

Metadata

Assignees

No one assigned

    Labels

    J0-enhancementAn additional feature request.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions