| 
    CatapultServer
    v0.5.0.1 (Elephant)
    
   | 
 
 
 
 
Go to the documentation of this file.
   24 namespace catapult { 
namespace mongo { 
namespace plugins {
 
  
 
utils::BaseValue< uint64_t, NamespaceId_tag > NamespaceId
Definition: plugins/txes/namespace/src/types.h:28
 
void addTransactionSupport(std::unique_ptr< MongoTransactionPlugin > &&pTransactionPlugin)
Adds support for a transaction described by pTransactionPlugin.
Definition: MongoPluginManager.h:53
 
int64_t ToInt64(TBaseValue value)
Converts base value to int64_t.
Definition: MapperUtils.h:75
 
model::NetworkIdentifier networkIdentifier() const
Gets the network idenfifier.
Definition: MongoPluginManager.h:47
 
std::vector< NamespaceDescriptor > NamespaceDescriptorsFromHistory(const state::RootNamespaceHistory &history, model::NetworkIdentifier networkIdentifier)
Converts the root namespace history into a vector of namespace descriptors using networkIdentifier fo...
Definition: MongoNamespaceCacheStorageUtils.cpp:28
 
void addStorageSupport(std::unique_ptr< TStorage > &&pStorage)
Adds support for an external cache storage described by pStorage.
Definition: MongoPluginManager.h:64
 
#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
 
#define DEFINE_MONGO_HISTORICAL_CACHE_STORAGE(NAME, TRAITS_NAME)
Defines a mongo historical cache storage with NAME using TRAITS_NAME.
Definition: extensions/mongo/src/CacheStorageInclude.h:45
 
static constexpr auto Id_Property_Name
Definition: MongoNamespaceCacheStorage.cpp: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
 
PLUGIN_API std::unique_ptr< MongoTransactionPlugin > CreateModifyMultisigAccountTransactionMongoPlugin()
Creates a mongo modify multisig account transaction plugin.
 
Definition: AddressExtractionExtension.cpp:28
 
PLUGIN_API void RegisterMongoSubsystem(catapult::mongo::MongoPluginManager &manager)
Entry point for registering a dynamic module with manager.
Definition: MongoMultisigPlugin.cpp:26
 
static constexpr auto Collection_Name
Definition: MongoNamespaceCacheStorage.cpp:40
 
DECLARE_MONGO_CACHE_STORAGE(HashLockInfo)
Creates a mongo hash lock info cache storage around database, bulkWriter and networkIdentifier.