aboutsummaryrefslogtreecommitdiff
path: root/contrib/debian
diff options
context:
space:
mode:
authorGavin Andresen <gavinandresen@gmail.com>2012-05-22 13:56:14 -0400
committerGavin Andresen <gavinandresen@gmail.com>2012-05-22 14:15:11 -0400
commitacf513cfe75f43165ac626a608ce9cde817d97bc (patch)
tree4a9ca1fcc82b33e210813c1cdf71e1861cf0c26f /contrib/debian
parentd1edab602a3ee729b308378d9d456f01e6933cfb (diff)
downloadbitcoin-acf513cfe75f43165ac626a608ce9cde817d97bc.tar.xz
Move signature cache from CKey::Verify to CheckSig in script.cpp
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.
Diffstat (limited to 'contrib/debian')
0 files changed, 0 insertions, 0 deletions