Page MenuHomePhabricator

Summary: stop using the gArgs wrappers
ClosedPublic

Authored by matiu on Jan 30 2018, 16:32.

Details

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

Diff Detail

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

Event Timeline

matiu retitled this revision from Summary: stop using the gArgs wrappers to Summary: stop using the gArgs wrappers.Jan 30 2018, 16:44
matiu edited the summary of this revision. (Show Details)
deadalnix added a subscriber: deadalnix.

This seems alright, please make sure the tests are passing before landing.

This revision is now accepted and ready to land.Jan 30 2018, 21:45
test/functional/multiwallet.py
14 ↗(On Diff #2755)

Revert.

Revert change to trigger tests

This revision was automatically updated to reflect the committed changes.