MarcoFalke
commented at 7:24 am on September 20, 2021:
member
There is no need to log AlreadyHaveTx for an inv when a peer is marked for disconnection due to sending that inv. In fact, I find it confusing that a block-relay-only connection calls AlreadyHaveTx at all. Also there is no need to call AddKnownTx when the peer is marked for disconnection.
net: Avoid logging AlreadyHaveTx when disconnecting misbehaving peer
Can be reviewed with --color-moved=dimmed-zebra
fa2662c293
MarcoFalke renamed this:
net: Avoid logging AlreadyHaveTx when disconneting misbehaving peer
net: Avoid logging AlreadyHaveTx when disconnecting misbehaving peer
on Sep 20, 2021
MarcoFalke force-pushed
on Sep 20, 2021
fanquake added the label
P2P
on Sep 20, 2021
naumenkogs
commented at 10:28 am on September 21, 2021:
member
ACKfa2662c293ec0aaa93092b59b6632f74729c4283
jnewbery
commented at 2:45 pm on September 21, 2021:
member
fanquake requested review from amitiuttarwar
on Sep 23, 2021
DrahtBot
commented at 1:30 pm on September 24, 2021:
member
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
Conflicts
Reviewers, this pull request conflicts with the following ones:
#22778 (net processing: Reduce resource usage for inbound block-relay-only connections by jnewbery)
#21160 (net/net processing: Move tx inventory into net_processing by jnewbery)
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.
dunxen
commented at 6:45 pm on October 5, 2021:
contributor
Concept and code review ACKfa2662c293ec0aaa93092b59b6632f74729c4283
Makes sense to return earlier in this scenario. This took me on a nice little journey in P2P things getting some better context.
fanquake merged this
on Oct 22, 2021
fanquake closed this
on Oct 22, 2021
MarcoFalke deleted the branch
on Oct 22, 2021
sidhujag referenced this in commit
f61e177b1d
on Oct 22, 2021
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-11-17 18:12 UTC
This site is hosted by @0xB10C More mirrored repositories can be found on mirror.b10c.me