diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2013-05-04 16:10:09 +0200 |
---|---|---|
committer | Pieter Wuille <sipa@ulyssis.org> | 2013-05-30 05:20:23 +0200 |
commit | 896185d7ed3fa23415424c608f0897d6139640f4 (patch) | |
tree | 818fdef522d74587e8b85d2f60e3682b47a18b73 /src/allocators.h | |
parent | dfa23b94c24aae6466152fccbe896ba5dc0e97b4 (diff) |
Make signature cache store CPubKeys
Diffstat (limited to 'src/allocators.h')
-rw-r--r-- | src/allocators.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/allocators.h b/src/allocators.h index b4490ce277..85af8fe376 100644 --- a/src/allocators.h +++ b/src/allocators.h @@ -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)); } |