Description

MultiSigScript returns a valid script for a multisignature redemption where nrequired of the keys in pubkeys are required to have signed the transaction for success. An ErrBadNumRequired will be returned if nrequired is larger than the number of keys provided.

MultiSigScript is referenced in 2 repositories

github.com/btcsuite/btcd github.com/btcsuite/btcwallet