Post
Topic
Board Development & Technical Discussion
Re: Catastrophic P2SH public addresses?
by
BTCW
on 25/06/2020, 18:05:15 UTC
This script ("0x4c01014c010287" in hexadecimal)

FWIW this script is non-standard too so almost all nodes are going to reject it on first round (on 0x4c) without even reaching the EQUAL part since it is not minimal push (one and two should use OP_1 and OP_2)
https://github.com/bitcoin/bitcoin/blob/master/src/script/interpreter.cpp#L234-L236

But the script is hashed, nodes cannot know the size of the script until someone tries to spend from it!

Here is an interesting and verified transaction

https://www.blockchain.com/btc/tx/38fe36c532c7336c6db407268803787f168781660b64b7a62a63c83168200618

The underlying scripts for all the receiving P2SH addresses (most being successfully spent!), as far as I can see, a single byte script (i.e. each valid OP-code).