Bitcoin ABC 0.30.7
P2P Digital Currency
Functions
sigcache.cpp File Reference
#include <script/sigcache.h>
#include <common/system.h>
#include <cuckoocache.h>
#include <logging.h>
#include <pubkey.h>
#include <random.h>
#include <uint256.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 85 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 99 of file sigcache.cpp.

Here is the caller graph for this function: