Page MenuHomePhabricator

rpc: Add EnsureArgsman helper
ClosedPublic

Authored by PiRK on Mar 14 2024, 10:34.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABC9aaf86775f68: rpc: Add EnsureArgsman helper
Summary

This refactor doesn't change anything for the rpc layer, but it helps a bit with removing gArgs

This is a backport of core#23936

Depends on D15695

Test Plan

ninja all check-all

Diff Detail

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

Event Timeline

PiRK requested review of this revision.Mar 14 2024, 10:34
Fabien requested changes to this revision.Mar 14 2024, 13:02
Fabien added a subscriber: Fabien.

You're missing rpc/avalanche.cpp

This revision now requires changes to proceed.Mar 14 2024, 13:02

remove a couple more gArgs in rpc code

grep -r "gArgs" src/rpc/
grep -r "\.args" src/rpc/
This revision is now accepted and ready to land.Mar 14 2024, 14:25
This revision was automatically updated to reflect the committed changes.