Build a multisig destination and add its keys and script to the keystore.
Declared in <rpc/util.h>
CTxDestination
AddAndGetMultisigDestination(
int required,
std::vector<CPubKey> const& pubkeys,
OutputType type,
FlatSigningProvider& keystore,
CScript& script_out);
The multisig destination address.
| 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. |