CatapultServer
v0.5.0.1 (Elephant)
|
Go to the documentation of this file.
24 namespace catapult {
namespace partialtransaction {
utils::BaseValue< uint32_t, ServiceIdentifier_tag > ServiceIdentifier
Definition: NodeInfo.h:56
PtCache & GetMemoryPtCache(const extensions::ServiceLocator &locator)
Gets the memory partial transactions cache stored in locator.
Definition: PtBootstrapperService.cpp:97
thread::Task CreateConnectPeersTask(const SelectorSettings &settings, net::PacketWriters &packetWriters)
Creates a task for the specified service that connects to nodes with the specified role given setting...
Definition: PeersConnectionTasks.cpp:186
std::unique_ptr< RemotePtApi > CreateRemotePtApi(ionet::PacketIo &io, const Key &remotePublicKey, const model::TransactionRegistry ®istry)
Definition: RemotePtApi.cpp:76
thread::TaskCallback CreateChainSyncAwareSynchronizerTaskCallback(chain::RemoteNodeSynchronizer< TRemoteApi > &&synchronizer, TRemoteApiFactory remoteApiFactory, net::PacketIoPicker &packetIoPicker, const extensions::ServiceState &state, const std::string &taskName)
Definition: SynchronizerTaskCallbacks.h:58
RemoteNodeSynchronizer< api::RemotePtApi > CreatePtSynchronizer(const partialtransaction::ShortHashPairsSupplier &shortHashPairsSupplier, const partialtransaction::CosignedTransactionInfosConsumer &transactionInfosConsumer)
Definition: PtSynchronizer.cpp:56
net::PacketWriters & PacketWriters
Definition: PeersConnectionTasks.cpp:105
net::ConnectionSettings GetConnectionSettings(const config::CatapultConfiguration &config)
Extracts connection settings from config.
Definition: NetworkUtils.cpp:25
def info(*args)
Definition: forwardsValidation.py:12
std::shared_ptr< PacketWriters > CreatePacketWriters(const std::shared_ptr< thread::IoThreadPool > &pPool, const crypto::KeyPair &keyPair, const ConnectionSettings &settings)
Definition: PacketWriters.cpp:425
Definition: AddressExtractionExtension.cpp:28
DECLARE_SERVICE_REGISTRAR() Pt()
Definition: PtService.cpp:100
#define DECLARE_SERVICE_REGISTRAR(NAME)
Declares a service registrar entry point with NAME.
Definition: ServiceRegistrar.h:61
PtServerHooks & GetPtServerHooks(const extensions::ServiceLocator &locator)
Gets the partial transactions server hooks stored in locator.
Definition: PtBootstrapperService.cpp:101