HomePhabricator

Add Binds, WhiteBinds, Whitelistedrange to CConnman::Options

Description

Add Binds, WhiteBinds, Whitelistedrange to CConnman::Options

Summary:

  • add WhitelistedRange to CConnman::Options

Part of a series of changes to clean up the instantiation of connman
by decoupling the command line arguments.

  • add Binds, WhiteBinds to CConnman::Options

Part of a series of changes to clean up the instantiation of connman
by decoupling the command line arguments.

We also now abort with an error when explicit binds are set with
-listen=0.

This is a backport of core PR10496

Depends on D1746

Test Plan:

make check

Reviewers: #bitcoin_abc, schancel

Reviewed By: #bitcoin_abc, schancel

Subscribers: teamcity

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

Details

Provenance
Marko Bencun <marko.bencun@monetas.net>Authored on Jun 1 2017, 09:07
deadalnixCommitted on Sep 10 2018, 22:07
deadalnixPushed on Sep 10 2018, 22:14
Reviewer
Restricted Project
Differential Revision
D1747: Add Binds, WhiteBinds, Whitelistedrange to CConnman::Options
Parents
rSTAGINGef824e82ca37: rpc: Add listen address to incoming connections in `getpeerinfo`
Branches
Unknown
Tags
Unknown