Master Core  v0.0.9 - 2abfd2849db8ba7a83957c64eb976b406713c123
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Public Member Functions | Private Types | Private Attributes | List of all members
CSignatureCache Class Reference
+ Collaboration diagram for CSignatureCache:

Public Member Functions

bool Get (const uint256 &hash, const std::vector< unsigned char > &vchSig, const CPubKey &pubKey)
 
void Set (const uint256 &hash, const std::vector< unsigned char > &vchSig, const CPubKey &pubKey)
 

Private Types

typedef boost::tuple< uint256, std::vector< unsigned char >, CPubKeysigdata_type
 

Private Attributes

std::set< sigdata_typesetValid
 
boost::shared_mutex cs_sigcache
 

Detailed Description

Definition at line 1091 of file script.cpp.

Member Typedef Documentation

typedef boost::tuple<uint256, std::vector<unsigned char>, CPubKey> CSignatureCache::sigdata_type
private

Definition at line 1095 of file script.cpp.

Member Function Documentation

bool CSignatureCache::Get ( const uint256 hash,
const std::vector< unsigned char > &  vchSig,
const CPubKey pubKey 
)
inline

Definition at line 1101 of file script.cpp.

Referenced by CheckSig().

+ Here is the caller graph for this function:

void CSignatureCache::Set ( const uint256 hash,
const std::vector< unsigned char > &  vchSig,
const CPubKey pubKey 
)
inline

Definition at line 1112 of file script.cpp.

References GetArg(), and GetRandHash().

Referenced by CheckSig().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

boost::shared_mutex CSignatureCache::cs_sigcache
private

Definition at line 1097 of file script.cpp.

std::set< sigdata_type> CSignatureCache::setValid
private

Definition at line 1096 of file script.cpp.


The documentation for this class was generated from the following file: