3
The current Bitcoin client filters out any pushes beyond a certain size.
static const unsigned int MAX_SCRIPT_ELEMENT_SIZE = 520; // bytes
[...]
if (vchPushValue.size() > MAX_SCRIPT_ELEMENT_SIZE)
return set_error(serror, SCRIPT_ERR_PUSH_SIZE);
What's the point of doing this? Does it prevent an attack?
How difficult would it be to change this? Would increasing this constant require a soft/hard fork?