HomePhabricator

Summary: stop using the gArgs wrappers

Description

Summary: stop using the gArgs wrappers

Summary:

  • Scripted diff, checked manually:

find src/ -name "*.cpp" ! -wholename "src/util.h" ! -wholename "src/util.cpp" | xargs perl -i -pe 's/(?<!\.)(ParseParameters|ReadConfigFile|IsArgSet|(Soft|Force)?(Get|Set)(|Bool|)Arg(s)?)\(/gArgs.\1(/g'

  • remove unused gArgs wrappers

Backport from Core's https://github.com/bitcoin/bitcoin/commit/c2704ec98a1b7b35b6a7c1b6b26a3f16d44e8880

Fixes T212

Test Plan:

make check && test/functional/test_runner.py

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

Subscribers: deadalnix, teamcity

Maniphest Tasks: T212

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

Details

Provenance
Marko Bencun <marko.bencun@monetas.net>Authored on Jun 15 2017, 20:45
matiuCommitted on Jan 30 2018, 23:07
matiuPushed on Jan 30 2018, 23:11
Reviewer
Restricted Project
Differential Revision
D1044: Summary: stop using the gArgs wrappers
Parents
rSTAGINGb9120934cd6c: fix multiwallet / symlink check
Branches
Unknown
Tags
Unknown
References
tag: phabricator/base/2775, tag: phabricator/base/2772, tag: phabricator/base/2771
Tasks
T212: scripted-diff: stop using the gArgs wrappers