Bitcoin ABC 0.26.3
P2P Digital Currency
|
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...
#include <scriptcache.h>
Public Member Functions | |
ScriptCacheKey ()=default | |
ScriptCacheKey (const ScriptCacheKey &rhs)=default | |
ScriptCacheKey (const CTransaction &tx, uint32_t flags) | |
ScriptCacheKey & | operator= (const ScriptCacheKey &rhs)=default |
bool | operator== (const ScriptCacheKey &rhs) const |
Private Attributes | |
std::array< uint8_t, 28 > | data |
Friends | |
class | ScriptCacheHasher |
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.
The key is slightly shorter than a power-of-two size to make room for the value.
Definition at line 25 of file scriptcache.h.
|
default |
|
default |
ScriptCacheKey::ScriptCacheKey | ( | const CTransaction & | tx, |
uint32_t | flags | ||
) |
|
default |
|
inline |
|
friend |
Definition at line 39 of file scriptcache.h.
|
private |
Definition at line 26 of file scriptcache.h.