CatapultServer
v0.5.0.1 (Elephant)
|
Go to the documentation of this file.
24 namespace catapult {
namespace chain {
struct BlockExecutionContext; } }
26 namespace catapult {
namespace consumers {
30 const model::BlockElement& blockElement,
31 const chain::BlockExecutionContext& executionContext,
cache::CatapultCacheDelta & Cache
Catapult cache.
Definition: ObserverContext.h:64
#define CATAPULT_LOG(SEV)
Writes a log entry to the default logger with SEV severity.
Definition: Logging.h:340
def debug(*args)
Definition: Parser.py:46
observers::ObserverState & State
State to update during observation.
Definition: BlockExecutor.h:51
const model::Block & Block
Block entity.
Definition: Elements.h:63
Block execution context.
Definition: BlockExecutor.h:31
UndoBlockType
Type of block passed to undo block handler.
Definition: BlockChainSyncHandlers.h:53
std::vector< Hash256 > SubCacheMerkleRoots
Merkle roots for all sub caches at the current block.
Definition: Elements.h:72
void UndoBlock(const model::BlockElement &blockElement, const chain::BlockExecutionContext &executionContext, UndoBlockType undoBlockType)
Undoes blockElement using the specified execution context (executionContext) for undo of specified ty...
Definition: UndoBlock.cpp:26
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
void setSubCacheMerkleRoots(const std::vector< Hash256 > &subCacheMerkleRoots)
Sets the merkle roots for all sub caches (subCacheMerkleRoots).
Definition: CatapultCache.cpp:134