refactor: s/command/msg_type/ in CNetMsgMaker and CSerializedNetMsg #18937
pull theStack wants to merge 1 commits into bitcoin:master from theStack:20200520-refactor-replace-command-by-msgtype-part-3 changing 4 files +10 −10-
theStack commented at 5:55 pm on May 10, 2020: member
-
in src/net.h:111 in 4f7b60e69d outdated
107@@ -108,7 +108,7 @@ struct CSerializedNetMsg 108 CSerializedNetMsg& operator=(const CSerializedNetMsg&) = delete; 109 110 std::vector<unsigned char> data; 111- std::string command; 112+ std::string msg_type;
MarcoFalke commented at 6:21 pm on May 10, 2020:0 std::string m_type;
According to the dev notes, members should be prefixed with
m_
.
theStack commented at 6:53 pm on May 10, 2020:Thanks, done.theStack force-pushed on May 10, 2020DrahtBot added the label P2P on May 10, 2020DrahtBot added the label Refactoring on May 10, 2020refactor: s/command/msg_type/ in CNetMsgMaker and CSerializedNetMsg 51e9393c1ftheStack force-pushed on May 10, 2020MarcoFalke commented at 10:25 pm on May 13, 2020: memberACK 51e9393c1f6c9eaac554f821f5327f63bd09c8cfDrahtBot commented at 8:15 pm on May 20, 2020: memberThe following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
Conflicts
Reviewers, this pull request conflicts with the following ones:
- #19031 (Implement ADDRv2 support (part of BIP155) by vasild)
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.
MarcoFalke merged this on Jun 19, 2020MarcoFalke closed this on Jun 19, 2020
jonatack commented at 11:01 am on June 19, 2020: memberConcept ACK,msg_type
is bettersidhujag referenced this in commit c47c194b1a on Jul 7, 2020jasonbcox referenced this in commit 0b1e6312a7 on Nov 19, 2020theStack deleted the branch on Dec 1, 2020MarcoFalke referenced this in commit 973c390298 on Jan 24, 2022sidhujag referenced this in commit b135edda87 on Jan 28, 2022DrahtBot locked this on Feb 15, 2022
theStack MarcoFalke DrahtBot jonatackLabels
Refactoring P2P
This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-12-27 03:12 UTC
More mirrored repositories can be found on mirror.b10c.me