parameters: (utxoScript, lboxList=None)
return_statement: return 1650
docstring: Since this is always used for fee estimation, we overestimate the size to
     be conservative.  However, if this is P2SH, we won't have a clue what the
     hashed script is, so unless we find it in our lockbox map, we assume the 
     max-max which is 1,650 bytes.
  
     Otherwise the TxIn is always:
        PrevTxHash(32), PrevTxOutIndex(4), Script(_), Sequence(4)
docstring_summary: Since this is always used for fee estimation, we overestimate the size to
     be conservative.  However, if this is P2SH, we won't have a clue what the
     hashed script is, so unless we find it in our lockbox map, we assume the 
     max-max which is 1,650 bytes.
docstring_tokens: Since this is always used for fee estimation we overestimate the size to be conservative . However if this is P2SH we won t have a clue what the hashed script is so unless we find it in our lockbox map we assume the max - max which is 1 650 bytes .
function: def approxTxInSizeForTxOut(utxoScript, lboxList=None):
     """
     Since this is always used for fee estimation, we overestimate the size to
     be conservative.  However, if this is P2SH, we won't have a clue what the
     hashed script is, so unless we find it in our lockbox map, we assume the 
     max-max which is 1,650 bytes.
  
     Otherwise the TxIn is always:
        PrevTxHash(32), PrevTxOutIndex(4), Script(_), Sequence(4)
     """
  
     scrType = getTxOutScriptType(utxoScript)
     if scrType == CPP_TXOUT_STDHASH160:
        return 180
     elif scrType in [CPP_TXOUT_STDPUBKEY33, CPP_TXOUT_STDPUBKEY65]:
        return 110
     elif scrType == CPP_TXOUT_MULTISIG:
        M,N,a160s,pubs = getMultisigScriptInfo(utxoScript)
        return M*70 + 40
     elif scrType == CPP_TXOUT_P2SH and not lboxList is None:
        scrAddr = script_to_scrAddr(utxoScript)
        for lbox in lboxList:
           if scrAddr == lbox.p2shScrAddr:
              M,N,a160s,pubs = getMultisigScriptInfo(lbox.binScript)
              return M*70 + 40
  
     # If we got here, we didn't identify it at all.  Assume max for TxIn
     return 1650
function_tokens: def approxTxInSizeForTxOut ( utxoScript , lboxList = None ) : scrType = getTxOutScriptType ( utxoScript ) if scrType == CPP_TXOUT_STDHASH160 : return 180 elif scrType in [ CPP_TXOUT_STDPUBKEY33 , CPP_TXOUT_STDPUBKEY65 ] : return 110 elif scrType == CPP_TXOUT_MULTISIG : M , N , a160s , pubs = getMultisigScriptInfo ( utxoScript ) return M * 70 + 40 elif scrType == CPP_TXOUT_P2SH and not lboxList is None : scrAddr = script_to_scrAddr ( utxoScript ) for lbox in lboxList : if scrAddr == lbox . p2shScrAddr : M , N , a160s , pubs = getMultisigScriptInfo ( lbox . binScript ) return M * 70 + 40 # If we got here, we didn't identify it at all.  Assume max for TxIn return 1650