Build a multisig destination and add its keys and script to the keystore.
Synopsis
Declared in <rpc/util.h>
CTxDestination
AddAndGetMultisigDestination(
int required,
std::vector<CPubKey> const& pubkeys,
OutputType type,
FlatSigningProvider& keystore,
CScript& script_out);
Return Value
The multisig destination address.
Parameters
Name |
Description |
required |
Number of required signatures. |
pubkeys |
The participating public keys. |
type |
The output type to produce. |
keystore |
Signing provider that receives the generated keys and script. |
script_out |
Set to the generated redeem/witness script. |
Created with MrDocs