Page MenuHomePhabricator

util: Disallow network-qualified command line options
ClosedPublic

Authored by PiRK on Dec 22 2020, 10:47.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABC13a518d4c0aa: util: Disallow network-qualified command line options
Summary

Command line options prefixed with main/test/regtest network names like -main.port=8333 -test.server=1 previously were allowed but ignored. Now they trigger "Invalid parameter" errors on startup.

This is a backport of Core PR17482

Test Plan

ninja all check-all

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable