-
Notifications
You must be signed in to change notification settings - Fork 37.7k
refactor, net: Increase CNode data member encapsulation #20373
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
Conversation
4ac54e9
to
75f7e47
Compare
Concept ACK making protected members private if they don't need to be protected. I'll review once #19673 is merged and this is rebased. |
Concept ACK |
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. ConflictsNo conflicts as of last run. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Concept ACK.
I'd drop the "consolidate" commit. But if it's kept then it could be marked move-only. Also, there's an unnecessary public:
.
utACK 75f7e47 |
Tend to NACK for the same reason: #19673 (review) |
Updated 75f7e47 -> 7f20edf (pr20373.01 -> pr20373.02). Done.
Done.
Fixed. |
ACK 7f20edf Verified that this is move-only, except for making the protected members private. Thanks for cleaning this up! |
All protected CNode data members could be private.
Updated 7f20edf -> 3642b2e (pr20373.02 -> pr20373.03) due to the conflict with #20881. |
utACK 3642b2e |
review ACK 3642b2e 🏛 Show signature and timestampSignature:
Timestamp of file with hash |
…ulation 3642b2e refactor, net: Increase CNode data member encapsulation (Hennadii Stepanov) acebb79 refactor, move-only: Relocate CNode private members (Hennadii Stepanov) Pull request description: All protected `CNode` data members could be private. ACKs for top commit: jnewbery: utACK 3642b2e MarcoFalke: review ACK 3642b2e 🏛 Tree-SHA512: 8435e3c43c3b7a3107d58cb809b8b5e1a1c0068677e249bdf0fc6ed24140ac4fc4efe2a280a1ee86df180d738c0c9e10772308690607954db6713000cf6e728d
All protected
CNode
data members could be private.