mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-12-03 17:30:25 +01:00
Make signature cache store CPubKeys
This commit is contained in:
committed by
Pieter Wuille
parent
dfa23b94c2
commit
896185d7ed
@@ -176,6 +176,10 @@ private:
|
||||
{}
|
||||
};
|
||||
|
||||
//
|
||||
// Functions for directly locking/unlocking memory objects.
|
||||
// Intended for non-dynamically allocated structures.
|
||||
//
|
||||
template<typename T> void LockObject(const T &t) {
|
||||
LockedPageManager::instance.LockRange((void*)(&t), sizeof(T));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user