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