p2p: Clarify disconnect log message in ProcessGetBlockData, remove send bool#21235
p2p: Clarify disconnect log message in ProcessGetBlockData, remove send bool#21235maflcko merged 3 commits intobitcoin:masterfrom
Conversation
maflcko
commented
Feb 19, 2021
- Clarify that "ignoring" really means "disconnect" in the log
- Revive a refactor I took from Simplify ProcessGetBlockData execution by removing send flag #13670
theStack
left a comment
There was a problem hiding this comment.
ACK c56f1401b43d8235713745a35594e7e7c1b9f5e0 ♻️
Quite surprising that the PR where the second commit is taken from was never merged, at least IMHO getting rid of this unnecessary state variable is a definitive improvement w.r.t. readability.
|
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. ConflictsReviewers, this pull request conflicts with the following ones:
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. |
jnewbery
left a comment
There was a problem hiding this comment.
utACK c56f1401b43d8235713745a35594e7e7c1b9f5e0
Thanks for doing this. I've also had a branch floating around to remove this variable.
Couple of small style suggestions inline.
fac5641 to
fa55ab8
Compare
|
utACK fa55ab8 Very nice to remove the indenting in a separate commit 💯 |
|
Concept ACK Returning early here makes the code more robust and easier to reason about. Glad to see |
fa55ab8 to
7ed5210
Compare
|
Rebased. Should be trivial to re-ACK |
|
utACK 7ed521036cfd9795c63aaab8a59dadc34999e79c Checked the git range-diff. Only difference is things like using |
|
🕵️ @sipa has been requested to review this pull request as specified in the REVIEWERS file. |
Setting the send flag to false can be replaced by simply returning.
Can be reviewed with --ignore-all-space
7ed5210 to
fa81773
Compare
|
Rebased after conflict |
|
utACK fa81773 the range-diff was a bit messy so I just reviewed again from scratch. |