|
CatapultServer
v0.5.0.1 (Elephant)
|
Classes | |
| class | AggregateSynchronizationFilter |
| Aggregate synchronization filter. More... | |
Typedefs | |
| using | SynchronizationFilter = predicate< const TimeSynchronizationSample &, NodeAge > |
| Signature of a synchronization filter. More... | |
Functions | |
| SynchronizationFilter | CreateClampingFilter () |
| Creates a filter that filters out out samples that have a non tolerable high time offset. More... | |
| SynchronizationFilter | CreateResponseDelayDetectionFilter () |
| Creates a filter that filters out samples that indicate an unexpected delay in the response. More... | |
| SynchronizationFilter | CreateReversedTimestampsFilter () |
| Creates a filter that filters out samples where send and receive timestamps don't have proper order. More... | |
Variables | |
| constexpr auto | Tolerated_Deviation_Start = utils::TimeSpan::FromMinutes(120) |
| Start value for the maximum tolerated deviation in ms. More... | |
| constexpr auto | Tolerated_Deviation_Minimum = utils::TimeSpan::FromMinutes(1) |
| Minimum value for the maximum tolerated deviation in ms. More... | |
| constexpr int64_t | Start_Decay_After_Round = 5 |
| Value that indicates after which round the decay starts. More... | |
| constexpr double | Decay_Strength = 0.3 |
| Value that indicates the speed of the decay. More... | |
| constexpr double | Alpha = 0.4 |
| Value that indicates the percentage of the samples is discarded. More... | |
| constexpr int64_t | Tolerated_Duration_Maximum = 1000 |
| Maximum time in ms that a response to a time sync request may take. More... | |
| using catapult::timesync::filters::SynchronizationFilter = typedef predicate<const TimeSynchronizationSample&, NodeAge> |
Signature of a synchronization filter.
| SynchronizationFilter catapult::timesync::filters::CreateClampingFilter | ( | ) |
Creates a filter that filters out out samples that have a non tolerable high time offset.

| SynchronizationFilter catapult::timesync::filters::CreateResponseDelayDetectionFilter | ( | ) |
Creates a filter that filters out samples that indicate an unexpected delay in the response.
| SynchronizationFilter catapult::timesync::filters::CreateReversedTimestampsFilter | ( | ) |
Creates a filter that filters out samples where send and receive timestamps don't have proper order.
|
constexpr |
Value that indicates the percentage of the samples is discarded.
|
constexpr |
Value that indicates the speed of the decay.
|
constexpr |
Value that indicates after which round the decay starts.
|
constexpr |
Minimum value for the maximum tolerated deviation in ms.
|
constexpr |
Start value for the maximum tolerated deviation in ms.
|
constexpr |
Maximum time in ms that a response to a time sync request may take.