HomePhabricator

[avalanche] Enforce cooldown request present in AvalancheResponse

Description

[avalanche] Enforce cooldown request present in AvalancheResponse

Summary:
It is important in order to ensure the health of the network that node are able to throttle the requests they get from peers. This makes sure the core mechanics respect these cooldown requests.

Depends on D2117

Test Plan: Added tests case.

Reviewers: #bitcoin_abc, jasonbcox, Fabien

Reviewed By: #bitcoin_abc, jasonbcox, Fabien

Subscribers: jasonbcox, Fabien, teamcity

Differential Revision: https://reviews.bitcoinabc.org/D2122

Details

Provenance
deadalnixAuthored on Nov 23 2018, 01:09
deadalnixPushed on Nov 27 2018, 19:03
Reviewer
Restricted Project
Differential Revision
D2122: [avalanche] Enforce cooldown request present in AvalancheResponse
Parents
rABC1f50cf0e7ef3: [avalanche] Ensure block added to avalanche have the proper acceptance.
Branches
Unknown
Tags
Unknown