HomePhabricator

[Part 1 of 3] Split signrawtransaction into wallet and non-wallet

Description

[Part 1 of 3] Split signrawtransaction into wallet and non-wallet

Summary:
Splits signrwatransaction into a wallet version (signrawtransactionwithwallet) and
non-wallet version (signrawtransactionwithkey). signrawtransaction will call the right signrawtransaction* command as per the parameters in order to
maintain compatibility.

Updated signrawtransactions test to use new RPCs

Backport 1/3 of core PR10579 (partial backport of commit 1e79c05)

Note: in order to not break the tests, the signrawtransaction deprecation will be backported in a later diff, once all the tests are updated to the new RPC.

Part of T438

Test Plan:

make check
./test/functional/test_runner.py signrawtransactions txn_clone abc-high_prioriy_transaction

Reviewers: #bitcoin_abc, jasonbcox, deadalnix

Reviewed By: #bitcoin_abc, jasonbcox, deadalnix

Subscribers: markblundeberg, deadalnix, jasonbcox, teamcity

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

Details

Provenance
Andrew Chow <achow101-github@achow101.com>Authored on Feb 11 2019, 12:00
FabienCommitted on Feb 28 2019, 08:14
FabienPushed on Feb 28 2019, 08:14
Reviewer
Restricted Project
Differential Revision
D2007: [Part 1 of 3] Split signrawtransaction into wallet and non-wallet
Parents
rABC8e27b02b0cfd: Create new mutex for orphans, no cs_main in PLV::BlockConnected
Branches
Unknown
Tags
Unknown