Adds string overloads for the RPCHelpMan::Arg
and RPCHelpMan::MaybeArg
helpers to be able to access RPC arguments by name instead of index number. Especially in RPCs with a large number of parameters, this can be quite helpful.
Example usage:
0const auto action{self.Arg<std::string>("action")};
Most of the LoC is adding test coverage and documentation updates. No behaviour change.
An alternative approach to #27788 with significantly less overhaul.