Just did a thing ...
Proposal: Limit ScriptPubkey to be less than <= 520 bytes at the consensus level.
Solves:
- DoS Blocks
- Large OP_RETURNs
Would love to hear from others why this can or won't work.
https://groups.google.com/g/bitcoindev/c/YO8ZwnG_ISs…