HomePhabricator

[avalanche] Add handling of ava_poll command in the network layer

Description

[avalanche] Add handling of ava_poll command in the network layer

Summary:
This is not quite suffiscient by itself as it has no DoS protection, but can answer queries about blocks.

In order to avoid any problem, we make sure that it is gated behind a flag that is turned off by default.

Test Plan:
Added an integration test that poll the node and check answers.
ran bitcoind -help to verify avalanche option do not show up.

Reviewers: #bitcoin_abc, jasonbcox, Fabien

Reviewed By: #bitcoin_abc, jasonbcox, Fabien

Subscribers: Fabien, jasonbcox

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

Details

Provenance
deadalnixAuthored on Nov 12 2018, 00:32
deadalnixPushed on Mar 25 2020, 19:02
Reviewer
Restricted Project
Differential Revision
D5528: [avalanche] Add handling of ava_poll command in the network layer
Parents
rABC0cf235df5a0f: [debian release] Fetch signer string from GPG rather than requiring the user to…
Branches
Unknown
Tags
Unknown