mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-04-25 14:28:53 +02:00
Merge #15159: [RPC] Remove lookup to UTXO set from GetTransaction
04da9f4834 [RPC] Update getrawtransaction interface (Amiti Uttarwar)
Pull request description:
- stop checking unspent UTXOs for a transaction when txindex is not enabled, as per conversation here: https://github.com/bitcoin/bitcoin/issues/3220#issuecomment-377458383
- code contributed by sipa
Tree-SHA512: aa07353bccc14b81b7803992a25d076d6bc06d15ec7c1b85828dc10aea7e0498d9b49f71783e352ab8a14b0bb2010cfb7835de3dfd1bc6f2323f460449348e66
This commit is contained in:
@@ -254,6 +254,12 @@ in the Low-level Changes section below.
|
||||
|
||||
- See the [Mining](#mining) section for changes to `getblocktemplate`.
|
||||
|
||||
- The `getrawtransaction` RPC no longer checks the unspent UTXO set for
|
||||
a transaction. The remaining behaviors are as follows: 1. If a
|
||||
blockhash is provided, check the corresponding block. 2. If no
|
||||
blockhash is provided, check the mempool. 3. If no blockhash is
|
||||
provided but txindex is enabled, also check txindex.
|
||||
|
||||
Graphical User Interface (GUI)
|
||||
------------------------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user