CatapultServer
v0.5.0.1 (Elephant)
|
Classes | |
class | LockInfoMapper |
Traits based lock info mapper. More... | |
struct | MongoLockInfoCacheStorageTraits |
Mongo lock info cache storage traits. More... | |
struct | NamespaceDescriptor |
A namespace descriptor. More... | |
Functions | |
PLUGIN_API std::unique_ptr< MongoTransactionPlugin > | CreateAccountLinkTransactionMongoPlugin () |
Creates a mongo accoult link transaction plugin. More... | |
std::unique_ptr< MongoTransactionPlugin > | CreateAggregateTransactionMongoPlugin (const MongoTransactionRegistry &transactionRegistry, model::EntityType transactionType) |
Creates a mongo aggregate transaction plugin around transactionRegistry for transactions with type transactionType. More... | |
PLUGIN_API std::unique_ptr< MongoTransactionPlugin > | CreateHashLockTransactionMongoPlugin () |
Creates a mongo hash lock transaction plugin. More... | |
bsoncxx::document::value | ToDbModel (const state::HashLockInfo &hashLockInfo, const Address &accountAddress) |
Maps a hashLockInfo and accountAddress to the corresponding db model value. More... | |
DECLARE_MONGO_CACHE_STORAGE (HashLockInfo) | |
Creates a mongo hash lock info cache storage around database, bulkWriter and networkIdentifier. More... | |
bsoncxx::document::value | ToDbModel (const state::SecretLockInfo &secretLockInfo, const Address &accountAddress) |
Maps a secretLockInfo and accountAddress to the corresponding db model value. More... | |
PLUGIN_API std::unique_ptr< MongoTransactionPlugin > | CreateSecretLockTransactionMongoPlugin () |
Creates a mongo secret lock transaction plugin. More... | |
PLUGIN_API std::unique_ptr< MongoTransactionPlugin > | CreateSecretProofTransactionMongoPlugin () |
Creates a mongo secret proof transaction plugin. More... | |
DECLARE_MONGO_CACHE_STORAGE (SecretLockInfo) | |
Creates a mongo secret lock info cache storage around database, bulkWriter and networkIdentifier. More... | |
bsoncxx::document::value | ToDbModel (const state::MosaicEntry &entry) |
Maps a mosaic entry to the corresponding db model value. More... | |
PLUGIN_API std::unique_ptr< MongoTransactionPlugin > | CreateMosaicDefinitionTransactionMongoPlugin () |
Creates a mongo mosaic definition transaction plugin. More... | |
std::unique_ptr< MongoReceiptPlugin > | CreateMosaicExpiryReceiptMongoPlugin () |
Creates a mongo mosaic expiry receipt plugin. More... | |
PLUGIN_API std::unique_ptr< MongoTransactionPlugin > | CreateMosaicSupplyChangeTransactionMongoPlugin () |
Creates a mongo mosaic supply change transaction plugin. More... | |
DECLARE_MONGO_CACHE_STORAGE (Mosaic) | |
Creates a mongo mosaic cache storage around database, bulkWriter and networkIdentifier. More... | |
bsoncxx::document::value | ToDbModel (const state::MultisigEntry &entry, const Address &accountAddress) |
Maps a multisig entry and accountAddress to the corresponding db model value. More... | |
PLUGIN_API std::unique_ptr< MongoTransactionPlugin > | CreateModifyMultisigAccountTransactionMongoPlugin () |
Creates a mongo modify multisig account transaction plugin. More... | |
DECLARE_MONGO_CACHE_STORAGE (Multisig) | |
Creates a mongo multisig cache storage around database, bulkWriter and networkIdentifier. More... | |
PLUGIN_API std::unique_ptr< MongoTransactionPlugin > | CreateAddressAliasTransactionMongoPlugin () |
Creates a mongo address alias transaction plugin. More... | |
bsoncxx::document::value | ToDbModel (const NamespaceDescriptor &descriptor) |
Maps a namespace descriptor to the corresponding db model value. More... | |
PLUGIN_API std::unique_ptr< MongoTransactionPlugin > | CreateMosaicAliasTransactionMongoPlugin () |
Creates a mongo mosaic alias transaction plugin. More... | |
std::unique_ptr< MongoReceiptPlugin > | CreateNamespaceExpiryReceiptMongoPlugin () |
Creates a mongo namespace expiry receipt plugin. More... | |
PLUGIN_API std::unique_ptr< MongoTransactionPlugin > | CreateRegisterNamespaceTransactionMongoPlugin () |
Creates a mongo register namespace transaction plugin. More... | |
DECLARE_MONGO_CACHE_STORAGE (Namespace) | |
Creates a mongo namespace cache storage around database, bulkWriter and networkIdentifier. More... | |
std::vector< NamespaceDescriptor > | NamespaceDescriptorsFromHistory (const state::RootNamespaceHistory &history, model::NetworkIdentifier networkIdentifier) |
Converts the root namespace history into a vector of namespace descriptors using networkIdentifier for address conversions. More... | |
PLUGIN_API std::unique_ptr< MongoTransactionPlugin > | CreateAccountAddressRestrictionTransactionMongoPlugin () |
Creates a mongo account address restriction transaction plugin. More... | |
PLUGIN_API std::unique_ptr< MongoTransactionPlugin > | CreateAccountMosaicRestrictionTransactionMongoPlugin () |
Creates a mongo account mosaic restriction transaction plugin. More... | |
PLUGIN_API std::unique_ptr< MongoTransactionPlugin > | CreateAccountOperationRestrictionTransactionMongoPlugin () |
Creates a mongo account operation restriction transaction plugin. More... | |
bsoncxx::document::value | ToDbModel (const state::AccountRestrictions &restrictions) |
Maps a restrictions to the corresponding db model value. More... | |
DECLARE_MONGO_CACHE_STORAGE (AccountRestriction) | |
Creates a mongo account restriction cache storage around database, bulkWriter and networkIdentifier. More... | |
PLUGIN_API std::unique_ptr< MongoTransactionPlugin > | CreateTransferTransactionMongoPlugin () |
Creates a mongo transfer transaction plugin. More... | |
PLUGIN_API std::unique_ptr<MongoTransactionPlugin> catapult::mongo::plugins::CreateAccountAddressRestrictionTransactionMongoPlugin | ( | ) |
Creates a mongo account address restriction transaction plugin.
PLUGIN_API std::unique_ptr<MongoTransactionPlugin> catapult::mongo::plugins::CreateAccountLinkTransactionMongoPlugin | ( | ) |
Creates a mongo accoult link transaction plugin.
PLUGIN_API std::unique_ptr<MongoTransactionPlugin> catapult::mongo::plugins::CreateAccountMosaicRestrictionTransactionMongoPlugin | ( | ) |
Creates a mongo account mosaic restriction transaction plugin.
PLUGIN_API std::unique_ptr<MongoTransactionPlugin> catapult::mongo::plugins::CreateAccountOperationRestrictionTransactionMongoPlugin | ( | ) |
Creates a mongo account operation restriction transaction plugin.
PLUGIN_API std::unique_ptr<MongoTransactionPlugin> catapult::mongo::plugins::CreateAddressAliasTransactionMongoPlugin | ( | ) |
Creates a mongo address alias transaction plugin.
PLUGIN_API std::unique_ptr< MongoTransactionPlugin > catapult::mongo::plugins::CreateAggregateTransactionMongoPlugin | ( | const MongoTransactionRegistry & | transactionRegistry, |
model::EntityType | transactionType | ||
) |
Creates a mongo aggregate transaction plugin around transactionRegistry for transactions with type transactionType.
PLUGIN_API std::unique_ptr<MongoTransactionPlugin> catapult::mongo::plugins::CreateHashLockTransactionMongoPlugin | ( | ) |
Creates a mongo hash lock transaction plugin.
PLUGIN_API std::unique_ptr<MongoTransactionPlugin> catapult::mongo::plugins::CreateModifyMultisigAccountTransactionMongoPlugin | ( | ) |
Creates a mongo modify multisig account transaction plugin.
PLUGIN_API std::unique_ptr<MongoTransactionPlugin> catapult::mongo::plugins::CreateMosaicAliasTransactionMongoPlugin | ( | ) |
Creates a mongo mosaic alias transaction plugin.
PLUGIN_API std::unique_ptr<MongoTransactionPlugin> catapult::mongo::plugins::CreateMosaicDefinitionTransactionMongoPlugin | ( | ) |
Creates a mongo mosaic definition transaction plugin.
PLUGIN_API std::unique_ptr< MongoReceiptPlugin > catapult::mongo::plugins::CreateMosaicExpiryReceiptMongoPlugin | ( | ) |
Creates a mongo mosaic expiry receipt plugin.
PLUGIN_API std::unique_ptr<MongoTransactionPlugin> catapult::mongo::plugins::CreateMosaicSupplyChangeTransactionMongoPlugin | ( | ) |
Creates a mongo mosaic supply change transaction plugin.
PLUGIN_API std::unique_ptr< MongoReceiptPlugin > catapult::mongo::plugins::CreateNamespaceExpiryReceiptMongoPlugin | ( | ) |
Creates a mongo namespace expiry receipt plugin.
PLUGIN_API std::unique_ptr<MongoTransactionPlugin> catapult::mongo::plugins::CreateRegisterNamespaceTransactionMongoPlugin | ( | ) |
Creates a mongo register namespace transaction plugin.
PLUGIN_API std::unique_ptr<MongoTransactionPlugin> catapult::mongo::plugins::CreateSecretLockTransactionMongoPlugin | ( | ) |
Creates a mongo secret lock transaction plugin.
PLUGIN_API std::unique_ptr<MongoTransactionPlugin> catapult::mongo::plugins::CreateSecretProofTransactionMongoPlugin | ( | ) |
Creates a mongo secret proof transaction plugin.
PLUGIN_API std::unique_ptr<MongoTransactionPlugin> catapult::mongo::plugins::CreateTransferTransactionMongoPlugin | ( | ) |
Creates a mongo transfer transaction plugin.
catapult::mongo::plugins::DECLARE_MONGO_CACHE_STORAGE | ( | AccountRestriction | ) |
Creates a mongo account restriction cache storage around database, bulkWriter and networkIdentifier.
catapult::mongo::plugins::DECLARE_MONGO_CACHE_STORAGE | ( | HashLockInfo | ) |
Creates a mongo hash lock info cache storage around database, bulkWriter and networkIdentifier.
catapult::mongo::plugins::DECLARE_MONGO_CACHE_STORAGE | ( | Mosaic | ) |
Creates a mongo mosaic cache storage around database, bulkWriter and networkIdentifier.
catapult::mongo::plugins::DECLARE_MONGO_CACHE_STORAGE | ( | Multisig | ) |
Creates a mongo multisig cache storage around database, bulkWriter and networkIdentifier.
catapult::mongo::plugins::DECLARE_MONGO_CACHE_STORAGE | ( | Namespace | ) |
Creates a mongo namespace cache storage around database, bulkWriter and networkIdentifier.
catapult::mongo::plugins::DECLARE_MONGO_CACHE_STORAGE | ( | SecretLockInfo | ) |
Creates a mongo secret lock info cache storage around database, bulkWriter and networkIdentifier.
std::vector< NamespaceDescriptor > catapult::mongo::plugins::NamespaceDescriptorsFromHistory | ( | const state::RootNamespaceHistory & | history, |
model::NetworkIdentifier | networkIdentifier | ||
) |
Converts the root namespace history into a vector of namespace descriptors using networkIdentifier for address conversions.
bsoncxx::document::value catapult::mongo::plugins::ToDbModel | ( | const NamespaceDescriptor & | descriptor | ) |
Maps a namespace descriptor to the corresponding db model value.
bsoncxx::document::value catapult::mongo::plugins::ToDbModel | ( | const state::AccountRestrictions & | restrictions | ) |
Maps a restrictions to the corresponding db model value.
bsoncxx::document::value catapult::mongo::plugins::ToDbModel | ( | const state::HashLockInfo & | hashLockInfo, |
const Address & | accountAddress | ||
) |
Maps a hashLockInfo and accountAddress to the corresponding db model value.
bsoncxx::document::value catapult::mongo::plugins::ToDbModel | ( | const state::MosaicEntry & | entry | ) |
Maps a mosaic entry to the corresponding db model value.
bsoncxx::document::value catapult::mongo::plugins::ToDbModel | ( | const state::MultisigEntry & | entry, |
const Address & | accountAddress | ||
) |
Maps a multisig entry and accountAddress to the corresponding db model value.
bsoncxx::document::value catapult::mongo::plugins::ToDbModel | ( | const state::SecretLockInfo & | secretLockInfo, |
const Address & | accountAddress | ||
) |
Maps a secretLockInfo and accountAddress to the corresponding db model value.