HomePhabricator

Add outputtype module

Description

Add outputtype module

Summary:
Moves OutputType into its own module

  • Move AddAndGetDestinationForScript from wallet to outputype module

Makes AddAndGetDestinationForScript use a generic CKeyStore rather than
the wallet, and makes it always add the script to the keystore, rather
than only adding related (redeem) scripts.

  • segwit support for createmultisig RPC
  • [tests] functional test for createmultisig RPC

This is a backport of Core PR13072

Depends on D4423

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/D4424

Details

Provenance
Anthony Towns <aj@erisian.com.au>Authored on Jul 9 2018, 08:15
deadalnixCommitted on Nov 18 2019, 13:18
deadalnixPushed on Nov 18 2019, 15:17
Reviewer
Restricted Project
Differential Revision
D4424: Add outputtype module
Parents
rSTAGING736aaeedc13d: [CMAKE] Use a stripped binary to build the dist and DMG for OSX
Branches
Unknown
Tags
Unknown