refactor, net: Increase CNode data member encapsulation#20373
refactor, net: Increase CNode data member encapsulation#20373maflcko merged 2 commits intobitcoin:masterfrom
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. |
promag
left a comment
There was a problem hiding this comment.
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
CNodedata members could be private.