|
|
|
@ -99,7 +99,7 @@ bool IsStandardTx(const CTransaction& tx, std::string& reason, const bool witnes
@@ -99,7 +99,7 @@ bool IsStandardTx(const CTransaction& tx, std::string& reason, const bool witnes
|
|
|
|
|
for (const CTxIn& txin : tx.vin) |
|
|
|
|
{ |
|
|
|
|
// Biggest 'standard' txin is a 15-of-15 P2SH multisig with compressed
|
|
|
|
|
// keys (remember the 520 byte limit on redeemScript size). That works
|
|
|
|
|
// keys (remember the MAX_SCRIPT_ELEMENT_SIZE byte limit on redeemScript size). That works
|
|
|
|
|
// out to a (15*(33+1))+3=513 byte redeemScript, 513+1+15*(73+1)+3=1627
|
|
|
|
|
// bytes of scriptSig, which we round off to 1650 bytes for some minor
|
|
|
|
|
// future-proofing. That's also enough to spend a 20-of-20
|
|
|
|
|