Bitcoin Core 28.99.0
P2P Digital Currency
Classes | Variables
sigcache.h File Reference
#include <consensus/amount.h>
#include <crypto/sha256.h>
#include <cuckoocache.h>
#include <script/interpreter.h>
#include <span.h>
#include <uint256.h>
#include <util/hasher.h>
#include <cstddef>
#include <shared_mutex>
#include <vector>
Include dependency graph for sigcache.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  SignatureCache
 Valid signature cache, to avoid doing expensive ECDSA signature checking twice for every transaction (once when accepted into memory pool, and again when accepted into the block chain) More...
 
class  CachingTransactionSignatureChecker
 

Variables

static constexpr size_t DEFAULT_VALIDATION_CACHE_BYTES {32 << 20}
 
static constexpr size_t DEFAULT_SIGNATURE_CACHE_BYTES {DEFAULT_VALIDATION_CACHE_BYTES / 2}
 
static constexpr size_t DEFAULT_SCRIPT_EXECUTION_CACHE_BYTES {DEFAULT_VALIDATION_CACHE_BYTES / 2}
 

Variable Documentation

◆ DEFAULT_SCRIPT_EXECUTION_CACHE_BYTES

constexpr size_t DEFAULT_SCRIPT_EXECUTION_CACHE_BYTES {DEFAULT_VALIDATION_CACHE_BYTES / 2}
staticconstexpr

Definition at line 30 of file sigcache.h.

◆ DEFAULT_SIGNATURE_CACHE_BYTES

constexpr size_t DEFAULT_SIGNATURE_CACHE_BYTES {DEFAULT_VALIDATION_CACHE_BYTES / 2}
staticconstexpr

Definition at line 29 of file sigcache.h.

◆ DEFAULT_VALIDATION_CACHE_BYTES

constexpr size_t DEFAULT_VALIDATION_CACHE_BYTES {32 << 20}
staticconstexpr

Definition at line 28 of file sigcache.h.