HomePhabricator

[avalanche] Enforce cooldown request present in AvalancheResponse

Authored by deadalnix on Nov 23 2018, 01:09.

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

Committed
deadalnixNov 27 2018, 19:03
Pushed
jasonbcoxNov 27 2018, 22:04
Reviewer
Restricted Project
Differential Revision
D2122: [avalanche] Enforce cooldown request present in AvalancheResponse
Parents
rSTAGING1f50cf0e7ef3: [avalanche] Ensure block added to avalanche have the proper acceptance.
Branches
Unknown
Tags
Unknown