[[https://github.com/bitcoin/bitcoin/pull/14796 | PR14796]] changes the help text of the `dummy` argument in
`prioritisetransaction` from optional to required. [[https://github.com/bitcoin/bitcoin/pull/14785 | PR14785]] was added to
prevent this.
Merge #14875: RPCHelpMan: Support required arguments after optional ones
fa9a5bc1a0 RPCHelpMan: Support required arguments after optional ones (MarcoFalke)
Pull request description:
There was a requirement that required arguments could not be positioned after an optional argument, but the deprecation of priority made the second argument to `prioritisetransaction` optional. So support that in `RPCHelpMan`.
Also format all named arguments in the same way (without the wrapping `"` even for strings), since the extended description already mentions the type and it feels odd to special case strings.
Tree-SHA512: c125145afb4a63abc995aaf0a89489efc0f470a720727a1ca6ee0bfd2bcbc59e87c38128dd1e0cdf03dbb5b18e84867887c3dabf6ec8378e66cb1f4cecb9e407
Partial backport of Core [[https://github.com/bitcoin/bitcoin/pull/14796 | PR14796]] and [[https://github.com/bitcoin/bitcoin/pull/14875 | PR14875]]