CatapultServer
v0.5.0.1 (Elephant)
extensions/timesync/src/types.h
Go to the documentation of this file.
1
21
#pragma once
22
#include "
catapult/types.h
"
23
24
namespace
catapult
{
namespace
timesync {
25
27
struct
TimeOffset_tag
{};
28
using
TimeOffset
=
utils::BaseValue<int64_t, TimeOffset_tag>
;
29
31
struct
NodeAge_tag
{};
32
using
NodeAge
=
utils::BaseValue<int64_t, NodeAge_tag>
;
33
}}
catapult::timesync::TimeOffset_tag
Time offset.
Definition:
extensions/timesync/src/types.h:27
catapult::timesync::NodeAge_tag
Node age.
Definition:
extensions/timesync/src/types.h:31
catapult::utils::BaseValue
Immutable wrapper for basic types, to provide some type-safety.
Definition:
BaseValue.h:100
types.h
catapult
Definition:
AddressExtractionExtension.cpp:28
catapult-server
extensions
timesync
src
types.h
Generated by
1.8.16