|
rippled
|
Service that provides access to the network ID. More...
#include <NetworkIDService.h>

Public Member Functions | |
| virtual | ~NetworkIDService ()=default |
| virtual std::uint32_t | getNetworkID () const noexcept=0 |
| Get the configured network ID. | |
Service that provides access to the network ID.
This service provides read-only access to the network ID configured for this server. The network ID identifies which network (mainnet, testnet, devnet, or custom network) this server is configured to connect to.
Well-known network IDs:
Definition at line 20 of file NetworkIDService.h.
|
virtualdefault |
|
pure virtualnoexcept |
Get the configured network ID.
Implemented in xrpl::NetworkIDServiceImpl.