| 
    CatapultServer
    v0.5.0.1 (Elephant)
    
   | 
 
 
 
 
Go to the documentation of this file.
   24 namespace catapult { 
namespace mongo { 
namespace plugins {
 
  
 
PLUGIN_API void RegisterMongoSubsystem(catapult::mongo::MongoPluginManager &manager)
Entry point for registering a dynamic module with manager.
Definition: MongoMosaicPlugin.cpp:30
 
void addTransactionSupport(std::unique_ptr< MongoTransactionPlugin > &&pTransactionPlugin)
Adds support for a transaction described by pTransactionPlugin.
Definition: MongoPluginManager.h:53
 
std::unique_ptr< MongoReceiptPlugin > CreateMosaicExpiryReceiptMongoPlugin()
Creates a mongo mosaic expiry receipt plugin.
Definition: MosaicExpiryReceiptMapper.cpp:31
 
model::NetworkIdentifier networkIdentifier() const
Gets the network idenfifier.
Definition: MongoPluginManager.h:47
 
void addStorageSupport(std::unique_ptr< TStorage > &&pStorage)
Adds support for an external cache storage described by pStorage.
Definition: MongoPluginManager.h:64
 
PLUGIN_API std::unique_ptr< MongoTransactionPlugin > CreateMosaicSupplyChangeTransactionMongoPlugin()
Creates a mongo mosaic supply change transaction plugin.
 
#define PLUGIN_API
Definition: plugins.h:30
 
A manager for registering mongo plugins.
Definition: MongoPluginManager.h:32
 
MongoStorageContext & mongoContext() const
Gets the mongo storage context.
Definition: MongoPluginManager.h:42
 
std::unique_ptr< MongoReceiptPlugin > CreateBalanceTransferReceiptMongoPlugin(model::ReceiptType type)
Creates a mongo balance transfer receipt plugin around type.
 
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
 
PLUGIN_API std::unique_ptr< MongoTransactionPlugin > CreateMosaicDefinitionTransactionMongoPlugin()
Creates a mongo mosaic definition transaction plugin.
 
#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
 
NetworkIdentifier
Possible network identifiers.
Definition: NetworkInfo.h:45
 
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
 
void addReceiptSupport(std::unique_ptr< MongoReceiptPlugin > &&pReceiptPlugin)
Adds support for a receipt described by pReceiptPlugin.
Definition: MongoPluginManager.h:58
 
static constexpr auto Id_Property_Name
Definition: MongoMultisigCacheStorage.cpp:34
 
Definition: AddressExtractionExtension.cpp:28
 
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
 
DECLARE_MONGO_CACHE_STORAGE(HashLockInfo)
Creates a mongo hash lock info cache storage around database, bulkWriter and networkIdentifier.
 
static constexpr auto Collection_Name
Definition: MongoMultisigCacheStorage.cpp:33