mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-12-04 01:32:31 +01:00
Merge #12196: Add scantxoutset RPC method
be98b2d9a8[QA] Add scantxoutset test (Jonas Schnelli)eec7cf7b33scantxoutset: mention that scanning by address will miss P2PK txouts (Jonas Schnelli)94d73d32abscantxoutset: support legacy P2PK script type (Jonas Schnelli)892de1dfeascantxoutset: add support for scripts (Jonas Schnelli)78304941f7Blockchain/RPC: Add scantxoutset method to scan UTXO set (Jonas Schnelli)9048575511Add FindScriptPubKey() to search the UTXO set (Jonas Schnelli) Pull request description: Alternative to #9152. This takes `<n>` pubkeys and optionally `<n>` xpubs (together with a definable lookup windows where the default is 0-1000) and looks up common scripts in the UTXO set of all given or derived keys. The output will be an array similar to `listunspent`. That array is compatible with `createrawtransaction` as well as with `signrawtransaction`. This makes it possible to prepare sweeps and have them signed in a secure (cold) space. Tree-SHA512: a2b22a117cf6e27febeb97e5d6fe30184926d50c0c7cbc77bb4121f490fed65560c52f8eac67a9720d7bf8f420efa42459768685c7e7cc03722859f51a5e1e3b
This commit is contained in:
@@ -142,6 +142,7 @@ BASE_SCRIPTS = [
|
||||
'feature_uacomment.py',
|
||||
'p2p_unrequested_blocks.py',
|
||||
'feature_includeconf.py',
|
||||
'rpc_scantxoutset.py',
|
||||
'feature_logging.py',
|
||||
'p2p_node_network_limited.py',
|
||||
'feature_blocksdir.py',
|
||||
|
||||
Reference in New Issue
Block a user