diff options
author | W. J. van der Laan <laanwj@protonmail.com> | 2021-06-21 08:16:01 +0200 |
---|---|---|
committer | W. J. van der Laan <laanwj@protonmail.com> | 2021-06-21 08:18:55 +0200 |
commit | f6a25bea826e559967a35cf4c7d18c7f44429d3c (patch) | |
tree | 87df36d481995d294a1daa6d34bcdc394b9fea62 /contrib/guix/manifest.scm | |
parent | a305a687e70cfe1bfe5e57161fa9a084b290cd7b (diff) | |
parent | 30aee2dfe671b347438c1c327c6f79edfacff1ce (diff) | |
download | bitcoin-f6a25bea826e559967a35cf4c7d18c7f44429d3c.tar.xz |
Merge bitcoin/bitcoin#22147: p2p: Protect last outbound HB compact block peer
30aee2dfe671b347438c1c327c6f79edfacff1ce tests: Add test for compact block HB selection (Pieter Wuille)
6efbcec4ded6116a42d2783c96c60ef0f255a1b2 Protect last outbound HB compact block peer (Suhas Daftuar)
Pull request description:
If all our high-bandwidth compact block serving peers (BIP 152) stall block
download, then we can be denied a block for (potentially) a long time. As
inbound connections are much more likely to be adversarial than outbound
connections, mitigate this risk by never removing our last outbound HB peer if
it would be replaced by an inbound.
ACKs for top commit:
achow101:
ACK 30aee2dfe671b347438c1c327c6f79edfacff1ce
ariard:
Code ACK 30aee2dfe
jonatack:
ACK 30aee2dfe671b347438c1c327c6f79edfacff1ce
Tree-SHA512: 5c6c9326e3667b97e0864c371ae2174d2be9054dad479f4366127b9cd3ac60ffa01ec9707b16ef29cac122db6916cf56fd9985733390017134ace483278921d5
Diffstat (limited to 'contrib/guix/manifest.scm')
0 files changed, 0 insertions, 0 deletions