Skip to content

rpc: Move OuterType enum to header

This is needed so that it can be used by RPCResult

Also,

  • rename NAMED_ARG to NONE for generalization.
  • change RPCArg constructors to initialize the members by moving values

Backport of Bitcoin Core PR#17809, part 1/2

Backport of Bitcoin ABC D8123

Test plan: ninja check check-functional

Merge request reports