Page MenuHomePhabricator

[backport#14628] Rename misleading 'defaultPort' to 'http_port'
ClosedPublic

Authored by majcosta on Apr 16 2020, 18:14.

Details

Summary

4ed730802f9ec3d65477a29a318dd78216ef7085 scripted-diff: Rename misleading 'defaultPort' to 'http_port' (Murray Nesbitt)

Pull request description:

`defaultPort` in `HTTPBindAddresses()` is misleadingly named. `defaultPort ` suggests a constant, not something that might be overridden by `-rpcport`.

Tree-SHA512: f6ae8bdc2b4a4f503e44df9efdec32c854d2dede87714399f53791d50cce6bc41c46b01d1583cfc0e3e4777c244e1c74443fa39d9da50a45e53af265b74a17d1


This is a backport of Core PR14628

Test Plan
ninja check

Diff Detail

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

Event Timeline

Owners added a reviewer: Restricted Owners Package.Apr 16 2020, 18:14

[Bot Message]
One or more PR numbers were detected in the summary.
Links to those PRs have been inserted into the summary for reference.

deadalnix requested changes to this revision.Apr 16 2020, 18:37
deadalnix added a subscriber: deadalnix.

Diff title is wrong

This revision now requires changes to proceed.Apr 16 2020, 18:37
majcosta retitled this revision from [backport#14628] Trivial: Rename misleading 'defaultPort' to 'rpc_port' to [backport#14628] Rename misleading 'defaultPort' to 'http_port'.Apr 16 2020, 18:44
This revision is now accepted and ready to land.Apr 16 2020, 19:05