Comment by @sipa:
> txid is correct here, as it's about arguments to the gettransansaction RPC.
This is a partial backport of Core [[https://github.com/bitcoin/bitcoin/pull/16078 | PR16078]]
Commit https://github.com/bitcoin/bitcoin/pull/16078/commits/a65dafa8f12b3776328ace5cef24cb3fd126cfb1
See D1556 for why we have additional lines changed.
While backporting the 2nd commit of [[https://github.com/bitcoin/bitcoin/pull/16521 | PR16521]], I found that this is a dependency that
will help backporting the other PR.