aboutsummaryrefslogtreecommitdiff
path: root/src/key.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Bugfix: Fix a variety of misspellingsLuke Dashjr2012-08-011-1/+1
|
* fix a memory leak in key.cppPhilip Kaufmann2012-06-211-0/+3
| | | | | - add EC_KEY_free() in CKey::Reset() when pkey != NULL - init pkey with NULL in CKey constructor
* Encapsulate public keys in CPubKeyPieter Wuille2012-05-241-6/+6
|
* Move signature cache from CKey::Verify to CheckSig in script.cppGavin Andresen2012-05-221-65/+0
| | | | | | | | | | | More than doubles the speed of verifying already-cached signatures that use compressed pubkeys: Before: ~200 microseconds After: ~80 microseconds (no caching at all: ~3,300 microseconds per signature) Also encapsulates the signature cache code in a class and fixes a signed/unsigned comparison warning.
* Merge branch 'optimize'Gavin Andresen2012-05-221-1/+331
|\
| * Cache signature verificationsGavin Andresen2012-05-181-0/+68
| | | | | | | | | | | | | | | | | | 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.
| * Refactor: move code from key.h to key.cppGavin Andresen2012-05-171-1/+262
| |
* | Update License in File HeadersFordy2012-05-181-1/+1
|/ | | | | | I originally created a pull to replace the "COPYING" in crypter.cpp and crypter.h, but it turned out that COPYING was actually the correct file.
* Update all copyrights to 2012Gavin Andresen2012-02-071-1/+1
|
* Add GetSecret() and GetKeys() to CKeyStorePieter Wuille2011-12-171-0/+117