diff options
| author | Gavin Andresen <[email protected]> | 2012-01-20 17:07:40 -0500 |
|---|---|---|
| committer | Gavin Andresen <[email protected]> | 2012-01-20 17:07:40 -0500 |
| commit | 137d0685a45d4a02f5773652130704ad135e63f7 (patch) | |
| tree | b28518fa3c67aebea8e9720a24661b6747fe524f /src/protocol.cpp | |
| parent | Back out spacing changes to json spirit code (diff) | |
| download | discoin-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