1
What is the maximum size for an input script so to be considered standard ? Looking at the Bitcoin Core source code it appears to be 10'000 byte, however reading here and there, it appears to be 1650 byte. If that's the case, if the input script is redeeming a P2SH, is the size of the redeem script (520 byte) to be considered in the count, or not ? Thank you very much !
Thank you very much. So it appears that also the redeem script is included in the 1650 byte. So I effectively have, if the redeem script has the max size of 520 byte, just 1130 byte. – Daniele – 2019-01-10T19:21:17.873
Sounds right to me. Also, there is segregated witness data which doesn't look like it counts towards the
scriptSiglimit. – JBaczuk – 2019-01-10T19:27:19.717Technically, a 520 byte size redeemScript has an overhead of 3 more bytes, the
OP_PUSHDATA2opcode that is one byte and another two bytes0x0802for the actual size value 520 – arubi – 2019-01-10T19:36:39.940