CatapultServer
v0.5.0.1 (Elephant)
StateChangeInfo.h
Go to the documentation of this file.
1
21
#pragma once
22
#include "
catapult/cache/CacheChanges.h
"
23
#include "
catapult/model/ChainScore.h
"
24
#include "
catapult/types.h
"
25
26
namespace
catapult
{
namespace
subscribers {
27
29
struct
StateChangeInfo
{
30
public
:
32
StateChangeInfo
(
cache::CacheChanges
&& cacheChanges,
const
model::ChainScore
& scoreDelta,
Height
height)
33
:
CacheChanges
(std::move(cacheChanges))
34
,
ScoreDelta
(scoreDelta)
35
,
Height
(height)
36
{}
37
38
public
:
40
const
cache::CacheChanges
CacheChanges
;
41
43
const
model::ChainScore
ScoreDelta
;
44
46
const
catapult::Height
Height
;
47
};
48
}}
catapult::utils::BaseValue< uint64_t, Height_tag >
catapult::model::ChainScore
Definition:
ChainScore.h:30
catapult::cache::CacheChanges
Provides common view of aggregate cache changes.
Definition:
CacheChanges.h:111
catapult::subscribers::StateChangeInfo::StateChangeInfo
StateChangeInfo(cache::CacheChanges &&cacheChanges, const model::ChainScore &scoreDelta, Height height)
Creates state change information around cacheChanges, scoreDelta and height.
Definition:
StateChangeInfo.h:32
catapult::subscribers::StateChangeInfo::ScoreDelta
const model::ChainScore ScoreDelta
Chain score delta.
Definition:
StateChangeInfo.h:43
ChainScore.h
CacheChanges.h
catapult::subscribers::StateChangeInfo
State change information.
Definition:
StateChangeInfo.h:29
types.h
catapult
Definition:
AddressExtractionExtension.cpp:28
catapult::subscribers::StateChangeInfo::Height
const catapult::Height Height
New chain height.
Definition:
StateChangeInfo.h:46
catapult::subscribers::StateChangeInfo::CacheChanges
const cache::CacheChanges CacheChanges
Cache changes.
Definition:
StateChangeInfo.h:40
catapult-server
src
catapult
subscribers
StateChangeInfo.h
Generated by
1.8.16