CatapultServer  v0.5.0.1 (Elephant)
MongoMultisigCacheStorage.h
Go to the documentation of this file.
1 
21 #pragma once
23 
24 namespace catapult { namespace mongo { namespace plugins {
25 
28 }}}
MongoReceiptPluginFactory.h
CacheStorageInclude.h
MultisigEntryMapper.h
MultisigCache.h
RegisterMongoSubsystem
PLUGIN_API void RegisterMongoSubsystem(catapult::mongo::MongoPluginManager &manager)
Entry point for registering a dynamic module with manager.
Definition: MongoMosaicPlugin.cpp:30
catapult::mongo::MongoPluginManager::addTransactionSupport
void addTransactionSupport(std::unique_ptr< MongoTransactionPlugin > &&pTransactionPlugin)
Adds support for a transaction described by pTransactionPlugin.
Definition: MongoPluginManager.h:53
catapult::mongo::plugins::CreateMosaicExpiryReceiptMongoPlugin
std::unique_ptr< MongoReceiptPlugin > CreateMosaicExpiryReceiptMongoPlugin()
Creates a mongo mosaic expiry receipt plugin.
Definition: MosaicExpiryReceiptMapper.cpp:31
catapult::mongo::MongoPluginManager::networkIdentifier
model::NetworkIdentifier networkIdentifier() const
Gets the network idenfifier.
Definition: MongoPluginManager.h:47
MongoMosaicCacheStorage.h
MosaicReceiptType.h
catapult::mongo::MongoPluginManager::addStorageSupport
void addStorageSupport(std::unique_ptr< TStorage > &&pStorage)
Adds support for an external cache storage described by pStorage.
Definition: MongoPluginManager.h:64
catapult::mongo::plugins::CreateMosaicSupplyChangeTransactionMongoPlugin
PLUGIN_API std::unique_ptr< MongoTransactionPlugin > CreateMosaicSupplyChangeTransactionMongoPlugin()
Creates a mongo mosaic supply change transaction plugin.
MosaicSupplyChangeMapper.h
PLUGIN_API
#define PLUGIN_API
Definition: plugins.h:30
catapult::mongo::MongoPluginManager
A manager for registering mongo plugins.
Definition: MongoPluginManager.h:32
catapult::mongo::MongoPluginManager::mongoContext
MongoStorageContext & mongoContext() const
Gets the mongo storage context.
Definition: MongoPluginManager.h:42
Address.h
catapult::mongo::CreateBalanceTransferReceiptMongoPlugin
std::unique_ptr< MongoReceiptPlugin > CreateBalanceTransferReceiptMongoPlugin(model::ReceiptType type)
Creates a mongo balance transfer receipt plugin around type.
MongoPluginManager.h
MosaicDefinitionMapper.h
catapult::model::PublicKeyToAddress
Address PublicKeyToAddress(const Key &publicKey, NetworkIdentifier networkIdentifier)
Creates an address from a public key (publicKey) for the network identified by networkIdentifier.
Definition: Address.cpp:50
catapult::mongo::plugins::CreateMosaicDefinitionTransactionMongoPlugin
PLUGIN_API std::unique_ptr< MongoTransactionPlugin > CreateMosaicDefinitionTransactionMongoPlugin()
Creates a mongo mosaic definition transaction plugin.
DEFINE_MONGO_FLAT_CACHE_STORAGE
#define DEFINE_MONGO_FLAT_CACHE_STORAGE(NAME, TRAITS_NAME)
Defines a mongo flat cache storage with NAME using TRAITS_NAME.
Definition: extensions/mongo/src/CacheStorageInclude.h:41
catapult::model::NetworkIdentifier
NetworkIdentifier
Possible network identifiers.
Definition: NetworkInfo.h:45
catapult::mongo::plugins::ToDbModel
bsoncxx::document::value ToDbModel(const state::HashLockInfo &hashLockInfo, const Address &accountAddress)
Maps a hashLockInfo and accountAddress to the corresponding db model value.
Definition: HashLockInfoMapper.cpp:40
catapult::mongo::MongoPluginManager::addReceiptSupport
void addReceiptSupport(std::unique_ptr< MongoReceiptPlugin > &&pReceiptPlugin)
Adds support for a receipt described by pReceiptPlugin.
Definition: MongoPluginManager.h:58
Id_Property_Name
static constexpr auto Id_Property_Name
Definition: MongoMultisigCacheStorage.cpp:34
catapult
Definition: AddressExtractionExtension.cpp:28
MosaicExpiryReceiptMapper.h
MongoMultisigCacheStorage.h
catapult::mongo::mappers::ToBinary
bsoncxx::types::b_binary ToBinary(const uint8_t *pData, size_t size)
Converts raw array (pData) of size elements into bson binary type.
Definition: MapperUtils.cpp:30
MongoCacheStorage.h
catapult::mongo::plugins::DECLARE_MONGO_CACHE_STORAGE
DECLARE_MONGO_CACHE_STORAGE(HashLockInfo)
Creates a mongo hash lock info cache storage around database, bulkWriter and networkIdentifier.
Collection_Name
static constexpr auto Collection_Name
Definition: MongoMultisigCacheStorage.cpp:33