CatapultServer
v0.5.0.1 (Elephant)
|
Go to the documentation of this file.
26 namespace extensions {
class ProcessBootstrapper; }
27 namespace ionet {
class NodeContainer; }
30 namespace catapult {
namespace local {
33 void SeedNodeContainer(ionet::NodeContainer& nodes,
const extensions::ProcessBootstrapper& bootstrapper);
#define CATAPULT_LOG(SEV)
Writes a log entry to the default logger with SEV severity.
Definition: Logging.h:340
NodeContainerModifier modifier()
Gets a write only view of the nodes.
Definition: NodeContainer.cpp:254
ionet::NodeContainer & m_nodes
Definition: NodeUtils.cpp:80
utils::BaseValue< uint32_t, ServiceIdentifier_tag > ServiceIdentifier
Definition: NodeInfo.h:56
def warning(*args)
Definition: colorPrint.py:10
ionet::Node Local
Definition: tools/network/main.cpp:42
void SeedNodeContainer(ionet::NodeContainer &nodes, const extensions::ProcessBootstrapper &bootstrapper)
Seeds nodes with node information from bootstrapper.
Definition: NodeUtils.cpp:46
Node subscriber.
Definition: NodeSubscriber.h:30
A collection of nodes.
Definition: NodeContainer.h:109
ionet::Node ToLocalNode(const CatapultConfiguration &config)
Extracts a node representing the local node from config.
Definition: CatapultConfiguration.cpp:75
std::unique_ptr< subscribers::NodeSubscriber > CreateNodeContainerSubscriberAdapter(ionet::NodeContainer &nodes)
Adapts nodes to a node subscriber.
Definition: NodeUtils.cpp:84
NodeSource
Definition: NodeInfo.h:47
const config::CatapultConfiguration & config() const
Gets the configuration.
Definition: ProcessBootstrapper.cpp:47
const std::vector< ionet::Node > & staticNodes() const
Gets the static (pretrusted) nodes.
Definition: ProcessBootstrapper.cpp:59
#define CATAPULT_THROW_INVALID_ARGUMENT(MESSAGE)
Macro used to throw a catapult invalid argument.
Definition: exceptions.h:179
ionet::Node Node
Definition: PacketWriters.cpp:45
Definition: AddressExtractionExtension.cpp:28
Process bootstrapper.
Definition: ProcessBootstrapper.h:42
utils::ByteArray< Key_Size, Key_tag > Key
Definition: src/catapult/types.h:41