aboutsummaryrefslogtreecommitdiff
path: root/src/protocol.cpp
diff options
context:
space:
mode:
authorGavin Andresen <[email protected]>2012-01-20 17:07:40 -0500
committerGavin Andresen <[email protected]>2012-01-20 17:07:40 -0500
commit137d0685a45d4a02f5773652130704ad135e63f7 (patch)
treeb28518fa3c67aebea8e9720a24661b6747fe524f /src/protocol.cpp
parentBack out spacing changes to json spirit code (diff)
downloaddiscoin-137d0685a45d4a02f5773652130704ad135e63f7.tar.xz
discoin-137d0685a45d4a02f5773652130704ad135e63f7.zip
Simplify counting of P2SH sigops to match BIP 16 (thanks to Matt Corallo for prompting this).
This also removes an un-needed sigops-per-byte check when accepting transactions to the memory pool (un-needed assuming only standard transactions are being accepted). And it only counts P2SH sigops after the switchover date.
Diffstat (limited to 'src/protocol.cpp')
0 files changed, 0 insertions, 0 deletions