lbrycrd/src/rpc
MeshCollider 303ec103ba
Merge #16026: Ensure that uncompressed public keys in a multisig always returns a legacy address
a49503402b Make and get the multisig redeemscript and destination in one function instead of two (Andrew Chow)

Pull request description:

  `CreateMultisigRedeemscript()` is changed to `AddAndGetMultisigDestination()` so that the process of constructing the redeemScript and then getting the `CTxDestination` are done in the same function. This allows that function to see what the keys in the multisig are so that the correct address type is returned from `AddAndGetDestinationForScript()`.

  This only effects the `createmultisig` and `addmultisigaddress` RPCs and does not change signing logic as #16022 does.

  Alternative to #16022 and #16012

  Fixes #16011

ACKs for commit a49503:

Tree-SHA512: 5b0154a714deea3b2cc3a54beb420c95eeeacf4ca30c40ca80940d9d640f8b03611b0fc14c2f0710bfd8a79e8d27ad7d9ae380b4b83d52b40ab201624f2a63f0
2019-06-21 19:44:08 +12:00
..
blockchain.cpp Fix RPC/pruneblockchain returned prune height 2019-06-11 10:21:40 +02:00
blockchain.h rpc: Add lock annotations to block{,header}ToJSON 2019-05-02 14:33:26 -04:00
client.cpp wallet/rpc: add 'avoid_reuse' option to RPC commands 2019-05-29 18:40:31 +09:00
client.h Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
mining.cpp refactoring: IsInitialBlockDownload -> CChainState 2019-05-16 09:06:54 -04:00
misc.cpp Merge #16026: Ensure that uncompressed public keys in a multisig always returns a legacy address 2019-06-21 19:44:08 +12:00
net.cpp Make reasoning about dependencies easier by not including unused dependencies 2019-06-02 17:15:23 +02:00
protocol.cpp Make reasoning about dependencies easier by not including unused dependencies 2019-06-02 17:15:23 +02:00
protocol.h Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
rawtransaction.cpp Merge #15899: rpc: Document iswitness flag and fix bug in converttopsbt 2019-06-19 00:52:39 +12:00
rawtransaction_util.cpp Make reasoning about dependencies easier by not including unused dependencies 2019-06-02 17:15:23 +02:00
rawtransaction_util.h rpc: Remove dependency on interfaces::Chain in SignTransaction 2019-04-17 08:17:17 -04:00
register.h Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
server.cpp Make reasoning about dependencies easier by not including unused dependencies 2019-06-02 17:15:23 +02:00
server.h [build] Move rpc utility methods to rpc/util 2019-04-09 17:53:08 -04:00
util.cpp Make and get the multisig redeemscript and destination in one function instead of two 2019-06-20 11:02:00 -04:00
util.h Make and get the multisig redeemscript and destination in one function instead of two 2019-06-20 11:02:00 -04:00