CatapultServer
v0.5.0.1 (Elephant)
|
Contextual information passed to stateful validators. More...
Public Member Functions | |
ValidatorContext (catapult::Height height, Timestamp blockTime, const model::NetworkInfo &network, const model::ResolverContext &resolvers, const cache::ReadOnlyCatapultCache &cache) | |
Creates a validator context around a height, blockTime, network, resolvers and cache. More... | |
Public Attributes | |
const catapult::Height | Height |
Current height. More... | |
const Timestamp | BlockTime |
Current block time. More... | |
const model::NetworkInfo | Network |
Network info. More... | |
const model::ResolverContext | Resolvers |
Alias resolvers. More... | |
const cache::ReadOnlyCatapultCache & | Cache |
Catapult cache. More... | |
Contextual information passed to stateful validators.
|
inline |
Creates a validator context around a height, blockTime, network, resolvers and cache.
const Timestamp catapult::validators::ValidatorContext::BlockTime |
Current block time.
const cache::ReadOnlyCatapultCache& catapult::validators::ValidatorContext::Cache |
Catapult cache.
const catapult::Height catapult::validators::ValidatorContext::Height |
Current height.
const model::NetworkInfo catapult::validators::ValidatorContext::Network |
Network info.
const model::ResolverContext catapult::validators::ValidatorContext::Resolvers |
Alias resolvers.