xrpld
Toggle main menu visibility
Loading...
Searching...
No Matches
xrpld
app
misc
make_NetworkOPs.h
1
#pragma once
2
3
#include <xrpl/beast/insight/Collector.h>
4
#include <xrpl/beast/utility/Journal.h>
5
#include <xrpl/core/JobQueue.h>
6
#include <xrpl/core/ServiceRegistry.h>
7
#include <xrpl/server/NetworkOPs.h>
8
9
#include <boost/asio.hpp>
10
11
#include <
cstddef
>
12
#include <
memory
>
13
14
namespace
xrpl
{
15
16
class
LedgerMaster
;
17
class
ValidatorKeys
;
18
19
std::unique_ptr<NetworkOPs>
20
makeNetworkOPs
(
21
ServiceRegistry
& registry,
22
NetworkOPs::ClockType
& clock,
23
bool
standalone,
24
std::size_t minPeerCount,
25
bool
startValid,
26
JobQueue
& jobQueue,
27
LedgerMaster
& ledgerMaster,
28
ValidatorKeys
const
& validatorKeys,
29
boost::asio::io_context& ioSvc,
30
beast::Journal journal,
31
beast::insight::Collector::Ptr
const
& collector);
32
33
}
// namespace xrpl
beast::insight::Collector::Ptr
std::shared_ptr< Collector > Ptr
Definition
Collector.h:29
xrpl::JobQueue
A pool of threads to perform work.
Definition
JobQueue.h:60
xrpl::LedgerMaster
Tracks the current ledger and any ledgers in the process of closing.
Definition
LedgerMaster.h:122
xrpl::NetworkOPs::ClockType
beast::AbstractClock< std::chrono::steady_clock > ClockType
Definition
NetworkOPs.h:84
xrpl::ServiceRegistry
Service registry for dependency injection.
Definition
ServiceRegistry.h:98
xrpl::ValidatorKeys
Validator keys and manifest as set in configuration file.
Definition
ValidatorKeys.h:21
cstddef
memory
xrpl
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
Definition
algorithm.h:5
xrpl::makeNetworkOPs
std::unique_ptr< NetworkOPs > makeNetworkOPs(ServiceRegistry ®istry, NetworkOPs::ClockType &clock, bool standalone, std::size_t minPeerCount, bool startValid, JobQueue &jobQueue, LedgerMaster &ledgerMaster, ValidatorKeys const &validatorKeys, boost::asio::io_context &ioSvc, beast::Journal journal, beast::insight::Collector::Ptr const &collector)
Definition
NetworkOPs.cpp:5396
Generated by
1.17.0