Skip to content

[Discussion] White and Gray List is confusing #9696

Open
@ohchase

Description

The Monero Project should consider editing the usage of "white" and "gray" in the code base.

Primarily, the usage of "white" and "gray" are confusing and do not thoroughly communicate intent.
Additionally, "gray" is very confusing without more context and the spelling is only popular in American English.
I particularly think "gray" is the most confusing wording across the project, because without further research and understanding of the project, one could easily consider "gray" peers to be ones identified as potentially dangerous but not yet proven banned nodes.

As some initial suggestions I believe the project should move towards using the below naming conventions.

  1. "online" for "white"
  2. "offline" for "gray"
  3. "banned" for "banned" , already implemented and used

  1. "active" for "white"
  2. "inactive" for "gray"
  3. "banned" for "banned" , already implemented and used

Large scale considerations:

  • Massive breaking changes to the RPC Json API
  • Invalidates a ton of historical information, guides, and discussions

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions