dash/src/wallet
Pieter Wuille a2f107424b
Merge #10579: [RPC] Split signrawtransaction into wallet and non-wallet RPC command
d60234885b Add test for signrawtransaction (Andrew Chow)
eefff65a4b scripted-diff: change signrawtransaction to signrawtransactionwithwallet in tests (Andrew Chow)
1e79c055cd Split signrawtransaction into wallet and non-wallet (Andrew Chow)

Pull request description:

  This PR is part of #10570. It also builds on top of #10571.

  This PR splits `signrawtransaction` into two commands, `signrawtransactionwithkey` and `signrawtransactionwithwallet`. `signrawtransactionwithkey` requires private keys to be passed in and does not use the wallet for any signing. `signrawtransactionwithwallet` uses the wallet to sign a raw transaction and does not have any parameters to take private keys.

  The `signrawtransaction` RPC has been marked as deprecated and will call the appropriate RPC command based upon the parameters given. A test was added to check this behavior is still consistent with the original behavior.

  All tests that used `signrawtransaction` have been updated to use one of the two new RPCs. Most uses were changed to `signrawtransactionwithwallet`. These were changed via a scripted diff.

Tree-SHA512: d0adf5b4cd7077639c504ec07bee262a3b94658d34db0a5c86a263b6393f7aa62f45129eafe29a7c861aa58440dd19348ee0c8b685e8a62d6f4adae8ec8f8cb3
2020-12-15 11:06:25 -06:00
..
test tests: Fix PrivateSend and wallet unit tests after 3680 (#3724) 2020-09-23 09:37:05 +03:00
coincontrol.h Backport 18894: gui: Fix manual coin control with multiple wallets loaded (#3777) 2020-11-10 00:57:20 +03:00
crypter.cpp More of 13114 2020-07-18 11:00:36 -05:00
crypter.h More of 13114 2020-07-18 11:00:36 -05:00
db.cpp Merge #11878: Add Travis check for duplicate includes 2020-07-01 20:12:03 -05:00
db.h scripted-diff: Convert 11 enums into scoped enums (C++11) (merge #10742) 2020-06-11 23:20:48 -05:00
fees.cpp Backport 11651 (#3358) 2020-03-20 01:46:56 +03:00
fees.h Backport 11651 (#3358) 2020-03-20 01:46:56 +03:00
init.cpp wallet|init: Fix forcing -disablewallet if -masternodeblsprivkey is set (#3858) 2020-12-09 20:29:31 +00:00
rpcdump.cpp Merge #11200: Allow for aborting rescans in the GUI 2020-11-17 14:32:37 -05:00
rpcwallet.cpp Merge #10579: [RPC] Split signrawtransaction into wallet and non-wallet RPC command 2020-12-15 11:06:25 -06:00
rpcwallet.h Merge #10579: [RPC] Split signrawtransaction into wallet and non-wallet RPC command 2020-12-15 11:06:25 -06:00
wallet.cpp Fix a couple of issues with -rescan (#3828) 2020-11-27 17:59:07 +03:00
wallet.h Fix a couple of issues with -rescan (#3828) 2020-11-27 17:59:07 +03:00
walletdb.cpp Fix a couple of issues with -rescan (#3828) 2020-11-27 17:59:07 +03:00
walletdb.h Fix a couple of issues with -rescan (#3828) 2020-11-27 17:59:07 +03:00
walletutil.cpp Merge #12220: Error if relative -walletdir is specified 2020-03-04 10:13:31 -06:00
walletutil.h Merge #12757: Clarify include guard naming convention 2020-07-19 00:42:54 -05:00