| 
    CatapultServer
    v0.5.0.1 (Elephant)
    
   | 
 
Classes | |
| struct | PtConfiguration | 
| Partial transactions configuration settings.  More... | |
| class | PtServerHooks | 
| Hooks for the partial transactions subsystem.  More... | |
Typedefs | |
| using | PtCacheSupplier = supplier< std::unique_ptr< cache::MemoryPtCacheProxy > > | 
| Partial transactions cache supplier.  More... | |
| using | CosignedTransactionInfos = std::vector< model::CosignedTransactionInfo > | 
| A vector of cosigned (partial) transaction infos.  More... | |
| using | CosignedTransactionInfosRetriever = std::function< CosignedTransactionInfos(const cache::ShortHashPairMap &)> | 
| Prototype for a function that retrieves partial transaction infos given a set of short hash pairs.  More... | |
| using | CosignedTransactionInfosConsumer = consumer< CosignedTransactionInfos && > | 
| Function signature for consuming a vector of cosigned transaction infos.  More... | |
| using | ShortHashPairsSupplier = supplier< cache::ShortHashPairRange > | 
| Function signature for supplying a range of short hash pairs.  More... | |
Functions | |
| DECLARE_SERVICE_REGISTRAR() | PtBootstrapper (const PtCacheSupplier &ptCacheSupplier) | 
| PtCache & | GetMemoryPtCache (const extensions::ServiceLocator &locator) | 
| Gets the memory partial transactions cache stored in locator.  More... | |
| PtServerHooks & | GetPtServerHooks (const extensions::ServiceLocator &locator) | 
| Gets the partial transactions server hooks stored in locator.  More... | |
| std::unique_ptr< ServiceRegistrar > | CreatePtDispatcherServiceRegistrar () | 
| DECLARE_SERVICE_REGISTRAR() | PtDispatcher () | 
| Creates a registrar for a partial transaction dispatcher service.  More... | |
| DECLARE_SERVICE_REGISTRAR() | Pt () | 
| DECLARE_SERVICE_REGISTRAR() | PtSyncSource () | 
| std::unique_ptr< model::Transaction > | StitchAggregate (const model::WeakCosignedTransactionInfo &transactionInfo) | 
| Stitches a weak cosigned transaction info into a full aggregate transaction.  More... | |
| void | SplitCosignedTransactionInfos (CosignedTransactionInfos &&transactionInfos, const consumer< model::TransactionRange && > &transactionRangeConsumer, const consumer< model::DetachedCosignature && > &cosignatureConsumer) | 
| using catapult::partialtransaction::CosignedTransactionInfos = typedef std::vector<model::CosignedTransactionInfo> | 
A vector of cosigned (partial) transaction infos.
| using catapult::partialtransaction::CosignedTransactionInfosConsumer = typedef consumer<CosignedTransactionInfos&&> | 
Function signature for consuming a vector of cosigned transaction infos.
| using catapult::partialtransaction::CosignedTransactionInfosRetriever = typedef std::function<CosignedTransactionInfos (const cache::ShortHashPairMap&)> | 
Prototype for a function that retrieves partial transaction infos given a set of short hash pairs.
| using catapult::partialtransaction::PtCacheSupplier = typedef supplier<std::unique_ptr<cache::MemoryPtCacheProxy> > | 
Partial transactions cache supplier.
| using catapult::partialtransaction::ShortHashPairsSupplier = typedef supplier<cache::ShortHashPairRange> | 
Function signature for supplying a range of short hash pairs.
| std::unique_ptr<ServiceRegistrar> catapult::partialtransaction::CreatePtDispatcherServiceRegistrar | ( | ) | 
| cache::MemoryPtCacheProxy & catapult::partialtransaction::GetMemoryPtCache | ( | const extensions::ServiceLocator & | locator | ) | 
Gets the memory partial transactions cache stored in locator.

| PtServerHooks & catapult::partialtransaction::GetPtServerHooks | ( | const extensions::ServiceLocator & | locator | ) | 
Gets the partial transactions server hooks stored in locator.

| DECLARE_SERVICE_REGISTRAR() catapult::partialtransaction::Pt | ( | ) | 
Creates a registrar for a partial transactions service.
| DECLARE_SERVICE_REGISTRAR() catapult::partialtransaction::PtBootstrapper | ( | const PtCacheSupplier & | ptCacheSupplier | ) | 
Creates a registrar for a partial transactions bootstrapper service given the cache supplier ptCacheSupplier.
| DECLARE_SERVICE_REGISTRAR() catapult::partialtransaction::PtDispatcher | ( | ) | 
Creates a registrar for a partial transaction dispatcher service.
| DECLARE_SERVICE_REGISTRAR() catapult::partialtransaction::PtSyncSource | ( | ) | 
Creates a registrar for a partial transaction sync source service.
| void catapult::partialtransaction::SplitCosignedTransactionInfos | ( | CosignedTransactionInfos && | transactionInfos, | 
| const consumer< model::TransactionRange && > & | transactionRangeConsumer, | ||
| const consumer< model::DetachedCosignature && > & | cosignatureConsumer | ||
| ) | 
Splits up cosigned transaction infos (transactionInfos) and forwards transactions as a single range to transactionRangeConsumer and cosignatures individually to cosignatureConsumer.

| std::unique_ptr< model::Transaction > catapult::partialtransaction::StitchAggregate | ( | const model::WeakCosignedTransactionInfo & | transactionInfo | ) | 
Stitches a weak cosigned transaction info into a full aggregate transaction.

