mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-03-12 00:26:03 +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:
@@ -78,6 +78,7 @@ static const CRPCConvertParam vRPCConvertParams[] =
|
||||
{ "sendmany", 4, "subtractfeefrom" },
|
||||
{ "sendmany", 5 , "replaceable" },
|
||||
{ "sendmany", 6 , "conf_target" },
|
||||
{ "scantxoutset", 1, "scanobjects" },
|
||||
{ "addmultisigaddress", 0, "nrequired" },
|
||||
{ "addmultisigaddress", 1, "keys" },
|
||||
{ "createmultisig", 0, "nrequired" },
|
||||
|
||||
Reference in New Issue
Block a user