CatapultServer
v0.5.0.1 (Elephant)
|
BlockExecutionContext(const observers::EntityObserver &observer, const model::ResolverContext &resolvers, observers::ObserverState &state)
Creates a block execution context around observer, resolvers and state.
Definition: BlockExecutor.h:34
cache::CatapultCacheDelta & Cache
Catapult cache.
Definition: ObserverContext.h:64
observers::ObserverState & State
State to update during observation.
Definition: BlockExecutor.h:51
const TCache::CacheDeltaType & sub() const
Gets a specific sub cache delta view.
Definition: CatapultCacheDelta.h:47
utils::BaseValue< uint64_t, Height_tag > Height
Definition: src/catapult/types.h:85
const model::ResolverContext & Resolvers
Alias resolvers.
Definition: BlockExecutor.h:48
Definition: EntityObserver.h:30
Context used to resolve unresolved types.
Definition: ResolverContext.h:28
const model::Block & Block
Block entity.
Definition: Elements.h:63
Block execution context.
Definition: BlockExecutor.h:31
NotifyMode
Enumeration of possible notification modes.
Definition: ObserverContext.h:41
void ExtractEntityInfos(const BlockElement &element, WeakEntityInfos &entityInfos)
Extracts all entity infos from element into entityInfos.
Definition: Elements.cpp:88
Block independent mutable state passed to all observers.
Definition: ObserverContext.h:54
Synchronized cache composed of stateful account information.
Definition: AccountStateCache.h:72
Account restriction is interpreted as blocking operation.
Processing element for a block composed of a block and metadata.
Definition: Elements.h:55
void RollbackBlock(const model::BlockElement &blockElement, const BlockExecutionContext &executionContext)
Rollbacks blockElement using the specified execution context (executionContext).
Definition: BlockExecutor.cpp:53
Definition: AddressExtractionExtension.cpp:28
const observers::EntityObserver & Observer
Observer to execute the block.
Definition: BlockExecutor.h:45
std::vector< WeakEntityInfo > WeakEntityInfos
A container of weak entity infos.
Definition: WeakEntityInfo.h:144
void ExecuteBlock(const model::BlockElement &blockElement, const BlockExecutionContext &executionContext)
Executes blockElement using the specified execution context (executionContext).
Definition: BlockExecutor.cpp:45