CatapultServer
v0.5.0.1 (Elephant)
MultisigCache.h
Go to the documentation of this file.
1
21
#pragma once
22
#include "
MultisigCacheDelta.h
"
23
#include "
MultisigCacheStorage.h
"
24
#include "
MultisigCacheView.h
"
25
#include "
catapult/cache/BasicCache.h
"
26
27
namespace
catapult
{
namespace
cache {
28
30
using
BasicMultisigCache
=
BasicCache<MultisigCacheDescriptor, MultisigCacheTypes::BaseSets>
;
31
33
class
MultisigCache
:
public
SynchronizedCache
<BasicMultisigCache> {
34
public
:
35
DEFINE_CACHE_CONSTANTS
(
Multisig
)
36
37
public
:
39
explicit
MultisigCache
(
const
CacheConfiguration
& config) :
SynchronizedCache
<
BasicMultisigCache
>(
BasicMultisigCache
(config))
40
{}
41
};
42
}}
DEFINE_CACHE_CONSTANTS
#define DEFINE_CACHE_CONSTANTS(NAME)
Defines cache constants for a cache with NAME.
Definition:
CacheConstants.h:42
catapult::cache::MultisigCache::MultisigCache
MultisigCache(const CacheConfiguration &config)
Creates a cache around config.
Definition:
MultisigCache.h:39
MultisigCacheView.h
BasicCache.h
catapult::cache::CacheId::Multisig
catapult::cache::MultisigCache
Synchronized cache composed of multisig information.
Definition:
MultisigCache.h:33
catapult::cache::SynchronizedCache
Decorator that synchronizes access to a cache.
Definition:
SynchronizedCache.h:202
catapult::cache::BasicCache
Definition:
BasicCache.h:32
catapult::cache::CacheConfiguration
Cache configuration.
Definition:
CacheConfiguration.h:37
MultisigCacheStorage.h
catapult
Definition:
AddressExtractionExtension.cpp:28
MultisigCacheDelta.h
catapult-server
plugins
txes
multisig
src
cache
MultisigCache.h
Generated by
1.8.16