CatapultServer  v0.5.0.1 (Elephant)
MosaicPlugin.h
Go to the documentation of this file.
1 
21 #pragma once
22 #include "catapult/plugins.h"
23 
24 namespace catapult { namespace plugins { class PluginManager; } }
25 
26 namespace catapult { namespace plugins {
27 
30  void RegisterMosaicSubsystem(PluginManager& manager);
31 }}
catapult::utils::DiagnosticCounterId
A diagnostic counter id.
Definition: DiagnosticCounterId.h:27
catapult::plugins::PluginManager::addTransactionSupport
void addTransactionSupport(std::unique_ptr< model::TransactionPlugin > &&pTransactionPlugin)
Adds support for a transaction described by pTransactionPlugin.
Definition: PluginManager.cpp:63
catapult::plugins::CreateMosaicDefinitionTransactionPlugin
PLUGIN_API std::unique_ptr< model::TransactionPlugin > CreateMosaicDefinitionTransactionPlugin(const MosaicRentalFeeConfiguration &config)
Creates a mosaic definition transaction plugin given the rental fee configuration (config).
catapult::BlockDuration
utils::BaseValue< uint64_t, BlockDuration_tag > BlockDuration
Definition: src/catapult/types.h:88
catapult::plugins::PluginManager::config
const model::BlockChainConfiguration & config() const
Gets the block chain configuration.
Definition: PluginManager.cpp:37
catapult::cache::MosaicCacheStorage
Policy for saving and loading mosaic cache data.
Definition: MosaicCacheStorage.h:29
MosaicPlugin.h
catapult::model::GetUnresolvedCurrencyMosaicId
UnresolvedMosaicId GetUnresolvedCurrencyMosaicId(const BlockChainConfiguration &config)
Gets unresolved currency mosaic id from config.
Definition: BlockChainConfiguration.cpp:105
catapult::plugins::CacheHandlers
Utility class for registering cache-dependent handlers.
Definition: CacheHandlers.h:31
catapult::UnresolvedMosaicId
utils::BaseValue< uint64_t, UnresolvedMosaicId_tag > UnresolvedMosaicId
Definition: src/catapult/types.h:82
catapult::plugins::PluginManager
A manager for registering plugins.
Definition: PluginManager.h:51
catapult::model::BlockChainConfiguration::Network
NetworkInfo Network
Block chain network.
Definition: BlockChainConfiguration.h:36
MosaicCacheStorage.h
catapult::plugins::PluginManager::cacheConfig
cache::CacheConfiguration cacheConfig(const std::string &name) const
Gets the cache configuration for cache with name.
Definition: PluginManager.cpp:49
ObserverUtils.h
MosaicConfiguration.h
MosaicDefinitionTransactionPlugin.h
MosaicCache.h
MosaicReceiptType.h
plugins.h
catapult::model::BlockChainConfiguration::BlockGenerationTargetTime
utils::TimeSpan BlockGenerationTargetTime
Targeted time between blocks.
Definition: BlockChainConfiguration.h:51
PLUGIN_API
#define PLUGIN_API
Definition: plugins.h:30
Address.h
catapult::plugins::PluginManager::addCacheSupport
void addCacheSupport(std::unique_ptr< TCache > &&pSubCache)
Adds support for a sub cache described by pSubCache.
Definition: PluginManager.h:113
catapult::cache::CatapultCache
Central cache holding all sub caches.
Definition: CatapultCache.h:40
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
Name
static constexpr auto Name
Definition: PtSynchronizer.cpp:31
catapult::model::BlockChainConfiguration::MaxRollbackBlocks
uint32_t MaxRollbackBlocks
Maximum number of blocks that can be rolled back.
Definition: BlockChainConfiguration.h:67
RegisterSubsystem
PLUGIN_API void RegisterSubsystem(catapult::plugins::PluginManager &manager)
Entry point for registering a dynamic module with manager.
Definition: MosaicPlugin.cpp:113
catapult::model::BlockChainConfiguration::MaxMosaicAtomicUnits
Amount MaxMosaicAtomicUnits
Maximum atomic units (total-supply * 10 ^ divisibility) of a mosaic allowed in the network.
Definition: BlockChainConfiguration.h:82
catapult::plugins::CreateMosaicSupplyChangeTransactionPlugin
PLUGIN_API std::unique_ptr< model::TransactionPlugin > CreateMosaicSupplyChangeTransactionPlugin()
Creates a mosaic supply change transaction plugin.
CacheHandlers.h
catapult::plugins::PluginManager::addDiagnosticCounterHook
void addDiagnosticCounterHook(const CounterHook &hook)
Adds a diagnostic counter hook.
Definition: PluginManager.cpp:118
RentalFeeObserver.h
PluginManager.h
catapult::plugins::RegisterMosaicSubsystem
void RegisterMosaicSubsystem(PluginManager &manager)
Registers mosaic support with manager.
Definition: MosaicPlugin.cpp:60
catapult
Definition: AddressExtractionExtension.cpp:28
catapult::plugins::PluginManager::addObserverHook
void addObserverHook(const ObserverHook &hook)
Adds an observer hook.
Definition: PluginManager.cpp:164
MosaicSupplyChangeTransactionPlugin.h
catapult::plugins::PluginManager::addStatefulValidatorHook
void addStatefulValidatorHook(const StatefulValidatorHook &hook)
Adds a stateful validator hook.
Definition: PluginManager.cpp:138
catapult::plugins::PluginManager::addStatelessValidatorHook
void addStatelessValidatorHook(const StatelessValidatorHook &hook)
Adds a stateless validator hook.
Definition: PluginManager.cpp:134