 |
PRCYCoin
2.0.0.7rc1
P2P Digital Currency
|
Go to the documentation of this file.
6 #ifndef BITCOIN_SCRIPT_SIGCACHE_H
7 #define BITCOIN_SCRIPT_SIGCACHE_H
16 static const unsigned int DEFAULT_MAX_SIG_CACHE_SIZE = 32;
18 static const int64_t MAX_MAX_SIG_CACHE_SIZE = 16384;
33 template <u
int8_t hash_select>
36 static_assert(hash_select <8,
"SignatureCacheHasher only has 8 hashes available.");
56 #endif // BITCOIN_SCRIPT_SIGCACHE_H
We're hashing a nonce into the entries themselves, so we don't need extra blinding in the set hash co...
CachingTransactionSignatureChecker(const CTransaction *txToIn, unsigned int nInIn, bool storeIn=true)
void InitSignatureCache()
void * memcpy(void *a, const void *b, size_t c)
The basic transaction that is broadcasted on the network and contained in blocks.
const unsigned char * begin() const
256-bit unsigned big integer.
bool VerifySignature(const std::vector< unsigned char > &vchSig, const CPubKey &vchPubKey, const uint256 &sighash) const
An encapsulated public key.
uint32_t operator()(const uint256 &key) const