Changeset View
Changeset View
Standalone View
Standalone View
src/script/sigcache.cpp
// Copyright (c) 2009-2010 Satoshi Nakamoto | // Copyright (c) 2009-2010 Satoshi Nakamoto | ||||
// Copyright (c) 2009-2016 The Bitcoin Core developers | // Copyright (c) 2009-2016 The Bitcoin Core developers | ||||
// Distributed under the MIT software license, see the accompanying | // Distributed under the MIT software license, see the accompanying | ||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php. | // file COPYING or http://www.opensource.org/licenses/mit-license.php. | ||||
#include "sigcache.h" | #include <script/sigcache.h> | ||||
#include "cuckoocache.h" | #include <cuckoocache.h> | ||||
#include "memusage.h" | #include <memusage.h> | ||||
#include "pubkey.h" | #include <pubkey.h> | ||||
#include "random.h" | #include <random.h> | ||||
#include "uint256.h" | #include <uint256.h> | ||||
#include "util.h" | #include <util.h> | ||||
#include <boost/thread/shared_mutex.hpp> | #include <boost/thread/shared_mutex.hpp> | ||||
namespace { | namespace { | ||||
/** | /** | ||||
* Declare which flags absolutely do not affect VerifySignature() result. | * Declare which flags absolutely do not affect VerifySignature() result. | ||||
* We this to reduce unnecessary cache misses (such as when policy and consensus | * We this to reduce unnecessary cache misses (such as when policy and consensus | ||||
▲ Show 20 Lines • Show All 112 Lines • Show Last 20 Lines |