CatapultServer  v0.5.0.1 (Elephant)
filter_constants.h File Reference
Include dependency graph for filter_constants.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 catapult
 
 catapult::timesync
 
 catapult::timesync::filters
 

Variables

constexpr auto catapult::timesync::filters::Tolerated_Deviation_Start = utils::TimeSpan::FromMinutes(120)
 Start value for the maximum tolerated deviation in ms. More...
 
constexpr auto catapult::timesync::filters::Tolerated_Deviation_Minimum = utils::TimeSpan::FromMinutes(1)
 Minimum value for the maximum tolerated deviation in ms. More...
 
constexpr int64_t catapult::timesync::filters::Start_Decay_After_Round = 5
 Value that indicates after which round the decay starts. More...
 
constexpr double catapult::timesync::filters::Decay_Strength = 0.3
 Value that indicates the speed of the decay. More...
 
constexpr double catapult::timesync::filters::Alpha = 0.4
 Value that indicates the percentage of the samples is discarded. More...
 
constexpr int64_t catapult::timesync::filters::Tolerated_Duration_Maximum = 1000
 Maximum time in ms that a response to a time sync request may take. More...