From 896185d7ed3fa23415424c608f0897d6139640f4 Mon Sep 17 00:00:00 2001 From: Pieter Wuille Date: Sat, 4 May 2013 16:10:09 +0200 Subject: Make signature cache store CPubKeys --- src/allocators.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/allocators.h') 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 void LockObject(const T &t) { LockedPageManager::instance.LockRange((void*)(&t), sizeof(T)); } -- cgit v1.2.3