Bitcoin ABC 0.32.4
P2P Digital Currency
Classes | Variables
scriptcache.h File Reference
#include <array>
#include <cstdint>
#include <cuckoocache.h>
#include <uint256.h>
#include <util/hasher.h>
Include dependency graph for scriptcache.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ScriptCacheKey
 The script cache is a map using a key/value element, that caches the success of executing a specific transaction's input scripts under a specific set of flags, along with any associated information learned during execution. More...
 
struct  ScriptCacheElement
 In future if many more values are added, it should be considered to expand the element size to 64 bytes (with padding the spare space as needed) so the key can be long. More...
 
class  ScriptCacheHasher
 

Variables

static constexpr size_t DEFAULT_SCRIPT_EXECUTION_CACHE_BYTES {32 << 20}
 

Variable Documentation

◆ DEFAULT_SCRIPT_EXECUTION_CACHE_BYTES

constexpr size_t DEFAULT_SCRIPT_EXECUTION_CACHE_BYTES {32 << 20}
staticconstexpr

Definition at line 102 of file scriptcache.h.