CatapultServer
v0.5.0.1 (Elephant)
|
Go to the documentation of this file.
24 namespace catapult {
namespace cache {
class CatapultCache; } }
26 namespace catapult {
namespace cache {
utils::ByteArray< Hash256_Size, Hash256_tag > Hash256
Definition: src/catapult/types.h:47
Synchronized cache composed of timestamped hashes of (transaction) elements.
Definition: HashCache.h:49
LockedCacheView< CacheViewType > createView() const
Returns a locked cache view based on this cache.
Definition: SynchronizedCache.h:218
PLUGIN_API void RegisterExtension(catapult::extensions::ProcessBootstrapper &bootstrapper)
Entry point for registering a dynamic extension module with bootstrapper.
Definition: HashCacheExtension.cpp:38
#define PLUGIN_API
Definition: plugins.h:30
Central cache holding all sub caches.
Definition: CatapultCache.h:40
void registerSystemPlugin(const std::string &name)
Registers a system plugin with name.
Definition: ExtensionManager.cpp:34
bool HashCacheContains(const CatapultCache &cache, Timestamp timestamp, const Hash256 &hash)
Returns true if cache contains hash with timestamp.
Definition: HashCachePredicates.cpp:27
ExtensionManager & extensionManager()
Gets the extension manager.
Definition: ProcessBootstrapper.cpp:67
Represents a hash with attached timestamp.
Definition: TimestampedHash.h:31
utils::BaseValue< uint64_t, Timestamp_tag > Timestamp
Definition: src/catapult/types.h:73
const TCache & sub() const
Gets a specific sub cache.
Definition: CatapultCache.h:56
Definition: AddressExtractionExtension.cpp:28
Process bootstrapper.
Definition: ProcessBootstrapper.h:42
Base class for wrappers of byte array types, to provide some type-safety.
Definition: ByteArray.h:29