HomePhabricator

Add scantxoutset RPC method

Description

Add scantxoutset RPC method

Summary:

  • Add FindScriptPubKey() to search the UTXO set
  • Blockchain/RPC: Add scantxoutset method to scan UTXO set
  • scantxoutset: add support for scripts
  • scantxoutset: support legacy P2PK script type
  • [QA] Add scantxoutset test
  • scantxoutset: mention that scanning by address will miss P2PK txouts

This is a backport fo Core PR12196

Test Plan:

make check
./test/functional/test_runner.py

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Subscribers: Fabien

Differential Revision: https://reviews.bitcoinabc.org/D4357

Details

Provenance
Jonas Schnelli <dev@jonasschnelli.ch>Authored on Jan 15 2018, 21:23
deadalnixCommitted on Nov 11 2019, 14:16
deadalnixPushed on Nov 11 2019, 14:16
Reviewer
Restricted Project
Differential Revision
D4357: Add scantxoutset RPC method
Parents
rABC755aac0bbfd6: [CMAKE] Install DLL to bin/ by default
Branches
Unknown
Tags
Unknown

Event Timeline