Page MenuHomePhabricator

test: Add generatetodescriptor RPC
ClosedPublic

Authored by Fabien on Oct 19 2020, 14:22.

Details

Reviewers
deadalnix
Group Reviewers
Restricted Project
Commits
rABC08a28259cd0e: test: Add generatetodescriptor RPC
Summary
The existing generatetoaddress RPC can only generate to scriptPubKeys
that can be represented by an address. However, raw scripts (such as
OP_TRUE) or P2PK can not be represented by an address, which complicates
testing.

Backport of core PR16943.

Depends on D7983.

Test Plan
ninja all check-all

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable