Make signature cache store CPubKeys

This commit is contained in:
Pieter Wuille
2013-05-04 16:10:09 +02:00
committed by Pieter Wuille
parent dfa23b94c2
commit 896185d7ed
3 changed files with 19 additions and 12 deletions

View File

@@ -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));
}