When getrawtransaction
is successfully used on a coinbase transaction, there is an assertion error. This is very unlikely but happens in the interface_usdt_utxocache.py
test in #24358.
This does the following:
-
Add missing “coinbase” documentation.
-
Synchronize documentation between
getrawtransaction
anddecoderawtransaction
, the two users ofTxToUniv
that have detailed documentation.decodepsbt
andgetblock
also uses it but fortunately elides this block. -
Change “vout[].amount” to
STR_AMOUNT
for consistency. -
Add maintainer comment to keep the two places synchronized. It might be possible to get smarter with deduplication, but there are some extra fields that prevent the obvious way.