mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-02-27 09:40:51 +01:00
This adds a "coinbase_tx" field to the getblock RPC result, starting at verbosity level 1. It contains only fields guaranteed to be small, i.e. not the outputs.
9 lines
335 B
Markdown
9 lines
335 B
Markdown
Updated RPCs
|
|
------------
|
|
|
|
- The `getblock` RPC now returns a `coinbase_tx` object at verbosity levels 1, 2,
|
|
and 3. It contains `version`, `locktime`, `sequence`, `coinbase` and
|
|
`witness`. This allows for efficiently querying coinbase
|
|
transaction properties without fetching the full transaction data at
|
|
verbosity 2+. (#34512)
|