-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Discussion] White and Gray List is confusing #9696
Comments
I can understand the endeavor but your suggestions do not make sense. Gray means that monerod received this node from another node address book, and therefore we haven't established contact with it before (if successful it get added to the white address book, if not it means that it get banned). A gray peer is always offline per definition, but a white peer can be offline as well. Therefore it do not make sense to map active or online to an offline white peer. |
@SyntheticBird45 thank you for your feedback, and clarifications. Continuing to think about possible synonyms that better communicate "White" versus "Gray" Trying to summarize what they represent White -> A daemon we have connected to, BUT does not mean it is an honest node. So we Recognize this as a daemon node but again in no way confirm it is trustworthy. Maybe |
Would say it's more like: |
This is the PR which proposes renaming ban to block: #9591. Note the discussion on the difficulty of altering RPC fields, which very much applies here, as this proposal, unlike that PR, pretty much exclusively targets the RPC. |
That PR does the opposite: it renames blocklist to banlist |
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.
Large scale considerations:
The text was updated successfully, but these errors were encountered: