diff options
| author | Gavin Andresen <[email protected]> | 2012-05-16 15:57:04 -0400 |
|---|---|---|
| committer | Gavin Andresen <[email protected]> | 2012-05-18 10:41:18 -0400 |
| commit | 62922c8ab030953f159b9433e8a8703ab64cea02 (patch) | |
| tree | 325342bf62847bba78a688b37e93ab2098ccdcab /src/script.cpp | |
| parent | Further DoS prevention: Verify signatures last (diff) | |
| download | discoin-62922c8ab030953f159b9433e8a8703ab64cea02.tar.xz discoin-62922c8ab030953f159b9433e8a8703ab64cea02.zip | |
Cache signature verifications
Create a maximum-10MB signature verification result cache.
This should almost double the number of transactions that
can be processed on a given CPU, because before this change
ECDSA signatures were verified when transactions were added
to the memory pool and then again when they appeared in
a block.
Diffstat (limited to 'src/script.cpp')
0 files changed, 0 insertions, 0 deletions