xrpld
Toggle main menu visibility
Loading...
Searching...
No Matches
include
xrpl
core
NetworkIDService.h
1
#pragma once
2
3
#include <
cstdint
>
4
5
namespace
xrpl
{
6
21
class
NetworkIDService
22
{
23
public
:
24
virtual
~NetworkIDService
() =
default
;
25
31
[[nodiscard]]
virtual
std::uint32_t
32
getNetworkID
() const noexcept = 0;
33
};
34
35
}
// namespace xrpl
xrpl::NetworkIDService
Service that provides access to the network ID.
Definition
NetworkIDService.h:22
xrpl::NetworkIDService::getNetworkID
virtual std::uint32_t getNetworkID() const noexcept=0
Get the configured network ID.
xrpl::NetworkIDService::~NetworkIDService
virtual ~NetworkIDService()=default
cstdint
std::uint32_t
xrpl
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
Definition
algorithm.h:5
Generated by
1.17.0