rippled
Loading...
Searching...
No Matches
NetworkIDService.h
1#pragma once
2
3#include <cstdint>
4
5namespace xrpl {
6
21{
22public:
23 virtual ~NetworkIDService() = default;
24
29 virtual std::uint32_t
30 getNetworkID() const noexcept = 0;
31};
32
33} // 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