HomePhabricator

refactor: Replace magic number with named constant

Description

refactor: Replace magic number with named constant

Summary:
This is a backport of core#18077 [2/13]
https://github.com/bitcoin/bitcoin/pull/18077/commits/28e2961fd6a2a9101fc08fb748430989291aaf7e

Depends on D12069

Test Plan: ninja all check-all

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

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

Details

Provenance
Hennadii Stepanov <32963518+hebasto@users.noreply.github.com>Authored on Feb 16 2020, 14:37
PiRKCommitted on Sep 28 2022, 06:05
PiRKPushed on Sep 28 2022, 06:05
Reviewer
Restricted Project
Differential Revision
D12070: refactor: Replace magic number with named constant
Parents
rABCc9dcb2b1b32f: refactor: Move port mapping code to its own module
Branches
Unknown
Tags
Unknown