docs: def make_multisig_info( m, pks, compressed=None ):
      """
      Make a multisig address and redeem script.
      @m of the given @pks must sign.
  
      Return {'address': p2sh address, 'redeem_script': redeem script, 'private_keys': private keys, 'segwit': False}
      * privkeys will be hex-encoded
      * redeem_script will be hex-encoded
      """
  
      pubs = []
      privkeys = []
      for pk in pks:
          priv = None
          if compressed in [True, False]:
              priv = BitcoinPrivateKey(pk, compressed=compressed)
          else:
              priv = BitcoinPrivateKey(pk)
  
          priv_hex = priv.to_hex()
          pub_hex = priv.public_key().to_hex()
  
          privkeys.append(priv_hex)
          pubs.append(pub_hex)
  
      script = make_multisig_script(pubs, m)
      addr = btc_make_p2sh_address(script)
  
      return {
          'address': addr,
          'redeem_script': script,
          'private_keys': privkeys,
          'segwit': False,
      }