aboutsummaryrefslogtreecommitdiff
path: root/src/qt/optionsmodel.cpp
diff options
context:
space:
mode:
authorGavin Andresen <[email protected]>2012-05-22 13:56:14 -0400
committerGavin Andresen <[email protected]>2012-05-22 14:15:11 -0400
commitacf513cfe75f43165ac626a608ce9cde817d97bc (patch)
tree4a9ca1fcc82b33e210813c1cdf71e1861cf0c26f /src/qt/optionsmodel.cpp
parentMerge pull request #1379 from laanwj/2012_05_macoshide (diff)
downloaddiscoin-acf513cfe75f43165ac626a608ce9cde817d97bc.tar.xz
discoin-acf513cfe75f43165ac626a608ce9cde817d97bc.zip
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 'src/qt/optionsmodel.cpp')
0 files changed, 0 insertions, 0 deletions