CatapultServer  v0.5.0.1 (Elephant)
catapult::networkheight Namespace Reference

Classes

struct  NetworkHeightConfiguration
 Network height configuration settings. More...
 

Typedefs

using NetworkChainHeight = std::atomic< Height::ValueType >
 An atomic network chain height. More...
 

Functions

DECLARE_SERVICE_REGISTRAR() NetworkHeight (const NetworkHeightConfiguration &networkHeightConfig)
 

Typedef Documentation

◆ NetworkChainHeight

An atomic network chain height.

Function Documentation

◆ NetworkHeight()

DECLARE_SERVICE_REGISTRAR() catapult::networkheight::NetworkHeight ( const NetworkHeightConfiguration networkHeightConfig)

Creates a registrar for a network height service around networkHeightConfig.

Note
This service is responsible for calculating the network height.