Bitcoin ABC  0.29.2
P2P Digital Currency
Functions
sigcache.cpp File Reference
#include <script/sigcache.h>
#include <cuckoocache.h>
#include <pubkey.h>
#include <random.h>
#include <uint256.h>
#include <util/system.h>
#include <algorithm>
#include <mutex>
#include <optional>
#include <shared_mutex>
#include <vector>
Include dependency graph for sigcache.cpp:

Go to the source code of this file.

Functions

bool InitSignatureCache (size_t max_size_bytes)
 
template<typename F >
bool RunMemoizedCheck (const std::vector< uint8_t > &vchSig, const CPubKey &pubkey, const uint256 &sighash, bool storeOrErase, const F &fun)
 

Function Documentation

◆ InitSignatureCache()

bool InitSignatureCache ( size_t  max_size_bytes)

Definition at line 84 of file sigcache.cpp.

Here is the caller graph for this function:

◆ RunMemoizedCheck()

template<typename F >
bool RunMemoizedCheck ( const std::vector< uint8_t > &  vchSig,
const CPubKey pubkey,
const uint256 sighash,
bool  storeOrErase,
const F &  fun 
)

Definition at line 98 of file sigcache.cpp.

Here is the caller graph for this function: