Post
Topic
Board Development & Technical Discussion
Re: Is there any limitation of P2SH?
by
ETFbitcoin
on 12/01/2020, 19:24:54 UTC
1. Maximum Bitcoin script is 40000 weight (or 10000 bytes before SegWit activiation)


If i remember right, P2SH redeem script is just 520 byte of space.

According to https://en.bitcoin.it/wiki/BIP_0016#520-byte_limitation_on_serialized_script_size, looks like 520 byte is maximum size of data that allowed to be pushed to the stack, not maximum script size.

I might be wrong since i'm not a developer.