Re: Version 0.3.12

What does the prohibition of “nonstandard” transactions do?

main.cpp:506
// Rather not work on nonstandard transactions
if (GetSigOpCount() > 2 || ::GetSerializeSize(*this, SER_NETWORK) < 100)
  return error("AcceptToMemoryPool() : nonstandard transaction");

What is included in “GetSigOpCount”, and what does “GetSerializeSize” measure?

This is “lightly” enforced by the network:

main.cpp:1425
// Check that it's not full of nonstandard transactions
if (nHeight > 79400 && GetSigOpCount() > MAX_BLOCK_SIGOPS)
  return error("AcceptBlock() : too many nonstandard transactions");