HomePhabricator

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

Authored by deadalnix on Nov 12 2018, 00:32.

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

Committed
deadalnixWed, Mar 25, 19:02
Pushed
deadalnixWed, Mar 25, 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