All protected CNode data members could be private.
refactor, net: Increase CNode data member encapsulation #20373
pull hebasto wants to merge 2 commits into bitcoin:master from hebasto:201111-cnode changing 1 files +38 −45-
hebasto commented at 5:13 PM on November 11, 2020: member
- DrahtBot added the label P2P on Nov 11, 2020
- hebasto force-pushed on Nov 11, 2020
- DrahtBot added the label Needs rebase on Nov 11, 2020
-
hebasto commented at 5:27 PM on November 11, 2020: member
- DrahtBot removed the label Needs rebase on Nov 11, 2020
-
practicalswift commented at 8:43 PM on November 11, 2020: contributor
Concept ACK
-
DrahtBot commented at 12:02 AM on November 12, 2020: member
<!--e57a25ab6845829454e8d69fc972939a-->
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
<!--174a7506f384e20aa4161008e828411d-->
Conflicts
No conflicts as of last run.
-
promag commented at 11:14 AM on November 14, 2020: member
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:. -
sipa commented at 5:09 AM on December 27, 2020: member
utACK 75f7e47b3ae59b7a8b1f5ec86ac281403a50a604
-
MarcoFalke commented at 8:51 AM on December 27, 2020: member
Tend to NACK for the same reason: #19673#pullrequestreview-557045721
- DrahtBot added the label Needs rebase on Jan 2, 2021
- hebasto force-pushed on Jan 9, 2021
-
hebasto commented at 9:17 AM on January 9, 2021: member
Updated 75f7e47b3ae59b7a8b1f5ec86ac281403a50a604 -> 7f20edf4bb827a368b8eaf8d2c22643d5935c613 (pr20373.01 -> pr20373.02). @jnewbery
Done. @promag
... if it's kept then it could be marked move-only.
Done.
Also, there's an unnecessary
public:.Fixed.
-
jnewbery commented at 10:47 AM on January 9, 2021: member
ACK 7f20edf4bb827a368b8eaf8d2c22643d5935c613
Verified that this is move-only, except for making the protected members private.
Thanks for cleaning this up!
- DrahtBot removed the label Needs rebase on Jan 9, 2021
- DrahtBot added the label Needs rebase on Jan 10, 2021
-
refactor, move-only: Relocate CNode private members acebb79d3f
-
3642b2ed34
refactor, net: Increase CNode data member encapsulation
All protected CNode data members could be private.
- hebasto force-pushed on Jan 10, 2021
-
hebasto commented at 10:06 AM on January 10, 2021: member
Updated 7f20edf4bb827a368b8eaf8d2c22643d5935c613 -> 3642b2ed34e6609e8de558b352516daadb12cac1 (pr20373.02 -> pr20373.03) due to the conflict with #20881.
- DrahtBot removed the label Needs rebase on Jan 10, 2021
-
jnewbery commented at 10:40 AM on January 11, 2021: member
utACK 3642b2ed34e6609e8de558b352516daadb12cac1
-
MarcoFalke commented at 12:09 PM on January 11, 2021: member
review ACK 3642b2ed34e6609e8de558b352516daadb12cac1 🏛
<details><summary>Show signature and timestamp</summary>
Signature:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 review ACK 3642b2ed34e6609e8de558b352516daadb12cac1 🏛 -----BEGIN PGP SIGNATURE----- iQGzBAEBCgAdFiEE+rVPoUahrI9sLGYTzit1aX5ppUgFAlwqrYAACgkQzit1aX5p pUgpSgwAiwjdT13xFBxwJQmARjPmO8p8A7XcH2TDGrYMjehHgN9z/c6LajnsGLrf HxU581vUH1HnWmjnSFdlQOKC/IDRiUDw9ogpakbjVi4Z1+KJnXEwJCDoCQepAKGA adpBXg1jZLbLXlyhsiladQb5mAEZ0Cbru8NnXIriUP0SFgM7RGR7EaP9G0BUVqYx 3rpDxXtsUmtaZ7Y2/2SpTABh2UEK0ya1v1x8ILlWwz1YhqTEunSI8VwNffxCiVBn V+oYGbKEyM/zg6x3MQnnX1plXgoz0XEOqmqqK12jtkTQAknWp7tQj7DhSCbSjLaS ojE2LPFc5GhYDA0nvMq8N//Bm6yd6Z29WK5x8trAGmOEbpGxcyqrjN4Nnuw0O0Ai hxt0XnQ6YMjeFvh5xzrIQEQwTd2bttrk6CiAf46hnwwmXwHbNwecTRQtj4+7LZlf frOLEwBnFnQiOZjkiIXP0Q1L3pfQYKSNxr8b426QUBhQBNLojP+xBw4eLX3Gu3Iq zSgvcVPd =leU8 -----END PGP SIGNATURE-----Timestamp of file with hash
a0e7b38da83edfebd9fb41f063e4ec58f924d3f47816589b67b81a023d3dcd94 -</details>
- MarcoFalke merged this on Jan 11, 2021
- MarcoFalke closed this on Jan 11, 2021
- hebasto deleted the branch on Jan 11, 2021
- sidhujag referenced this in commit 5d6c7186ed on Jan 11, 2021
- DrahtBot locked this on Aug 16, 2022